Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 1.28 KB

postman.md

File metadata and controls

24 lines (19 loc) · 1.28 KB

Accessing and testing the Collaborate application with Postman

The application is available on https://col.localhost. You can also access to the OpenAPI of your local instance

A Postman collection can be imported to test the API: Collaborate.postman_collection.json . The most relevant requests are defined under dApp/Collaborate API and dApp/Keycloak API. Other collection sub-folders are used during development to make developers able to interact with underlying components.

Import also the col.localhost.postman_environment.json environment

JWT

The API entry-points are restricted to specific roles ( cf. Roles and permissions) and so a JWT has to be used as a Bearer Token. You can get a token by calling the Security API: use the predefined Postman request Collaborate/Keycloak API/Get Token - Sam - DSP Admin. Postman will automatically keep the JWT and reuse it in further predefined requests. Postman preview