Skip to main content
GET
Clone a repository

Authorizations

Authorization
string
header
required

A Tolmo API token, sent as Authorization: Bearer <token>. Either a user token (usr_tok.*, minted by tolmo auth login, scoped to your own permissions) or an org API token created in the Tolmo app, for CI and automation.

Path Parameters

orgSlug
string
required

Query Parameters

repo
string
required
Minimum string length: 1
provider
enum<string>
Available options:
github,
gitlab
ref
string
Minimum string length: 1
githubPullRequestNumber
integer
Required range: 0 < x <= 9007199254740991
cloudAccountId
string<uuid>
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

400 - application/json

Default Response

statusCode
number
code
string
error
string
message
string