Teamspace Libraries
Add a library
Changed onSubmit a source for parsing; source selects its kind. Any member can add a public source; it does not join the teamspace. A private source (private: true, Confluence, Notion) joins this teamspace and needs the owner or admin role. The call returns once the parse has started (up to about 30 seconds); poll the library details for its state.
post/v2/teamspaces/{teamspaceId}/libraries
Request
- Base URLhttps://context7.com/api
- URLhttps://context7.com/api/v2/teamspaces/{teamspaceId}/libraries
- AuthHTTP bearer
Path parameters
teamspaceIdstring uuid required
Teamspace id (uuid).
Request body
Example request
{
"docsRepoUrl": "https://github.com/acme/docs"
}Response
Library submitted successfully for processing
Changes
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info