2.4 KiB
Return to top
Create GitHub App
===============================================================================================================
POST
/github-apps
Create a new GitHub app.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Request Body
application/json
SchemaJSON
JSON
{
"name": "string",
"organization": "string",
"api_url": "string",
"html_url": "string",
"custom_user": "string",
"custom_port": 0,
"app_id": 0,
"installation_id": 0,
"client_id": "string",
"client_secret": "string",
"webhook_secret": "string",
"private_key_uuid": "string",
"is_system_wide": true
}
Responses
201400401422
GitHub app created successfully.
Content-Type
application/json
SchemaJSON
JSON
{
"id": 0,
"uuid": "string",
"name": "string",
"organization": "string",
"api_url": "string",
"html_url": "string",
"custom_user": "string",
"custom_port": 0,
"app_id": 0,
"installation_id": 0,
"client_id": "string",
"private_key_id": 0,
"is_system_wide": true,
"team_id": 0
}
POST
/github-apps
Playground
Authorization
bearerAuth
Body
Try it out
Samples
Powered by VitePress OpenAPI