Add Library
Add from other Git providers
Changed onSubmit a repository from any Git provider not covered by the dedicated GitHub, GitLab, or Bitbucket endpoints. Supports Gitea, Forgejo, Codeberg, self-hosted GitLab, and other Git servers. For private repos, provide a personal access token via the gitToken field.
post/v2/add/repo/git
Request
- Base URLhttps://context7.com/api
- URLhttps://context7.com/api/v2/add/repo/git
- AuthHTTP bearer
Request body
Response
Library submitted successfully for processing
Changes
- info
added the optional property
to the response with the status
- info