Teamspace Libraries
Get claim instructions
Changed onThe context7.json to publish to claim a library for this teamspace, with the teamspace's public key. The library need not belong to the teamspace yet. Publish the file, then call the verify operation.
get/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/claim
Request
- Base URLhttps://context7.com/api
- URLhttps://context7.com/api/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/claim
- AuthHTTP bearer
Response
Claim instructions
Example response
{
"libraryName": "/acme/docs",
"fileContent": "{\n \"url\": \"https://context7.com/acme/docs\",\n \"public_key\": \"pk_...\"\n}"
}Changes
- info
endpoint added
- info