Repositories

Add GitHub with Token

Add a GitHub Repository using a personal access token or other access token

post/api/v1/repositories/add-github-with-token

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring required

Organization to add the repository to

repositoryUrlstring required

URL of the GitHub repository

accessTokenstring required

GitHub personal access token or other access token

defaultBranchstring

Default branch for repository operations

Response

Successfully added repository

idstring required

Unique identifier of the created repository

Changes

No recorded changes to this operation across all 1 revision of this API.