List Grants
Not available yet. This operation is part of the published contract and answers
501 not_implementeduntil it is built. The request and response shapes below are final for this contract version.
HTTPBearerAuthorizationBearer <token>Bearer credential. API keys look like sqk_<geo>_<key_id>_<secret>: treat them as opaque and never put one in a browser. Older keys without the geo part stay valid until rotated. Find a geo's endpoints through GET /.well-known/sparq-discovery before sending a key.
workspace_id*Workspace Iduuidlimit?LimitItems per page (default 50, at most 200).
1 <= value <= 20050cursor?|Opaque next_cursor from the previous page.
project_id?|nullSparq-Workspace?stringFor a person signed in to a console with several workspaces: the workspace this call is for, one of their memberships (listMyMemberships). Without it such a person gets workspace_required (400); a workspace they are not a member of is forbidden. It never grants anything, and other callers' credentials ignore it.
uuidSuccessful Response
application/json- response
next_cursor*|Pass as cursor for the next page; empty at the end.
total?|Number of matching items, only when cheap to count.
items*array<>curl -X GET 'http://dev-sparq.centralindia.cloudapp.azure.com:8000/v1/admin/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/grants'{ "next_cursor": "string", "total": 0, "items": [ { "grant_id": "a3c1da8e-13c6-4cab-955b-2120b58c2982", "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "audience_tenant_id": "0287c3f7-886a-49f4-a73e-03577e798c26", "principal_type": "credential", "principal_id": "string", "role": "project_admin", "expires_at": "2019-08-24T14:15:22Z", "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242", "created_at": "2019-08-24T14:15:22Z", "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4", "environment_tier": "string" } ]}Join Memberships POST
> **Not available yet.** This operation is part of the published contract and answers `501 not_implemented` until it is built. The request and response shapes below are final for this contract version. Join every invitation that matches the signed-in person's email, binding it to this person; audited `member.join` in each workspace. Joining again changes nothing, so the call is safe to repeat without an `Idempotency-Key`.
List Members GET
> **Not available yet.** This operation is part of the published contract and answers `501 not_implemented` until it is built. The request and response shapes below are final for this contract version.