Repositories

Add standalone

Add a standalone repository for organizational use with uploaded code or with the CLI.

post/api/v1/repositories/add-standalone

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

repositoryNamestring required

Name for the standalone repository

isEphemeralboolean

When true, indicates this is a CLI-created repository that should be hidden from the UI

Response

Successfully added standalone repository

idstring

Unique identifier of the created repository

Changes

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