Interactive Documentation
Syndeia Cloud's REST API is published using Swagger which provides a platform for interactive documentation - learn about the REST endpoints and also try them out directly in the documentation.Â
Accessing REST API documentation
Open a web browser to port 9000 of the root of your Syndeia Cloud instance, ex: http://myhost.mydomain.com:9000. You should see a web page as below. If you do not see the web page below, it implies that your Syndeia Cloud server is not running. Contact your Syndeia administrator. Click on the API icon ("REST API Swagger Documentation").
Â
The Swagger REST API Documentation page should open as shown below. The REST endpoints are organized based on the simple conceptual model presented in the previous section (see here).
Making REST API requests through Swagger
The first step in making REST API requests is to sign-in. You should have an account on the Syndeia Cloud sever. If not, request your admin to create an account for you before proceeding further.
The sign-in request authenticates the user and returns a token if succesful. The token is then used for every REST API request to the Syndeia Cloud server. Follow the steps below to sign-in and register the token so that you do not have to specify it for each request.Â
1. Click on POST /signIn button under the Auth category.
​5. Click the blue Execute button. Â
8. Click the Authorize button at the top of the page (RHS)​, a popup screen should show. Â
​