Deferred Artifacts
In some cases, an Artifact cannot be supplied until after checkout has taken place. In this case, the Artifact needs to be marked as 'Deferred' so that the Version can be marked Complete and checkout can take place.
Requires:
Actions
URL | Verb | Information | Note |
---|---|---|---|
/project/{Project Guid}/version/{Version Number}/artifact/{Artifact Name} | POST | Defer and existing artifact | This is the same URL used to upload artifacts directly. |
Fields
The following fields are required in the request body to defer an artifact.
Field | Data Type | Required | Information |
---|---|---|---|
Deferred | ProjectArtifactDeferred | Y | The details around the deferring |
The fields for ProjectArtifactDeferred:
Field | Data Type | Required | Information |
---|---|---|---|
URL | String | N | The URL where the artifact is (or will be) available. |
IsAvailable | Boolean | Y | Whether the artifact is available or not - URL must be set for IsAvailable to be set to true. |