Skip to main content

Nova API — /api/access-requests

The operations Nova tags public under /api/access-requests. Generated from reference-src/nova-openapi.json.

GET /api/access-requests​

Operation id access_requests_list: in Python client.call("access_requests_list", …), on the command line stardelt api access_requests_list.

GET /api/access-requests — the caller's own requests, newest first, at most 50.

The caller's own access requests: which catalog and group they asked for, the requested verbs and why, and whether the request is still open. Newest first, at most 50. Another person's requests are never listed.

Responses

CodeDescription
200The caller's requests, newest first
401Not signed in
503The state store is not configured

POST /api/access-requests​

Operation id access_requests_create: in Python client.call("access_requests_create", …), on the command line stardelt api access_requests_create.

POST /api/access-requests — 201 with the stored row.

Ask the owner group of a catalog for access: the group (the caller must be a member of it), the catalog, one or more of browse, select, write, create, and a reason of at most 500 characters. manage belongs to the catalog's owner and cannot be requested. The requester is the signed-in caller, never part of the body. An owner group's IdP that leaves the groups out of the token cannot be judged here, so such a request is accepted and the approval decides. The request changes no grant.

Request body

FieldTypeRequiredDefaultDescriptionConstraints
catalogstringYesThe catalog the access is asked for.
groupstringYesThe group whose approval is asked for; the caller must be a member.
reasonstringYesWhy, in one sentence, at most 500 characters.
verbsarray of stringYesWhat to ask for: one or more of browse, select, write, create.

Responses

CodeDescription
201The stored row
400The group, catalog or reason is empty, the reason is over 500 characters, or a verb is unknown, repeated or manage
401Not signed in
403The caller is not a member of the requested group
503The state store is not configured

GET /api/access-requests/{id}​

Operation id access_requests_read: in Python client.call("access_requests_read", …), on the command line stardelt api access_requests_read.

GET /api/access-requests/{id} — the caller's own row; somebody else's is a 404.

One of the caller's own access requests. Another person's request answers 404, exactly like an id that does not exist: the API never confirms that it is there.

Parameters

NameInTypeRequiredDescription
idpathintegerYesThe access request's id

Responses

CodeDescription
200The row
401Not signed in
404No such request for this caller
503The state store is not configured

DELETE /api/access-requests/{id}​

Operation id access_requests_withdraw: in Python client.call("access_requests_withdraw", …), on the command line stardelt api access_requests_withdraw.

DELETE /api/access-requests/{id} — withdraw one's own open request; 200 with the row.

Withdraw one of the caller's own open access requests: its state becomes withdrawn and it keeps that state. A request that is already withdrawn answers 409, another person's 404. Nothing is deleted, and no grant is touched.

Parameters

NameInTypeRequiredDescription
idpathintegerYesThe access request's id

Responses

CodeDescription
200The row, now withdrawn
401Not signed in
404No such request for this caller
409The request was already withdrawn
503The state store is not configured