CorfedoCorfedoDocs
ReferenceAPI referenceSearch and read

Get Context

GET /api/v1/contexts/{contextId}. Request parameters and response schemas.

GET
/api/v1/contexts/{contextId}

Authorization

corfedoOAuth corfedo:tenant:contexts:read, corfedo:repositories:code:read
headerAuthorizationBearer <token>

Corfedo-issued bearer credential for the workspace's API resource, such as https://workspace.corfedo.example/api; the workspace host is the issuer. Public clients identify themselves with a Client ID Metadata Document URL and use PKCE S256; service clients use private_key_jwt. Browser cookies and MCP-resource credentials are not accepted.

Scope: corfedo:tenant:contexts:read, corfedo:repositories:code:read

Path Parameters

contextId*string
Formatuuid

Response Body

OK

application/json
  1. response
context*
repositories*array<>
Example Request
curl -X GET 'https://example.com/api/v1/contexts/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "context": {    "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6",    "name": "string",    "description": null,    "owner": "personal",    "revision": "string",    "createdAt": "2019-08-24T14:15:22Z",    "changedAt": "2019-08-24T14:15:22Z",    "repositoryCount": -2147483648,    "inaccessibleCount": null,    "manageable": true  },  "repositories": [    {      "repositoryId": "string",      "name": "string",      "provider": "string",      "forgeHost": "string",      "status": "searchable"    }  ]}