Skip to main content
Version: 1.0.0

Messages distribution

Information

Each status contains the following fields:

  • count: The number of invoices currently in this status.
  • value: The human-readable name of the status.
This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

GET/v1/stats/{network}/tagsDistribution/{interval}

Path parameters
networkstring - Required

intervalstring - Required



Request

GET /v1/stats/{network}/tagsDistribution/{interval}


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

Response

Status: 200 - application/json

Description: Distribution of status

Schema:

  • count: integer
  • value: 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.