Project Artifacts are the data that gets sent to the printer when a Project is ordered. Artifacts are attached to a Project Version - if a Version is a "snapshot" of the project, the Artifacts are the parts that make up the picture. A Version might be made up of multiple Artifacts - for example, a 10x8 photobook might need 3 PDFs: The page content, The cover sticker and the spine label. Each of these PDFs would be an Artifact.
...
When the contents of an Artifact are verified by MILK, the results of the inspection are stored as Artifact Events.
When providing Artifacts that are PDF files, the PDF Format Requirments must be met.
Requires:
...
Actions
URL | Verb | Information |
---|---|---|
/project/{Project Guid}/version/{Version Number}/artifact/{Artifact Name} | POST | Creates or updates an Artifact identified by the Artifact Name |
...
Field | Data Type | Required | Information |
---|---|---|---|
Name | String | Y | Uniquely identifies the artifact in the Version |
IsComplete | Boolean | Y | If the artifact is complete for the purposes of checkout, i.e. a file has been uploaded, or deferred. |
FileMimeType | String | Y | The MIME type of the artifact. This is the only allowed content type on a Required Artifact |
FileMd5 | String | N | An MD5 hash of the file contents. Only set if the artifact is complete and not deferred. |
FileSize | Long | N | Length of the file in bytes. Only set if the artifact is complete and not deferred. |
Deferred | ProjectArtifactDeferred | N | Defer settings for the artifact. Only set if the artifact is deferred. |
...