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 5 Current »

Library Push is where an image is loaded into the Library via a direct upload. Uploading an image to the Library automatically creates a unique link which can be used to direct the user to the Product Builder.

Requires:

or

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
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