Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Library item is an artifact that is required to produce a print product.

Requires:

Actions

URLVerbInformation
/library/pushPOSTCreates a Library item

Fields

The requests to the Library push actions should be HTTP multipart file uploads containing one and only one file. Request should set the "Content-Type" HTTP header to "multipart/form-data" and a boundry as standard. Inside the part containing the file contents, the "Content-Type" must be included, specifying the type of the file being uploaded.

The following details are returned about an item:

FieldData TypeRequiredInformation
LibraryItemLibraryItemDetailYFields described below.
ProductBuilderUrlStringYThe product builder URL for the specified Library Item


The following details are returned about a Library item.

FieldData TypeRequiredInformation
ItemGuidStringYThe Guid of the Library item
IsCompleteBooleanYIf the item is complete for the purposes of the product builder, i.e. a file has been uploaded
FileMimeTypeStringYThe MIME type of the Library item.
FileMd5StringNAn MD5 hash of the file contents. Only set if the item is complete.
FileSizeLongNLength of the file in bytes. Only set if the item is complete.
  • No labels