v1

latestOpenAPI 3.0.02026-07-13162290.3 KB
Add Library

Add a Bitbucket repository

Submit a Bitbucket repository for documentation processing. Supports private repos via a gitToken or by connecting your Bitbucket account at https://context7.com/add-library.

post/v2/add/repo/bitbucket

Request body

docsRepoUrlstring uri required

The repository URL

gitTokenstring

Personal access token for private repositories. If not provided, the token from your OAuth connection at https://context7.com/add-library is used.

privateboolean

Whether the repository is private

skipVersionFilteringboolean

Skip filtering out version-specific documentation pages

generateDocsboolean

Generate documentation from the repository source code. Applies to private repository submissions.

Response

Library submitted successfully for processing

libraryNamestring required

The library identifier assigned — the URL path of the library on context7.com. /owner/repo for GitHub repositories, or /<source>/<id> for other sources (e.g., /vercel/next.js, /websites/uploadcare_com). See Library ID format.

messagestring required

Human-readable success message