Teamspace Libraries

Refresh a library

Changed on

Parse the library (or one branch) again from its source. Works for the teamspace's private and claimed libraries, and for any public library. Owners can refresh a limited number of times per period. Uploaded files cannot be refreshed.

post/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/refresh

Request

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

Request body

branchstring

A branch version to refresh in place of the default branch.

gitTokenstring

Token for a private repository. Default: the account connected in the dashboard.

pageIdsstring[]

Confluence and Notion: the pages to index.

Response

The refresh started

messagestring required

Changes