List My Memberships

GET
/v1/admin/me/memberships

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.

Every workspace the signed-in person may open: joined memberships, and invitations that match their email and wait to be joined.

Authorization

HTTPBearer
headerAuthorizationBearer <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.

Response Body

Successful Response

application/json
  1. response

The signed-in person's memberships through the sign-in issuer of their token. Send one workspace_id as the Sparq-Workspace header when there is more than one.

items*array<>
Example Request
curl -X GET 'http://dev-sparq.centralindia.cloudapp.azure.com:8000/v1/admin/me/memberships'
Example Response
{  "items": [    {      "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",      "workspace_name": "string",      "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",      "status": "invited",      "operators": true,      "roles": [        "project_admin"      ]    }  ]}