XCube Platform API (2.0.2)

Download OpenAPI specification:

XCube Platform API documentation

Users

Create new admin user

Creates new admin user

Request Body schema: application/json
required

New admin user

grant_type
string

Type of grant. Must be 'password'.

key
string

XCube Display Manager instance key provided by Optima DTS.

password
string

Password.

username
string

Username.

Responses

Request samples

Content type
application/json
{
  • "grant_type": "string",
  • "key": "string",
  • "password": "string",
  • "username": "string"
}

Response samples

Content type
application/json
{
  • "access_token": "string",
  • "expires_in": 0,
  • "token_type": "string",
  • "username": "string"
}

Create new user

Creates new user

Authorizations:
OAuth2Password
Request Body schema: application/json
required

New user

admin
boolean

User is an administrator.

email
string

Email.

first_name
string

First name.

last_modified
string

Date and time the user was last modified.

last_name
string

Last name.

organization
string

Organization.

password
string

Password.

phone
string

Phone number.

title
string

Title.

username
string

Username.

Responses

Request samples

Content type
application/json
{
  • "admin": true,
  • "email": "string",
  • "first_name": "string",
  • "last_modified": "string",
  • "last_name": "string",
  • "organization": "string",
  • "password": "string",
  • "phone": "string",
  • "title": "string",
  • "username": "string"
}

Response samples

Content type
application/json
{
  • "admin": true,
  • "email": "string",
  • "first_name": "string",
  • "last_modified": "string",
  • "last_name": "string",
  • "organization": "string",
  • "password": "string",
  • "phone": "string",
  • "title": "string",
  • "username": "string"
}

Delete user

Deletes user

Authorizations:
OAuth2Password
path Parameters
username
required
string

Username

Responses

Response samples

Content type
application/json
"string"

Get users

Gets users

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update user

Updates user

Authorizations:
OAuth2Password
path Parameters
username
required
string

Username

Request Body schema: application/json
required

Updated user

admin
boolean

User is an administrator.

email
string

Email.

first_name
string

First name.

last_modified
string

Date and time the user was last modified.

last_name
string

Last name.

organization
string

Organization.

password
string

Password.

phone
string

Phone number.

title
string

Title.

username
string

Username.

Responses

Request samples

Content type
application/json
{
  • "admin": true,
  • "email": "string",
  • "first_name": "string",
  • "last_modified": "string",
  • "last_name": "string",
  • "organization": "string",
  • "password": "string",
  • "phone": "string",
  • "title": "string",
  • "username": "string"
}

Response samples

Content type
application/json
{
  • "admin": true,
  • "email": "string",
  • "first_name": "string",
  • "last_modified": "string",
  • "last_name": "string",
  • "organization": "string",
  • "password": "string",
  • "phone": "string",
  • "title": "string",
  • "username": "string"
}

User login

User login

Request Body schema: application/json
required

User login

grant_type
string

Type of grant. Must be 'password'.

password
string

Password.

username
string

Username.

Responses

Request samples

Content type
application/json
{
  • "grant_type": "string",
  • "password": "string",
  • "username": "string"
}

Response samples

Content type
application/json
{
  • "access_token": "string",
  • "expires_in": 0,
  • "token_type": "string",
  • "username": "string"
}

Wall Configuration

Add wall configuration

Adds a new wall configuration

Authorizations:
OAuth2Password
Request Body schema: application/json
required

Wall configuration

description
string

Brief description of the wall (e.g., location, purpose, etc.).

last_modified
string

Date and time the wall configuration was last modified.

name
string

Unique, alphanumeric wall name or identifier. No spaces or special characters allowed (except for '-' and '_').

wall_cols
integer

Number of wall columns.

wall_rows
integer

Number of wall rows.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "last_modified": "string",
  • "name": "string",
  • "wall_cols": 0,
  • "wall_rows": 0
}

Response samples

Content type
application/json
"string"

Delete wall configuration

Deletes an existing wall configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Wall name

Responses

Response samples

Content type
application/json
"string"

Get wall configurations

Gets current wall configurations

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update wall configuration

Updates an existing wall configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Wall name

Request Body schema: application/json
required

Wall configuration

description
string

Brief description of the wall (e.g., location, purpose, etc.).

last_modified
string

Date and time the wall configuration was last modified.

name
string

Unique, alphanumeric wall name or identifier. No spaces or special characters allowed (except for '-' and '_').

wall_cols
integer

Number of wall columns.

wall_rows
integer

Number of wall rows.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "last_modified": "string",
  • "name": "string",
  • "wall_cols": 0,
  • "wall_rows": 0
}

Response samples

Content type
application/json
"string"

Wall Display Configuration

Add wall display configuration

Adds a new wall display configuration

Authorizations:
OAuth2Password
Request Body schema: application/json
required

Wall display configuration

Array of objects (data.CubeDisplayConfig)

Cube display configuration(s) for the wall display config.

last_modified
string

Date and time the wall display configuration was last modified.

name
string

Unique, alphanumeric wall display config (wall preset) name or identifier. No spaces or special characters allowed (except for '-' and '_').

wall_name
string

The unique, alphanumeric wall name or identifier to which this display config is assigned.

Responses

Request samples

Content type
application/json
{
  • "cube_display_configs": [
    ],
  • "last_modified": "string",
  • "name": "string",
  • "wall_name": "string"
}

Response samples

Content type
application/json
"string"

Delete wall display configuration

Deletes an existing wall display configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Wall display config name

Responses

Response samples

Content type
application/json
"string"

Get wall display configurations

Gets current wall display configurations

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Set wall display configuration

Sets wall display configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Wall display config name

Responses

Response samples

Content type
application/json
"string"

Update wall display configuration

Updates an existing wall display configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Wall display config name

Request Body schema: application/json
required

Wall display configuration

Array of objects (data.CubeDisplayConfig)

Cube display configuration(s) for the wall display config.

last_modified
string

Date and time the wall display configuration was last modified.

name
string

Unique, alphanumeric wall display config (wall preset) name or identifier. No spaces or special characters allowed (except for '-' and '_').

wall_name
string

The unique, alphanumeric wall name or identifier to which this display config is assigned.

Responses

Request samples

Content type
application/json
{
  • "cube_display_configs": [
    ],
  • "last_modified": "string",
  • "name": "string",
  • "wall_name": "string"
}

Response samples

Content type
application/json
"string"

Cube Configuration

Add cube configuration

Adds a new cube configuration

Authorizations:
OAuth2Password
Request Body schema: application/json
required

Cube configuration

object

Advanced cube unit configuration parameters.

disabled
boolean

Cube unit disabled. When true, all cube unit communications are disabled.

host
string

Host or IP address of the cube unit.

last_modified
string

Date and time the cube unit configuration was last modified.

max_cube_cols
integer

Maximum number of display columns for the cube unit.

max_cube_rows
integer

Maximum number of display rows for the cube unit.

name
string

Unique, lowercase, alphanumeric cube unit name or identifier. No spaces or special characters allowed (except for '-' and '_').

port
integer

HTTP/S port of the cube unit.

secret
string

Secret key for cube unit authorization.

wall_col
string

Current one (1) based wall column index.

wall_name
string

Name of the wall to which this cube unit is assigned.

wall_row
string

Current one (1) based wall row index.

Responses

Request samples

Content type
application/json
{
  • "advanced_config": {
    },
  • "disabled": true,
  • "host": "string",
  • "last_modified": "string",
  • "max_cube_cols": 0,
  • "max_cube_rows": 0,
  • "name": "string",
  • "port": 0,
  • "secret": "string",
  • "wall_col": "string",
  • "wall_name": "string",
  • "wall_row": "string"
}

Response samples

Content type
application/json
"string"

Delete cube configuration

Deletes an existing cube configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Cube name

Responses

Response samples

Content type
application/json
"string"

Get cube configurations

Gets current cube configurations

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update cube configuration

Updates an existing cube configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Cube name

Request Body schema: application/json
required

Cube configuration

object

Advanced cube unit configuration parameters.

disabled
boolean

Cube unit disabled. When true, all cube unit communications are disabled.

host
string

Host or IP address of the cube unit.

last_modified
string

Date and time the cube unit configuration was last modified.

max_cube_cols
integer

Maximum number of display columns for the cube unit.

max_cube_rows
integer

Maximum number of display rows for the cube unit.

name
string

Unique, lowercase, alphanumeric cube unit name or identifier. No spaces or special characters allowed (except for '-' and '_').

port
integer

HTTP/S port of the cube unit.

secret
string

Secret key for cube unit authorization.

wall_col
string

Current one (1) based wall column index.

wall_name
string

Name of the wall to which this cube unit is assigned.

wall_row
string

Current one (1) based wall row index.

Responses

Request samples

Content type
application/json
{
  • "advanced_config": {
    },
  • "disabled": true,
  • "host": "string",
  • "last_modified": "string",
  • "max_cube_cols": 0,
  • "max_cube_rows": 0,
  • "name": "string",
  • "port": 0,
  • "secret": "string",
  • "wall_col": "string",
  • "wall_name": "string",
  • "wall_row": "string"
}

Response samples

Content type
application/json
"string"

Cube Control

Get cube display configurations

Gets current cube display configurations

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Restart xcube device

Restarts xcube device

Authorizations:
OAuth2Password
path Parameters
name
required
string

Cube name

Responses

Response samples

Content type
application/json
"string"

Restart xcube service

Restarts xcube service

Authorizations:
OAuth2Password
path Parameters
name
required
string

Cube name

Responses

Response samples

Content type
application/json
"string"

Set cube display configuration

Sets cube display configuration

Authorizations:
OAuth2Password
Request Body schema: application/json
required

Cube display configuration

cube_cols
integer

Current number of cube display columns for the cube unit.

cube_rows
integer

Current number of cube display rows for the cube unit.

Array of objects (data.CubeStreamConfig)

Current cube stream configuration(s) for the cube unit.

last_modified
string

Date and time the cube display configuration was last modified.

name
string

Unique, lowercase, alphanumeric cube unit name or identifier. No spaces or special characters allowed (except for '-' and '_').

Responses

Request samples

Content type
application/json
{
  • "cube_cols": 0,
  • "cube_rows": 0,
  • "cube_stream_configs": [
    ],
  • "last_modified": "string",
  • "name": "string"
}

Response samples

Content type
application/json
"string"

Cube State

Get cube states

Gets current cube states

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Stream Configuration

Add stream configuration

Adds a new stream configuration

Authorizations:
OAuth2Password
Request Body schema: application/json
required

Stream configuration

config_source
string

Source (identifier) of the stream configuration.

description
string

Brief description of stream or stream source (camera name, camera location, etc.).

disabled
boolean

Disable use of stream.

last_modified
string

Date and time the stream configuration was last modified.

name
string

Unique, alphanumeric stream name or identifier. No spaces or special characters allowed (except for '-' and '_').

source_url
string

Source URL for the stream. Must be a valid URL with a supported protocol ("udp", "rtsp", "rtsps", "rtmp", "rtmps", "http", "https").

transport
string
Enum: "default" "tcp" "udp" "udp_multicast" "http" "https"

Transport protocol of the source stream. Allowed values are "tcp", "udp", "multicast", "http" and "https".

Responses

Request samples

Content type
application/json
{
  • "config_source": "string",
  • "description": "string",
  • "disabled": true,
  • "last_modified": "string",
  • "name": "string",
  • "source_url": "string",
  • "transport": "default"
}

Response samples

Content type
application/json
"string"

Delete stream configuration

Deletes an existing stream configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Stream name

Responses

Response samples

Content type
application/json
"string"

Get stream configuration

Gets the stream configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Stream name

Responses

Response samples

Content type
application/json
{
  • "config_source": "string",
  • "description": "string",
  • "disabled": true,
  • "last_modified": "string",
  • "name": "string",
  • "source_url": "string",
  • "transport": "default"
}

Get stream configuration list

Gets the list of stream configurations

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update stream configuration

Updates an existing stream configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Stream name

Request Body schema: application/json
required

Stream configuration

config_source
string

Source (identifier) of the stream configuration.

description
string

Brief description of stream or stream source (camera name, camera location, etc.).

disabled
boolean

Disable use of stream.

last_modified
string

Date and time the stream configuration was last modified.

name
string

Unique, alphanumeric stream name or identifier. No spaces or special characters allowed (except for '-' and '_').

source_url
string

Source URL for the stream. Must be a valid URL with a supported protocol ("udp", "rtsp", "rtsps", "rtmp", "rtmps", "http", "https").

transport
string
Enum: "default" "tcp" "udp" "udp_multicast" "http" "https"

Transport protocol of the source stream. Allowed values are "tcp", "udp", "multicast", "http" and "https".

Responses

Request samples

Content type
application/json
{
  • "config_source": "string",
  • "description": "string",
  • "disabled": true,
  • "last_modified": "string",
  • "name": "string",
  • "source_url": "string",
  • "transport": "default"
}

Response samples

Content type
application/json
"string"

Tour Configuration

Add tour configuration

Adds a new tour configuration

Authorizations:
OAuth2Password
Request Body schema: application/json
required

Tour configuration

description
string

Brief description of the tour (e.g., purpose, content, etc.).

dwell_time_secs
integer

Playback dwell time in seconds for each stream in the tour.

last_modified
string

Date and time the tour configuration was last modified.

name
string

Unique, alphanumeric tour name or identifier. No spaces or special characters allowed (except for '-' and '_').

suspend_consec_failures
integer

Number of consecutive failures before a tour stream is temporarily suspended (removed from tour).

suspended_check_interval_secs
integer

Interval in seconds at which to check if a suspended tour stream is available.

tour_streams
Array of strings

Ordered list of streams included in tour.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "dwell_time_secs": 0,
  • "last_modified": "string",
  • "name": "string",
  • "suspend_consec_failures": 0,
  • "suspended_check_interval_secs": 0,
  • "tour_streams": [
    ]
}

Response samples

Content type
application/json
"string"

Delete tour configuration

Deletes an existing tour configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Tour name

Responses

Response samples

Content type
application/json
"string"

Get tour configurations

Gets current tour configurations

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update tour configuration

Updates an existing tour configuration

Authorizations:
OAuth2Password
path Parameters
name
required
string

Tour name

Request Body schema: application/json
required

Tour configuration

description
string

Brief description of the tour (e.g., purpose, content, etc.).

dwell_time_secs
integer

Playback dwell time in seconds for each stream in the tour.

last_modified
string

Date and time the tour configuration was last modified.

name
string

Unique, alphanumeric tour name or identifier. No spaces or special characters allowed (except for '-' and '_').

suspend_consec_failures
integer

Number of consecutive failures before a tour stream is temporarily suspended (removed from tour).

suspended_check_interval_secs
integer

Interval in seconds at which to check if a suspended tour stream is available.

tour_streams
Array of strings

Ordered list of streams included in tour.

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "dwell_time_secs": 0,
  • "last_modified": "string",
  • "name": "string",
  • "suspend_consec_failures": 0,
  • "suspended_check_interval_secs": 0,
  • "tour_streams": [
    ]
}

Response samples

Content type
application/json
"string"

Network

Get pong

Gets pong

Authorizations:
OAuth2Password

Responses

Response samples

Content type
application/json
{
  • "current_datetime": "string",
  • "request_ip_address": "string"
}