latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
Registry
Creates a new registry record.
post/orgs/{orgId}/registries
Path parameters
orgIdstring required
Unique (alpha-numerical) organization identifier.
Request body
Example request
{
"created_at": "2020-05-22T14:53:27Z",
"created_by": "a.user@example.com",
"enable_ci": false,
"id": "humanitec",
"registry": "registry.humanitec.io",
"secrets": {
"*": {
"namespace": "dev-secrets",
"secret": "custom-regcred"
},
"cluster-A": {
"namespace": "prod-secrets",
"secret": "custom-regcred"
}
},
"type": "basic"
}Response
A newly created record details.
Example response
{
"created_at": "2020-05-22T14:53:27Z",
"created_by": "a.user@example.com",
"enable_ci": false,
"id": "humanitec",
"registry": "registry.humanitec.io",
"secrets": {
"*": {
"namespace": "dev-secrets",
"secret": "custom-regcred"
},
"cluster-A": {
"namespace": "prod-secrets",
"secret": "custom-regcred"
}
},
"type": "basic"
}