Skip to content

API Documentation

TrustSource CE includes the interactive documentation of its REST API. It is a Swagger UI generated from the OpenAPI specification that ships with the app, so it always matches the version you run.

Open it

Select the API documentation icon in the right bar, or go to https://<your-host>/apidoc-latest. The page shows the operations of /api/v2, grouped by tag (Account, Releases, Risks, Check, Approval, Company, Projects, Modules, Products, Users, Scans, Tests, Reports, CSAF), with their parameters and responses.

The raw specification is available at https://<your-host>/api-v2/openapi.yaml.

The API documentation page: the TrustSource Rest API header, the Servers selector and the collapsed operation groups from Account to CSAF.

Try a call

  1. Select Authorize and enter an API key as x-api-key, or fill in the x-api-key parameter of the operation.
  2. Select an operation and choose Try it out.
  3. Fill in the parameters and select Execute.

Warning

Calls you run here act on your real data. A POST or DELETE changes your company's data. Use a key with the smallest scope that does the job.