Asset
Create an asset
Creates a new asset.
post/asset
Request body
Example request
{
"type": "docker-image",
"url": "https://example.com/my-asset.jpg",
"name": "My asset",
"build_id": 345,
"application_id": 234,
"commit-sha": "1234",
"metadata": {
"key": "value"
},
"platform": "arm_64"
}Response
The operation was successful.
Example response
{
"id": 123,
"name": "My Asset",
"build_id": 345,
"type": "docker-image",
"platform": "arm_64",
"url": "https://example.com/my-asset.jpg",
"nrn": "organization=1:account=2:namespace=4:application=4:build=345:asset=123",
"branch": "main",
"commit": {
"id": 234,
"permalink": "https://example.com/1234"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.