Repositories

Add generic

Add a generic Git repository not tied to a specific provider

post/api/v1/repositories/add-generic

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 Git repository

defaultBranchstring required

Default branch for repository operations

Response

Successfully added repository

idstring

Unique identifier of the created repository

Changes

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