List support incidents/tickets
GET/company/issues/
Retrieves a paginated list of all incidents registered by the company. Allows filtering by search term and controlling pagination.
Use Cases:
- View the incident history
- Search for specific incidents by text
- Implement pagination in the frontend
Related Logic: ctrl.get() in routes.js
Request
Responses
- 200
- 401
- 404
Paginated list of incidents. Includes pagination metadata and an array of incidents.
Response Headers
Unauthorized. The JWT token is invalid or has expired. Include a valid token in the Authorization header.
Response Headers
Company not found.
Verify that the JWT token corresponds to a registered company.