Create registry request
Asks a project's organization to share a registry covering an image or an address. It names no registry, so that a project learns nothing of what its organization doesn't share with it. Asking again while a request waits returns that request.
Asks a project's organization to share a registry covering an image or an address.
It names no registry, so that a project learns nothing of what its organization doesn't share with it. Asking again while a request waits returns that request.
bearerAuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID.
^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$application/json- body
address*stringAn image, such as ghcr.io/acme/devbox:1, or a registry's address, such as ghcr.io/acme.
1 <= length <= 512Created
application/json- response
address*stringWhat it asked for, as a registry's prefix would name it, such as ghcr.io/acme/devbox.
createTime*stringWhen it was asked.
date-timedecideTime?stringWhen it was decided.
date-timename*stringResource name, organizations/{organization_id}/registry-requests/{request_id}.
project*stringThe project that asked, projects/{project_id}.
registry?stringThe registry shared with the project, once approved.
requester*stringWho asked, as a member such as user:usr_….
state*stringPENDING until an Owner decides.
"PENDING""APPROVED""DECLINED"curl -X POST 'https://api.kosem.ai/v1/projects/string/registry-requests' \
-H 'Content-Type: application/json' \
-d '{
"address": "string"
}'{
"address": "string",
"createTime": "2019-08-24T14:15:22Z",
"decideTime": "2019-08-24T14:15:22Z",
"name": "string",
"project": "string",
"registry": "string",
"requester": "string",
"state": "PENDING"
}