Repos

Connect Repo

Connect a repository to the organization.

post/repos

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/repos
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

repo_urlstring required

Repository URL (e.g., https://github.com/org/repo)

repo_namestring required

Repository name (e.g., my-saas-app)

providerstring

Repository provider: github, gitlab, local

default_branchstring

Default branch name

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.