Library Push

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.
ProductBuilderUrlStringYA 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.
FileSizeLongNLength of the file in bytes.