Authorizations
Body
application/json
curl --request POST \
--url https://zeropath.com/api/v1/repositories/branches \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryId": "<string>",
"externalGithubRepositoryId": "<string>"
}'
{
"defaultBranch": "<string>",
"branches": [
"<string>"
]
}
curl --request POST \
--url https://zeropath.com/api/v1/repositories/branches \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryId": "<string>",
"externalGithubRepositoryId": "<string>"
}'
{
"defaultBranch": "<string>",
"branches": [
"<string>"
]
}