TrylleDocs
API ReferenceOpenAPI 3 reference

Credentials

POST
/v1/git-credentials/password

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/git-credentials/password" \  -H "Content-Type: application/json" \  -d '{    "password": "aaa"  }'
"abc123"
GET
/v1/gpg-keys

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

page?integer

One-indexed page.

Formatint64
Range1 <= value
Default1
per_page?integer

Items per page.

Formatint64
Range1 <= value <= 100
Default30

Response Body

application/json

curl -X GET "https://example.com/v1/gpg-keys?page=2&per_page=2"
"abc123"
POST
/v1/gpg-keys

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/gpg-keys" \  -H "Content-Type: application/json" \  -d '{    "armoredPublicKey": "aa",    "armoredSignature": "aaa"  }'
"abc123"
GET
/v1/gpg-keys/verification-token

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/gpg-keys/verification-token"
"abc123"
POST
/v1/gpg-keys/verify

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/gpg-keys/verify" \  -H "Content-Type: application/json" \  -d '{    "armoredSignature": "aa",    "keyId": "aa"  }'
"abc123"
DELETE
/v1/gpg-keys/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

GPG key id.

Formatint64
Range1 <= value

Response Body

application/json

curl -X DELETE "https://example.com/v1/gpg-keys/2"
"abc123"
GET
/v1/ssh-keys

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

page?integer

One-indexed page.

Formatint64
Range1 <= value
Default1
per_page?integer

Items per page.

Formatint64
Range1 <= value <= 100
Default30

Response Body

application/json

curl -X GET "https://example.com/v1/ssh-keys?page=2&per_page=2"
"abc123"
POST
/v1/ssh-keys

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/ssh-keys" \  -H "Content-Type: application/json" \  -d '{    "key": "aa",    "title": "aa"  }'
"abc123"
DELETE
/v1/ssh-keys/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

Public key id.

Formatint64
Range1 <= value

Response Body

application/json

curl -X DELETE "https://example.com/v1/ssh-keys/2"
"abc123"