GET /resources/reactors
Gets all reactors that the current session has read
access to.
Request Sample
Request
Response
GET /resources/reactors/<reactorId>
Gets a reactor if the current session has read
access to it.
URI Parameters
reactorId | string Must be a non-empty string containing a-z, 0-9 or underscore. |
Request Sample
Request
Response
POST /resources/reactors/<reactorId>
Creates or updates an existing Reactor instance if the current session has write
access to it.
URI Parameters
reactorId | string Must be a non-empty string containing a-z, 0-9 or underscore. |
Body Parameters
componentId | string ID of the component to use for this reactor. |
parameters | map of string to any value The parameters to pass to the Reactor Component during instantiation. |
Response Properties
reactorId | string The Reactor ID |
componentId | string ID of the component used for this reactor. |
parameters | map of string to filtrera code value The parameters passed to the Reactor Component during instantiation, formatted as literal filtrera values. |
methods | array of method signatures Metadata about the Reactor’s methods. |
Request Sample
Request
Response
DELETE /resources/reactors/<reactorId>
Deletes a Reactor if the current session has write
access to it.
URI Parameters
reactorId | string Must be a non-empty string containing a-z, 0-9 or underscore. |
Request Sample
Request
Response
POST /resources/reactors/<reactorId>/<methodName>
Calls a method on a reactor if the current session has call
access to it.
URI Parameters
reactorId | string The ID of the Reactor to call. |
methodName | string The name of the method to call. |
Body
The body of a Reactor method call must be a JSON object with properties matching the method’s expected
parameters and value types.
Response
The response can be any value decided by the Reactor method.
Request Sample
Request
Response