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
| Code | Description |
|---|---|
200 | The caller's requests, newest first |
401 | Not signed in |
503 | The 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
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
catalog | string | Yes | The catalog the access is asked for. | ||
group | string | Yes | The group whose approval is asked for; the caller must be a member. | ||
reason | string | Yes | Why, in one sentence, at most 500 characters. | ||
verbs | array of string | Yes | What to ask for: one or more of browse, select, write, create. |
Responses
| Code | Description |
|---|---|
201 | The stored row |
400 | The group, catalog or reason is empty, the reason is over 500 characters, or a verb is unknown, repeated or manage |
401 | Not signed in |
403 | The caller is not a member of the requested group |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The access request's id |
Responses
| Code | Description |
|---|---|
200 | The row |
401 | Not signed in |
404 | No such request for this caller |
503 | The 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The access request's id |
Responses
| Code | Description |
|---|---|
200 | The row, now withdrawn |
401 | Not signed in |
404 | No such request for this caller |
409 | The request was already withdrawn |
503 | The state store is not configured |