Register an Artifact
This API is primarily used for integration with existing CI systems or pushing a build manually from local. The API registers an artifact for a given release stream. All environments qualified for that release stream will get the artifact in queue.
Authorization
basicAuth AuthorizationBasic <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://facetsdemo.console.facets.cloud/cc-ui/v1/artifacts/register" \ -H "Content-Type: application/json" \ -d '{}'[
{
"applicationName": "string",
"appliedRuleId": "string",
"appliedRuleName": "string",
"appliedRuleVersionId": "string",
"artifactUri": "string",
"artifactory": "string",
"buildDescription": "string",
"buildId": "string",
"changeLog": "string",
"classified": true,
"clusterId": "string",
"createdBy": "string",
"createdOn": "2019-08-24T14:15:22Z",
"creationDate": "2019-08-24T14:15:22Z",
"id": "string",
"lastModifiedBy": "string",
"lastModifiedDate": "2019-08-24T14:15:22Z",
"metadata": {
"property1": "string",
"property2": "string"
},
"promoted": true,
"registrationType": "ENVIRONMENT",
"registrationValue": "string",
"releaseStream": "string",
"releaseType": "HOTFIX",
"repositoryName": "string",
"tag": "string",
"versioningKey": "string"
}
]{
"approvalUrl": "string",
"code": "string",
"errorCode": "string",
"message": "string",
"missingPermissions": [
"string"
]
}"string"{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}