latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
ArtefactVersion
Convert a Score specification, optional overrides, and extensions into the contents for a deployment set.
post/orgs/{orgId}/artefact-versions/convert-score
Path parameters
orgIdstring required
The organization ID.
Request body
Example request
{
"spec": {
"apiVersion": "score.dev/v1b1",
"metadata": {
"name": "hello-world"
}
},
"image": "busybox:latest",
"overrides": {
"apiVersion": "score.dev/v1b1",
"profile": "humanitec/default-module"
},
"property_overrides": {
"containers.my-container.image": "busybox:latest",
"containers.my-container.variables.DEBUG": null
},
"resource_type_aliases": {
"s3": "my-org/s3"
},
"extensions": {
"apiVersion": "humanitec.org/v1b1",
"profile": "humanitec/default-module",
"spec": {
"labels": {
"my-label": "my-value"
}
}
}
}Response
The deployment set contents.