REST API
The RTX Remix REST API allows users to send and receive information to and from the Toolkit respectively, as well as trigger actions in the Toolkit (such as starting the ingestion of a given file, etc.) via HTTP requests.
Finding the Documentation
The documentation for the Remix Toolkit REST API can be accessed in two different ways: Live, and Static.
To view the list of endpoints exposed by the RTX Remix Toolkit REST API, follow these instructions:
Live Documentation:
The live documentation is generated when the Remix Toolkit starts up and gives the ability to test the various endpoints seamlessly directly from the documentation itself.
Start the Remix Toolkit
Visit the following website in your web browser:
http://127.0.0.1:8011/docs#/
orhttp://localhost:8011/docs#/
NOTE: The 2 websites are equivalent and can be used interchangeably
Static Documentation:
The static documentation doesn’t require the Remix Toolkit to be installed and running.
Visit the
API documentation page
Understanding the Documentation
When opening the documentation website, you will be greeted with a list of available endpoints. Every row is a unique endpoint (HTTP Verb + URL) with a unique purpose.
Clicking on said row will reveal more information about the endpoint, including the expected path parameters, query parameters, request body, etc.
Endpoint Versioning
The Remix Toolkit REST API uses a versioning header to version every endpoint available individually. A dropdown with
the list of available endpoint version headers can be found in the endpoint details with the Request body
text or
within the Successful Response
sub-section of the Responses
section. The header should have the following format:
application/lightspeed.remix.service+json; version=1.0
Testing the Endpoints
Endpoints can be easily tested directly in the documentation. To do so, follow these instructions:
Expand the endpoint your would like to test
Click the
Try it now
buttonFill in any required parameters/body
Click the
Execute
buttonIn the
Responses
section, look for theServer response
subsection.You should see a response
Code
andDetails
for the request you sent in the previous step.
Need to leave feedback about the RTX Remix Documentation? Click here