Approve registry request
Approves a request, sharing a registry that covers what it asked for with the project that asked.
POST
Approves a request, sharing a registry that covers what it asked for with the project that asked.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
organization*stringThe organization's ID.
Match
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$request*stringThe request's ID.
Match
^rrq_[0-7][0-9a-hjkmnp-tv-z]{25}$application/json- body
registry*stringA registry of the organization that covers what was asked for.
Match
^organizations/org_[0-7][0-9a-hjkmnp-tv-z]{25}/registries/reg_[0-7][0-9a-hjkmnp-tv-z]{25}$OK
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.
Format
date-timedecideTime?stringWhen it was decided.
Format
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.
Value in
"PENDING""APPROVED""DECLINED"curl -X POST 'https://api.kosem.ai/v1/organizations/string/registry-requests/string/approve' \
-H 'Content-Type: application/json' \
-d '{
"registry": "string"
}'Example Response
{
"address": "string",
"createTime": "2019-08-24T14:15:22Z",
"decideTime": "2019-08-24T14:15:22Z",
"name": "string",
"project": "string",
"registry": "string",
"requester": "string",
"state": "PENDING"
}