Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| esn | string | The ESN of the device. |
| device_type | object | The type of the Device. |
| name | string | The name of the Device. |
| description | object | Description of the Device. |
| account_name | object | Account name of the Device. |
| properties | object | Device properties. |
| qa_hub | boolean | Whether the device should be auto registered in QA Hub. |
| last_snapshot | integer | The ID of the snapshot to use for the device. |
| last_snapshot_name | string | Name of the snapshot. |
| rootfs_artifactory_path | string | The path of the rootfs image in artifactory. |
| snapshots | array | List of device snapshot IDs. |
| status | object | The running status of the device. |
| running_device | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/roku/json-schema/roku-device-out-schema.json",
"title": "DeviceOut",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/roku-devices-api-openapi.yml#/components/schemas/DeviceOut",
"properties": {
"id": {
"type": "integer",
"minimum": 0,
"title": "Id"
},
"esn": {
"type": "string",
"maxLength": 12,
"minLength": 12,
"pattern": "^XY+([A-Z0-9]+)?$",
"title": "Esn",
"description": "The ESN of the device."
},
"device_type": {
"$ref": "#/$defs/DeviceType",
"description": "The type of the Device."
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"title": "Name",
"description": "The name of the Device."
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 4096,
"minLength": 0
},
{
"type": "null"
}
],
"title": "Description",
"description": "Description of the Device."
},
"account_name": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{
"type": "null"
}
],
"title": "Account Name",
"description": "Account name of the Device."
},
"properties": {
"anyOf": [
{
"additionalProperties": true,
"type": "object",
"maxProperties": 8192
},
{
"type": "null"
}
],
"title": "Properties",
"description": "Device properties."
},
"qa_hub": {
"type": "boolean",
"title": "Qa Hub",
"description": "Whether the device should be auto registered in QA Hub."
},
"last_snapshot": {
"type": "integer",
"minimum": 0,
"title": "Last Snapshot",
"description": "The ID of the snapshot to use for the device."
},
"last_snapshot_name": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"title": "Last Snapshot Name",
"description": "Name of the snapshot."
},
"rootfs_artifactory_path": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"pattern": "^[a-zA-Z0-9_-]*(\\/[a-zA-Z0-9._-]+)*(\\:[a-zA-Z0-9._-]+)?$",
"title": "Rootfs Artifactory Path",
"description": "The path of the rootfs image in artifactory."
},
"snapshots": {
"items": {
"type": "integer"
},
"type": "array",
"title": "Snapshots",
"description": "List of device snapshot IDs.",
"default": []
},
"status": {
"$ref": "#/$defs/DeviceStatus",
"description": "The running status of the device.",
"default": "shutdown"
},
"running_device": {
"anyOf": [
{
"$ref": "#/$defs/DeviceInstanceInfo"
},
{
"type": "null"
}
]
}
},
"type": "object",
"required": [
"id",
"esn",
"device_type",
"name",
"qa_hub"
],
"$defs": {
"DeviceInstanceInfo": {
"properties": {
"id": {
"type": "integer",
"minimum": 0,
"title": "Id"
},
"creator_id": {
"type": "string",
"format": "uuid",
"title": "Creator Id",
"description": "The ID of the user who started the device."
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At"
},
"started_at": {
"type": "string",
"format": "date-time",
"title": "Started At"
},
"snapshot_id": {
"type": "integer",
"minimum": 0,
"title": "Snapshot Id",
"description": "The ID of the snapshot to use for the device."
},
"snapshot_name": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"title": "Snapshot Name",
"description": "Name of the snapshot."
},
"region_id": {
"type": "integer",
"minimum": 0,
"title": "Region Id",
"description": "The ID of the region where the device will run."
},
"region_name": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"title": "Region Name",
"description": "Name of the region."
},
"stream_option_id": {
"type": "integer",
"minimum": 0,
"title": "Stream Option Id",
"description": "The ID of the stream option to use for the device."
},
"stream_option_name": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"title": "Stream Option Name",
"description": "Name of the stream option. "
},
"max_runtime": {
"type": "integer",
"minimum": 0,
"title": "Max Runtime",
"description": "The maximum runtime of the device in seconds, 0 for project max runtime."
},
"rootfs_artifactory_path": {
"type": "string",
"maxLength": 255,
"minLength": 3,
"pattern": "^[a-zA-Z0-9_-]*(\\/[a-zA-Z0-9._-]+)*(\\:[a-zA-Z0-9._-]+)?$",
"title": "Rootfs Artifactory Path",
"description": "The path of the rootfs image in artifactory."
},
"reboot": {
"type": "integer",
"maximum": 150,
"minimum": -1,
"title": "Reboot",
"description": "Device reboot behaviour.-1 for no reboots, including requested reboot; 0 for no device crash reboots; and >0 for n number of device crash reboots.A device crash is determined by restart_reason in the device nvram. A device shutdown will act like a reboot."
},
"ip_address": {
"anyOf": [
{
"type": "string",
"format": "ipvanyaddress"
},
{
"type": "null"
}
],
"title": "Ip Address",
"description": "IP address of the running device Instance."
},
"janus_id": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Janus Id",
"description": "ID of the Janus WebRTC stream."
},
"janus_pin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Janus Pin",
"description": "Pin to access the Janus WebRTC stream."
},
"janus_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Janus Token",
"description": "Janus API Token."
},
"janus_websocket_url": {
"anyOf": [
{
"type": "string",
"description": "\n WebSocket URL to connect to the Janus WebRTC gateway. Includes the\n ws:// prefix and the path to the instance.\n "
},
{
"type": "null"
}
],
"title": "Janus Websocket Url"
},
"janus_ice_servers": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/IceServer"
},
"type": "array",
"description": "List of ICE servers to use for WebRTC connections."
},
{
"type": "null"
}
],
"title": "Janus Ice Servers"
},
"instance_api_url": {
"anyOf": [
{
"type": "string",
"description": "\n Url prefix for the instance api. Does not contain the protocol\n prefix since the instance api contains both ws and http endpoints.\n "
},
{
"type": "null"
}
],
"title": "Instance Api Url"
},
"instance_uuid": {
"type": "string",
"format": "uuid",
"title": "Instance Uuid"
}
},
"type": "object",
"required": [
"id",
"creator_id",
"created_at",
"snapshot_id",
"region_id",
"stream_option_id",
"max_runtime",
"rootfs_artifactory_path",
"reboot",
"instance_uuid"
],
"title": "DeviceInstanceInfo"
},
"DeviceStatus": {
"type": "string",
"enum": [
"shutdown",
"pending",
"running"
],
"title": "DeviceStatus"
},
"DeviceType": {
"type": "string",
"enum": [
"tv",
"stb",
"streambar"
],
"title": "DeviceType"
},
"IceServer": {
"properties": {
"urls": {
"items": {
"type": "string"
},
"type": "array",
"title": "Urls"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Username"
},
"credential": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Credential"
}
},
"type": "object",
"required": [
"urls"
],
"title": "IceServer"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/roku-device-out"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.