Images
Initiate a image version upload
Changed onpost/api/v1/images/{tenant}/{name}/versions
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/images/{tenant}/{name}/versions
- Auth: none declared
Path parameters
tenantstring required
namestring required
Request body
Example request
{
"description": "Training image with PyTorch 2.3 and CUDA 12.",
"displayName": "PyTorch Training 2.3.0",
"source": "dockerPush",
"spec": {
"purpose": "training"
},
"version": "2.3.0"
}Response
Upload initiated; returns credentials and a image handle.
Example response
{
"expiresAt": "2026-06-28T09:30:00Z",
"id": "a1b2c3d4-5e6f-7081-92a3-b4c5d6e7f809",
"storageKind": "oci",
"uploadCredentials": {
"password": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"username": "upload-token"
},
"uri": "oci://registry.axisml.io/team-vision/pytorch-train:2.3.0"
}Changes
- breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
removed the enum value
dockerPushof the request property - breaking
removed the enum value
externalof the request property - breaking
removed the enum value
orasof the request property - breaking
removed the enum value
webUploadof the request property - breaking
the
request property type changed fromstringto no type - breaking
the
request property type changed fromobjectto no type
- breaking