+ Reply to Thread
Results 1 to 1 of 1

Thread: Upgrading your apps to utilize Fiery API v4

  1. #1
    Yusuke_K is offline Fiery Forum Expert Contributor Yusuke_K is on a distinguished path
    Join Date
    Jul 2009
    Posts
    75

    Default Upgrading your apps to utilize Fiery API v4

    Last week we have released Fiery API v4. There were a few improvements and new features added with this version. (You can check more details about updates from http://help.efi.com/fip/cwspackage/6...JAPI40_CRN.pdf)


    One change we have made when you'd like to code with v4 for your apps is that now each API call returns more helpful information but in a slightly different format. All the responses you get from your Fiery servers are "wrapped". See the example below,

    With V3: ~v3/jobs?key[]=id&key[]=title&key[]=num copies&key[]=status

    [
    {
    "id": "85100000.59401D82.251",
    "title": "sample_file - 2.pdf",
    "status": "done spooling"
    },
    {
    "id": "85100000.594312F6.306",
    "title": "EFI-Catalog_SAMPLE_LTR.pdf",
    "status": "done spooling",
    "num copies": "1"
    },
    {
    "id": "85100000.595E7E53.603",
    "title": "BackToSchoolEvent2017.pdf",
    "status": "done spooling"
    }
    ]


    With v4: ~v4/jobs?key[]=id&key[]=title&key[]=num copies&key[]=status

    {
    "time": "2017-07-06T16:15:19-07:00",
    "data": {
    "totalItems": 90,
    "kind": "FieryCutSheetJobs",
    "items": [
    {
    "id": "85100000.59401D82.251",
    "title": "sample_file - 2.pdf",
    "status": "done spooling"
    },

    {
    "id": "85100000.595E7E53.603",
    "title": "BackToSchoolEvent2017.pdf",
    "status": "done spooling"
    }
    ],
    "_links": [
    {
    "rel": "self",
    "href": "https://fierycolor1/live/api/v4/jobs?key[]=id&key[]=title&key[]=num%20copies&key[]=status"
    }
    ]
    }
    }


    So if you'd like to use v4 for your existing apps, there are some minor changes you have to make.

    Please keep in mind that upgrading your Fiery servers with the latest Fiery API version 4 install doesn't require you to make changes to your apps. You can keep using your existing apps (that are using v3 or v2) without making any changes to your code.

    If you have any feedback to us, please add you comment down below!

    Thank you,
    Fiery API team
    Last edited by Yusuke_K; 07-07-2017 at 09:52 AM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts