What is OpenAPI?
The OpenAPI Specification (OAS) is a language-agnostic standard for describing HTTP APIs. It defines exactly how your API works—its endpoints, methods, parameters, request/response bodies, authentication, and error codes—in a machine-readable JSON or YAML file. (It used to be called Swagger; Swagger is now the name of a popular toolset that uses OpenAPI.)
Accessing the new Spira API Documentation
When you browse the Inflectra API documentation server, you will see the different API versions supported by Spira, with the option to display the original documentation (now called "Standard Documentation") and the new link to display the OpenAPI format documentation:
When you click on the OpenAPI Documentation link, you will see the OpenAPI specification for the v7.0 Spira REST API:
The great thing with OpenAPI is that as well as displaying all of the available resources, endpoints and sample payloads, you try invoking the method directly from the documentation page.
If you want to try out invoking any of the endpoints, you cannot do that using our public documentation server, as you won't have the necessary authentication.
Instead, browse the web services on your own instance of Spira. and the documentation link on that instance will allow you to try out using the various methods:
In your own instance you can use the Authorize section to specify the necessary authentication information to access your Spira instance:
If you have any questions about using our REST API, please check out our general developer documentation, and feel free to log a ticket with our support team.