Artifact
In most cases, artifact resource is operated with build id, which is different from build number. To get build id of a particular build number, use the Query Basic Info operation with query for instance
"Number" is "path/to/project#100"
or "Number" is "PROJECTKEY-100"
Operation | Http Method | End Point |
Get Artifact Info | GET | /artifacts/{buildId}/infos{artifactPath:(/.*)?} |
Download Artifact | GET | /artifacts/{buildId}/contents/{artifactPath:(.*)} |
Upload Artifact | POST | /artifacts/{buildId}/{artifactPath:(.*)} |
Delete Artifact | DELETE | /artifacts/{buildId}{artifactPath:(/.*)?} |