Table of Contents outline true
Overview
Swagger is an interactive documentation system that also allows you to conveniently try out & make REST API calls from the documentation page itself.
...
The Swagger REST API Documentation page should open as shown below. The REST endpoints are organized based on a system of repositories, containers, artifacts, and relations (see Conceptual Model for an overview).
...
To
...
Login
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.
...
To
...
Create a
...
New User
12. Click the Edit button. The field should now become editable.
13. Fill out the requested fields, ie: first name, last name, email, password.
14. Click the blue Execute button.
15. If successful, you should receive an HTTP 200 response back with JSON data. If there was a form error, you should receive an HTTP 4XX response back with an appropriate error message.
...
To
...
Reset a
...
Password
...
Note, Reset Password is considered an admin-level operation that requires the USER_MODIFY
permission. This is distinct from the Change Password operation which does not require any permission and only applies to one's own password.
To Update a User (Permissions)
25. Click the blue Execute button.
26. If successful, you should receive an HTTP 200 response back with JSON data. If there was a form error, you should receive an HTTP 4XX response back with an appropriate error message.
27. Copy the key value
1930. Click the Edit button. The field should now become editable.
2031. Fill out the requested fields, ie: key, firstName, lastName, permissions.
| Create user permission |
| User read permission |
| User modification permission |
| User remove permission |
| Create repository permission |
| Repository modification permission |
| Repository deletion permission |
| Create container permission |
| Container modification permission |
| Artifact relation write permission |
| Container deletion permission |
| General read permission |
33. If successful, you should receive an HTTP 200 response back with JSON data. If there was a form error, you should receive an HTTP 4XX response back with an appropriate error message.
To Delete a User
37. Click the blue Execute button.
38. If successful, you should receive an HTTP 200 response back with JSON data. If there was a form error, you should receive an HTTP 4XX response back with an appropriate error message.
39. Copy the key value
42. Fill out the requested field, ie: key.
44. If successful, you should receive an HTTP 200 response back with JSON data. If there was a form error, you should receive an HTTP 4XX response back with an appropriate error message.