Repos
Repos API endpoints
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
autoClone?string
Value in
"true" | "false"name?string
Response Body
application/json
curl -X GET "http://localhost:3013/api/repos"{
"repos": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "string",
"name": "string",
"clonePath": "string",
"defaultBranch": "main",
"autoClone": true,
"guidelines": {
"prChecks": [
"string"
],
"mergeChecks": [
"string"
],
"allowMerge": false,
"review": [
"string"
]
},
"createdAt": "string",
"lastUpdatedAt": "string"
}
]
}Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/repos" \ -H "Content-Type: application/json" \ -d '{ "url": "string", "name": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "string",
"name": "string",
"clonePath": "string",
"defaultBranch": "main",
"autoClone": true,
"guidelines": {
"prChecks": [
"string"
],
"mergeChecks": [
"string"
],
"allowMerge": false,
"review": [
"string"
]
},
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string"
}{
"error": "string"
}Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
curl -X DELETE "http://localhost:3013/api/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"success": true
}{
"error": "string"
}Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
curl -X GET "http://localhost:3013/api/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "string",
"name": "string",
"clonePath": "string",
"defaultBranch": "main",
"autoClone": true,
"guidelines": {
"prChecks": [
"string"
],
"mergeChecks": [
"string"
],
"allowMerge": false,
"review": [
"string"
]
},
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string"
}Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "http://localhost:3013/api/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "string",
"name": "string",
"clonePath": "string",
"defaultBranch": "main",
"autoClone": true,
"guidelines": {
"prChecks": [
"string"
],
"mergeChecks": [
"string"
],
"allowMerge": false,
"review": [
"string"
]
},
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string"
}{
"error": "string"
}