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.
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
)
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 Reference
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}
/api/rest/v1/engines/{engineId}/nodes/{nodePath}
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
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/properties
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
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/properties/{propertyPath}
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
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/properties/{propertyPath}
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 "<property path>.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
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/functions
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
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/functions/{functionPath}
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
/api/rest/v1/engines/{engineId}/nodes/{nodePath}/functions/{functionPath}
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
/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}
The ID of the rundown.
1
The ID of the item.
2
/api/rest/v1/playout/rundowns/{rundownId}/items/{itemId}//{buttonKey}
The ID of the rundown.
1
The ID of the item.
3
The key of the form button.
c2f0df19-a147-4976-ba86-2e27156b2eab
/api/rest/v1/newsroom/rundowns/{ncsID}//{roID}
The Device ID of the NCS (can be found in Configuration -> MOS Module -> Configuration)
OCTOPUS2
Rundown ID (given by the NCS Device)
69425946
/api/rest/v1/newsroom/rundowns/{ncsID}//{roID}//{storyID}//{itemID}//{buttonKey}
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