Set Release Artifact
POST/api/v1/catalog/releases/project/:projectIdentifier/version/:version/artifact
This service message allows creation of a release artifact.
Request
Path Parameters
projectIdentifier stringrequired
Project identifier (ID or name)
version stringrequired
Header Parameters
X-Project-Token string
- application/json
Body
required
artifactName stringrequired
type string
Possible values: [file, docker_image, rpm, deb]
Default value: file
isInstallationFile boolean
dockerImageUrl string
metadata object
isExecutable boolean
Default value: false
arguments string
enableSbomScan boolean
Default value: true
Whether to trigger an SBOM scan for this artifact after upload. Defaults to true.
packageVersion string
Package version for RPM/DEB artifact types (e.g. "1.2.3-4")
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
artifactId numberrequired
uploadUrl string
Only present for FILE artifact type
{
"artifactId": 0,
"uploadUrl": "string"
}
Loading...