Authorizations
Response
Successful response
curl --request POST \
--url https://zeropath.com/api/v1/repositories/add-bitbucket \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repos": [
{
"gitAuthorEmail": "<string>",
"repositoryUrl": "<string>",
"repositoryName": "<string>",
"defaultBranch": "<string>",
"webhookSigningSecret": "<string>"
}
]
}'
[
{
"id": "<string>"
}
]
curl --request POST \
--url https://zeropath.com/api/v1/repositories/add-bitbucket \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repos": [
{
"gitAuthorEmail": "<string>",
"repositoryUrl": "<string>",
"repositoryName": "<string>",
"defaultBranch": "<string>",
"webhookSigningSecret": "<string>"
}
]
}'
[
{
"id": "<string>"
}
]
Successful response