Roku · Schema
PersonalAccessTokenOut
PersonalAccessTokenOut schema from Roku Nabu Cloud
StreamingTelevisionMediaEntertainmentConnected TVConsumer Electronics
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | The unique identifier of the personal access token |
| name | string | A descriptive name for the token |
| description | object | Optional description for the token |
| scopes | array | List of scopes that define the token's permissions |
| version | integer | Version number of the token format |
| created_at | string | When the token was created |
| expires_at | string | When the token expires |
| last_used_at | object | When the token was last used |
| revoked_at | object | When the token was revoked, if applicable |
| status | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/roku/refs/heads/main/json-schema/nabu-cloud-personal-access-token-out-schema.json",
"title": "PersonalAccessTokenOut",
"description": "PersonalAccessTokenOut schema from Roku Nabu Cloud",
"type": "object",
"properties": {
"id": {
"type": "integer",
"title": "Id",
"description": "The unique identifier of the personal access token"
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"title": "Name",
"description": "A descriptive name for the token"
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 4096,
"minLength": 0
},
{
"type": "null"
}
],
"title": "Description",
"description": "Optional description for the token"
},
"scopes": {
"items": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"pattern": "^[a-z0-9]+(-[a-z0-9]+)*$"
},
"type": "array",
"title": "Scopes",
"description": "List of scopes that define the token's permissions"
},
"version": {
"type": "integer",
"title": "Version",
"description": "Version number of the token format"
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At",
"description": "When the token was created"
},
"expires_at": {
"type": "string",
"format": "date-time",
"title": "Expires At",
"description": "When the token expires"
},
"last_used_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Last Used At",
"description": "When the token was last used"
},
"revoked_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Revoked At",
"description": "When the token was revoked, if applicable"
},
"status": {
"$ref": "#/components/schemas/PersonalAccessTokenStatus",
"readOnly": true
}
},
"required": [
"id",
"name",
"scopes",
"version",
"created_at",
"expires_at",
"status"
]
}