OpenAPI Documentation for Jetstream
Swagger is an OpenAPI toolset that we are utilizing to enhance documentation of the Jetstream API. Embedded below is the Swagger UI, which presents a list of the Jetstream API endpoints, parameters, and schemas, and you can also test out each endpoint within this page.
The OpenAPI documentation includes version information for the API and a link to the OpenAPI JSON. This JSON is automatically updated when changes are released to production. You can use this JSON for further testing or integrations, such as for creating a Postman collection.
The documentation includes a list of the available servers. This page points solely to Jetstream Production, so only one option is available in the dropdown.
Utilize your Jetstream Access Key to authorize and test the API within this page. Swagger allows you to set authorization for the server or individual commands per API endpoint.
- Click the Authorize button next to Servers.
-
- Enter your Jetstream Access Key in the Value field and click Authorize. Clicking "Close" or the X in the top right of the window will cancel the authorization.
- To authorize for an command:
- Clock the lock icon for an command.
- Enter your Jetstream Access Key in the Value field and click Authorize. Clicking "Close" or the X in the top right of the window will cancel the authorization.
- Once you have added authorization, the lock icons will update to the locked position.
- To log out, click the lock icon and click Logout.
To retrieve, reset, or delete your Jetstream User access key, please contact Terso Support.
Swagger displays each API endpoint and the available commands for each endpoint. Each command can be expanded by click the colorful header to display additional information, including parameter information, an example response value, and schema.
Within the expanded command section, you have the ability to "Try it out". To test out an command:
- Complete the authorization steps above for either the server or the specific command.
- Expand the endpoint and command you'd like to test.
- Click the "Try it out" button.
- Enter values for the parameter(s) you'd like to test, ensuring you've entered values for all required parameters.
- Click Execute.
- The page will update to include the Curl, Request URL, and Server response.
- After executing your first test, you can update the parameters and execute again or clear the values entered.
Loading...
Loading...
For best results, remember to URL encode any special characters in your request parameters.