Skip to main content
Version: Next

Last errors

Information

This API allow you to retrieve last errors

This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

GET/v1/stats/{network}/lastErrors

Path parameters
networkstring - Required



Request

GET /v1/stats/{network}/lastErrors


curl -X 'GET' https://api.ppd.iopole.fr//v1/stats/9ca2d4fa-0708-4cf5-85ca-cb2cf2eced52/lastErrors'
-H 'accept: */*'
-H 'Authorization: ${token}'

Response

Status: 200 - application/json

Description: List of errors

Schema:

  • id: string
  • from_user: string
  • to_user: string
  • message_state: string
  • create_date: string

Status: 401

Description: Unauthorized - Authentication is required and has failed or has not yet been provided.

Status: 403

Description: Forbidden - The server understood the request, but it refuses to authorize it. Note: This endpoint requires an admin account.