The Turbine Labs API provides CRUD operations for core object types, and is
mostly RESTy. The easiest way to interact with the API is with
tbnctl.
If you want to make direct HTTP calls, however, you can obtain an access
token using tbnctl, and then pass it in the Authorization header,
prefixed by Token
:
curl -H "Authorization: Token <access token>" https://api.turbinelabs.io/v1.0/cluster
Use this page to mock Turbine Labs API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of Turbine Labs API, which will allow you to keep building and testing even if the actual API you isn't currently available.