TrylleDocs
API ReferenceOpenAPI 3 reference

Issues

GET
/v1/issues

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

owner*string

Repository owner query value.

Length1 <= length
repo*string

Repository name query value.

Length1 <= length
state?string

Issue state filter forwarded to git-gateway (open, closed, all).

page?integer

One-indexed page. Handler clamps values below 1 to 1.

Formatint64
Range1 <= value
Default1
per_page?integer

Items per page. Handler defaults to 30 and clamps above 100.

Formatint64
Range1 <= value <= 100
Default30
cursor?string

Base64 cursor encoding page and per_page; overrides page/per_page when valid.

Response Body

application/json

curl -X GET "https://example.com/v1/issues?owner=aa&repo=aa&state=abc123&page=2&per_page=2&cursor=abc123"
"abc123"
GET
/v1/issues/mine

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

state?string

Issue state filter forwarded to git-gateway.

page?integer

One-indexed page. Handler clamps values below 1 to 1.

Formatint64
Range1 <= value
Default1
per_page?integer

Items per page. Handler defaults to 30 and clamps above 100.

Formatint64
Range1 <= value <= 100
Default30
cursor?string

Base64 cursor encoding page and per_page; overrides page/per_page when valid.

Response Body

application/json

curl -X GET "https://example.com/v1/issues/mine?state=abc123&page=2&per_page=2&cursor=abc123"
"abc123"
POST
/v1/repositories/{owner}/{name}/issues

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/repositories/aa/aa/issues" \  -H "Content-Type: application/json" \  -d '{    "assignees": [      "abc123"    ],    "body": "abc123",    "labels": [      "abc123"    ],    "title": "aa"  }'
"abc123"
DELETE
/v1/repositories/{owner}/{name}/issues/comments/{commentId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
commentId*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Response Body

application/json

curl -X DELETE "https://example.com/v1/repositories/aa/aa/issues/comments/2"
"abc123"
GET
/v1/repositories/{owner}/{name}/issues/{number}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Response Body

application/json

curl -X GET "https://example.com/v1/repositories/aa/aa/issues/2"
"abc123"
PATCH
/v1/repositories/{owner}/{name}/issues/{number}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/v1/repositories/aa/aa/issues/2" \  -H "Content-Type: application/json" \  -d '{    "assignees": [      "abc123"    ],    "body": "abc123",    "state": "abc123",    "title": "abc123"  }'
"abc123"
GET
/v1/repositories/{owner}/{name}/issues/{number}/comments

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Query Parameters

page?integer

One-indexed page. Handler clamps values below 1 to 1.

Formatint64
Range1 <= value
Default1
per_page?integer

Items per page. Handler defaults to 30 and clamps above 100.

Formatint64
Range1 <= value <= 100
Default30
cursor?string

Base64 cursor encoding page and per_page; overrides page/per_page when valid.

Response Body

application/json

curl -X GET "https://example.com/v1/repositories/aa/aa/issues/2/comments?page=2&per_page=2&cursor=abc123"
"abc123"
POST
/v1/repositories/{owner}/{name}/issues/{number}/comments

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/repositories/aa/aa/issues/2/comments" \  -H "Content-Type: application/json" \  -d '{    "body": "aa"  }'
"abc123"
PUT
/v1/repositories/{owner}/{name}/issues/{number}/labels

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/v1/repositories/aa/aa/issues/2/labels" \  -H "Content-Type: application/json" \  -d '{    "labels": [      "abc123"    ]  }'
"abc123"
POST
/v1/repositories/{owner}/{name}/issues/{number}/reactions

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Issue or pull request number.

Formatint64
Range1 <= value

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/repositories/aa/aa/issues/2/reactions" \  -H "Content-Type: application/json" \  -d '{    "commentId": 1,    "content": "aa",    "remove": false  }'
"abc123"
GET
/v1/repositories/{owner}/{name}/issues/{number}/timeline

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length
number*integer

Positive issue, pull, review, or comment number.

Formatint64
Range1 <= value

Query Parameters

page?integer

One-indexed page. Handler clamps values below 1 to 1.

Formatint64
Range1 <= value
Default1
per_page?integer

Items per page. Handler defaults to 30 and clamps above 100.

Formatint64
Range1 <= value <= 100
Default30
cursor?string

Base64 cursor encoding page and per_page; overrides page/per_page when valid.

Response Body

application/json

curl -X GET "https://example.com/v1/repositories/aa/aa/issues/2/timeline?page=2&per_page=2&cursor=abc123"
"abc123"
GET
/v1/repositories/{owner}/{name}/labels

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/v1/repositories/aa/aa/labels"
"abc123"
POST
/v1/repositories/{owner}/{name}/labels

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

owner*string

Repository owner namespace.

Length1 <= length
name*string

Repository name from the {name} path segment.

Length1 <= length

Request Body

application/json

Label request body.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/repositories/aa/aa/labels" \  -H "Content-Type: application/json" \  -d '{    "color": "aa",    "description": "abc123",    "name": "aa"  }'
"abc123"