hutschen / mv-tool-api

Measure tracking tool for the implementation of information security measures in projects
https://mv-tool.readthedocs.io
GNU Affero General Public License v3.0
2 stars 0 forks source link

Implement Web-API Interface to Query Users #158

Closed hutschen closed 1 year ago

hutschen commented 1 year ago

It is necessary for the application to implement a Web-API interface for user queries. User data should not be stored locally but should be fetched from external sources such as the connected ticketing system JIRA.

GET /api/users

Response (List or Page):
[
    {
      "id": "string",
      "display_name": "string",
      "email_address": "string"
    }
 ]

This example shows a possible GET request for querying users and the corresponding response in JSON format. The API should either return a list or a page of users, using the same query parameters as other Web-API endpoints in the application for pagination and filtering. These parameters are not explicitly described in this ticket as they follow the existing standard in the Web API.