GitHub · Schema
installation-token
Authentication token for a GitHub App installed on a user or org.
CodePipelinesPlatformSoftware DevelopmentSource ControlT1
Properties
| Name | Type | Description |
|---|---|---|
| token | string | |
| expires_at | string | |
| permissions | object | |
| repository_selection | string | |
| repositories | array | |
| single_file | string | |
| has_multiple_single_files | boolean | |
| single_file_paths | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-installation-installation-token-schema.json",
"title": "installation-token",
"description": "Authentication token for a GitHub App installed on a user or org.",
"type": "object",
"properties": {
"token": {
"type": "string",
"example": "example_value"
},
"expires_at": {
"type": "string",
"example": "2026-04-17T12:00:00Z"
},
"permissions": {
"$ref": "#/components/schemas/app-permissions"
},
"repository_selection": {
"type": "string",
"enum": [
"all",
"selected"
],
"example": "all"
},
"repositories": {
"type": "array",
"items": {
"$ref": "#/components/schemas/repository"
}
},
"single_file": {
"type": "string",
"example": "README.md"
},
"has_multiple_single_files": {
"type": "boolean",
"example": true
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"config.yml",
".github/issue_TEMPLATE.md"
]
}
},
"required": [
"token",
"expires_at"
]
}