REST API
Last updated
Last updated
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.
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
)
You can also trigger the Download function of the ExternalData field as shown below:
http://127.0.0.1/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}/{ExternalDataFieldKey}
The ID of the engine.
3
The path of the node. (The ID of the node if the engine is RE5)
15f34237-9fa1-405c-89e6-4eacade51456
The path of the property. (The ID of the pin if the engine is RE5)
5ec1e795-f3c2-4834-b84b-d97cdd7f3464
The ID of the engine.
3
The path of the node. (The ID of the node if the engine is RE5)
6c1293aa-418d-440a-a3b0-fb47c5d8090b
The path of the function. (The ID of the function if the engine is RE5)
d6f7914f-94d2-4a76-8874-f58399b83c8c
The ID of the rundown.
1
The ID of the item.
3
The key of the form button.
c2f0df19-a147-4976-ba86-2e27156b2eab
The Device ID of the NCS (can be found in Configuration -> MOS Module -> Configuration)
OCTOPUS2
Rundown ID (given by the NCS Device)
69425946
The Device ID of the NCS (can be found in Configuration -> MOS Module -> Configuration)
OCTOPUS2
Rundown ID
69425946
Story ID
71755601
Item ID
2-1
The key of the button to be triggered.
button1
Start launch configuration
The ID of the launch configuration.
1
OK
Stop launch configuration
The ID of the launch configuration.
1
No content
Retime launch configuration
The ID of the launch configuration.
1
No content
Get launch configurations
The ID of the launch configuration.
1
Get launch configuration details
Start renderer
The ID of launch configuration
The ID of renderer
OK
Start renderer
The ID of launch configuration
The ID of renderer
OK
Get list of renderer IDs
The ID of launch configuration
[10,11]
Get renderer details
The ID of launch configuration
The ID of renderer
The ID of the engine.
3
The path of the node. (The ID of the node if the engine is RE5)
15f34237-9fa1-405c-89e6-4eacade51456
The path of the property. (The ID of the pin if the engine is RE5)
Reality Engine 5 supports partial pin update. In order to perform a partial update you need to construct the property path accordingly. Assume we have a mat4 pin and want to update the 'z' attribute of mat4's 'w' field. Then the property path should be ".w.z" The path bits should be delimited by a dot (.) and should be append to the original property path (after a dot).
5ec1e795-f3c2-4834-b84b-d97cdd7f3464
Enum: ['Constant', 'Linear', 'EaseIn', 'EaseOut', 'EaseInOut']
Constant
Possible values: The duration of the interpolation in seconds. Must be a positive number.
0
The delay of the interpolation in seconds. Must be a positive number.
0
The ID of the engine.
3
The path of the node. (The ID of the node if the engine is RE5)
6c1293aa-418d-440a-a3b0-fb47c5d8090b
The path of the function. (The ID of the function if the engine is RE5)
d6f7914f-94d2-4a76-8874-f58399b83c8c
The ID of the rundown.
1
The ID of the item.
2
Create launch config
Launch config 1
[2,4]
Create renderer
The ID of launch configuration
5
11
1
4
14
Enum: ['RE', 'RE5', 'UE']
RE5
Possible values: For RE it will be assumed as rgraph id, for ue ustate and for re5 graph id
1
12