Git Providers

Get repository preset by owner and name

Changed on
get/repositories/{owner}/{name}/preset

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

ownerstring required

Repository owner

namestring required

Repository name

Query parameters

branchstring

Git branch to check (defaults to repository's default branch)

Response

Repository preset calculated successfully

calculated_atstring date-time required
namestring required
ownerstring required
repository_idinteger required

Changes