Library item is an artifact that is required to produce a print product.
Requires:
- Internal or External User Token or Application Token
Actions
URL | Verb | Information |
---|---|---|
/library/pull | POST | Creates a Library item with an image URL |
Fields
Request should set the "Content-Type" HTTP header to "application/json", and should include the Url parameter in the body.
Field | Data Type | Required | Information |
---|---|---|---|
Url | String | Y | The image URL |
The following details are returned about an item:
Field | Data Type | Required | Information |
---|---|---|---|
LibraryItem | LibraryItemDetail | Y | Fields described below. |
ProductBuilderUrl | String | Y | The product builder URL for the specified Library Item |
The following details are returned about a Library item.
Field | Data Type | Required | Information |
---|---|---|---|
ItemGuid | String | Y | The Guid of the Library item |
FileMimeType | String | Y | The MIME type of the Library item. |
FileMd5 | String | N | An MD5 hash of the file contents. Only set if the item is complete. |
FileSize | Long | N | Length of the file in bytes. Only set if the item is complete. |