Ccr
Container Registry
Creates a container registry repository in the project and returns the created repository.
post/projects/{project_id}/ccr/repositories
Request
- Base URLhttps://api.cloud.crusoe.ai/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
ID of the project to create the repository in.
Request body
Example request
{
"location": "us-east1",
"max_size_bytes": "10737418240",
"name": "my-repository",
"upstream_registry": {
"upstream_registry_credentials": {
"username": "my-registry-user"
},
"url": "https://registry-1.docker.io"
}
}Response
Example response
{
"created_at": "2021-12-03T19:58:34Z",
"id": "ca39e669-47ee-456b-968d-303234fbf99f",
"location": "us-east1",
"max_size_bytes": "10737418240",
"name": "my-repository",
"upstream_registry": {
"upstream_registry_credentials": {
"username": "my-registry-user"
},
"url": "https://registry-1.docker.io"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.