REST API

A REST API is an architectural style for an application program interface (API) that uses HTTP requests to access and use data. That data can be used to GET, POST, PATCH, and DELETE data types, referring to the reading, updating, creating, changing, and deleting operations concerning resources.

circle-info

REST API is a licensed feature. For more details, please get in touch with our Licensing Team.

  • Base URL: Your current RealityHub address and port (ex: http://localhost)

  • Endpoint: Communication channel that you want to do various processes (/api/rest/v1/engines/1/nodes)

circle-info

If the Endpoint contains characters that the URL doesn't support, those characters should be URL-Encoded. For more information, please visit: HTML URL Encoding Referencearrow-up-right

Engine Control

Get Engines

get
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines

Get a Single Engine

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}

Get Nodes of an Engine

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}/nodes

Get a Single Node

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: EngineControl
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}/nodes/{nodePath}

Get Properties of a Node

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: EngineControl
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/properties

Get a Single Property

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: EngineControl
propertyPathstringRequired

The path of the property. (URL-encoded)

Example: Clock%2F%2FTargetFPS%2F0
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/properties/{propertyPath}

Update a Property's Value

patch
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: EngineControl
propertyPathstringRequired

The path of the property. (URL-encoded)

Example: Clock%2F%2FTargetFPS%2F0
Body
Valueany ofRequired
booleanOptional
or
numberOptional
or
integerOptional
or
objectOptional
or
or
stringOptional
Responses
chevron-right
200

OK

application/json
patch
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/properties/{propertyPath}

Get Functions of a Node

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: Mixer_0
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/functions

Get a Single Function

get
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: Mixer_0
functionPathstringRequired

The path of the function. (URL-encoded)

Example: Default%2F%2FDoTransition%2F0
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/functions/{functionPath}

Call a Node's Function

post
Path parameters
engineIdintegerRequired

The ID of the engine.

Example: 2
nodePathstringRequired

The path of the node. (URL-encoded)

Example: Mixer_0
functionPathstringRequired

The path of the function. (URL-encoded)

Example: Default%2F%2FDoTransition%2F0
Responses
chevron-right
200

OK

application/json
post
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/functions/{functionPath}

Playout Control

List Rundowns

get
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/playout/rundowns

Create a New Rundown

post
Body
namestringRequired
Responses
post
/api/rest/v1/playout/rundowns

Get a Single Rundown

get
Path parameters
rundownIdintegerRequired

The ID of the rundown.

Example: 2
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/playout/rundowns/{rundownId}

Delete a Rundown

delete
Path parameters
rundownIdintegerRequired

The ID of the rundown to delete.

Example: 3
Responses
delete
/api/rest/v1/playout/rundowns/{rundownId}

No content

Rename a Rundown

patch
Path parameters
rundownIdintegerRequired

The ID of the rundown to rename.

Example: 3
Body
namestringRequired
Responses
chevron-right
200

OK

application/json
patch
/api/rest/v1/playout/rundowns/{rundownId}

List Rundown Items

get
Path parameters
rundownIdintegerRequired

The ID of the rundown.

Example: 2
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/playout/rundowns/{rundownId}/items

Create a New Rundown Item

post
Path parameters
rundownIdintegerRequired

The ID of the target rundown.

Example: 2
Body
namestringRequired
templatestringRequired
orderintegerOptional
Responses
post
/api/rest/v1/playout/rundowns/{rundownId}/items

List All Templates

get
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/playout/templates

Get a Single Rundown Item

get
Path parameters
rundownIdintegerRequired

The ID of the rundown.

Example: 2
itemIdintegerRequired

The ID of the rundown item.

Example: 5
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}

Delete a Rundown Item

delete
Path parameters
rundownIdintegerRequired

The ID of the rundown.

Example: 2
itemIdintegerRequired

The ID of the rundown item to delete.

Example: 5
Responses
delete
/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}

No content

Update a Rundown Item

patch
Path parameters
rundownIdintegerRequired

The ID of the rundown.

Example: 2
itemIdintegerRequired

The ID of the rundown item.

Example: 5
Body
namestringOptional
templatestringOptional
orderintegerOptional
overriddenChannelsinteger[]Optional
Responses
chevron-right
200

OK

application/json
patch
/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}

Trigger a Rundown Item Button

post
Path parameters
rundownIdintegerRequired

The ID of the rundown.

Example: 2
itemIdintegerRequired

The ID of the rundown item.

Example: 3
buttonKeystringRequired

The form key of the button.

Example: open_lower
Responses
chevron-right
200

OK

application/json
post
/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}/{buttonKey}

Newsroom Control

List Newsroom Rundowns

get
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/newsroom/rundowns

List Newsroom Rundowns of a Single NCS Device

get
Path parameters
ncsIDstringRequired

The Device ID of the NCS (can be found in Configuration -> MOS Module -> Configuration)

Example: OCTOPUS2
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/newsroom/rundowns/{ncsID}

Get a Single Rundown

get
Path parameters
ncsIDstringRequired

The Device ID of the NCS (can be found in Configuration -> MOS Module -> Configuration)

Example: OCTOPUS2
roIDintegerRequired

Rundown ID (given by the NCS Device)

Example: 69425946
Responses
chevron-right
200

OK

application/json
get
/api/rest/v1/newsroom/rundowns/{ncsID}/{roID}

Update a MOS Object's Data

patch
Path parameters
objIDstringRequired

The ID of the MOS object to update.

Example: 048c0b52-0c5c-47a6-9f23-b375ea6d9feb
Body
descriptionstringOptional
Responses
chevron-right
200

OK

application/json
patch
/api/rest/v1/newsroom/mosObjects/{objID}

Trigger a MOS Object's Button (Newsroom Rundown Item Button)

post
Path parameters
ncsIDstringRequired

The Device ID of the NCS (can be found in Configuration -> MOS Module -> Configuration)

Example: OCTOPUS2
roIDintegerRequired

Rundown ID

Example: 69425946
storyIDintegerRequired

Story ID

Example: 71755601
itemIDstringRequired

Item ID

Example: 2-1
buttonKeystringRequired

The key of the button to be triggered.

Example: button1
Responses
chevron-right
200

OK

application/json
post
/api/rest/v1/newsroom/rundowns/{ncsID}/{roID}/{storyID}/{itemID}/{buttonKey}

Last updated