Teamspace Libraries

Update library settings

Changed on

Change the owner settings of a library the teamspace has claimed. The next refresh uses them.

patch/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}

Request

  • Base URL
    https://context7.com/api
  • URL
    https://context7.com/api/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}
  • Auth
    HTTP bearer

Request body

projectTitlestring
descriptionstring
baseUrlstring

Website base URL (http or https).

webUrlstring

Link shown on the library page (http or https).

branchstring

Branch to parse (repositories).

foldersstring[]

Only parse these folders.

excludeFoldersstring[]
excludeFilesstring[]
includeExtensionsstring[]

Extra file extensions parsed as documentation (repositories), such as ".fizz". Source code extensions are ignored.

rulesstring[]

Rules shown to agents with the documentation.

disallowboolean

Stop indexing the library.

useQueryParamsboolean

Keep query parameters when crawling (websites).

excludeUrlsstring[]

URLs not to crawl (websites).

skipClaudeVersionExclusionboolean

Keep pages that look version-specific.

generateDocsboolean

Generate docs from the source code on each refresh with new commits (private repositories). Each run is billed as parsing.

configSource'dashboard' | 'context7json'

Where the parser reads settings from: these settings, or the repository's context7.json (claimed repositories).

Response

The saved settings

Changes

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status