v1

latestOpenAPI 3.0.1License2026-07-17467229.7 KB
Internal Statistic

Get Internal Statistic

Get Internal Statistic.


Security: Bearer Auth

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer {{your-access-token}}

Security: OAuth 2.0

Scopes:

  • jans_stat - required scope
get/restv1/internal/stat

Query parameters

monthstring

specify month in YYYYMM format (e.g. January 2022 is 202201). It's optional if start-month and end-month parameters are specified. Otherwise it's required.

start-monthstring

start month for range request. Specify month in YYYYMM format (e.g. January 2022 is 202201). It's optional if 'month' parameter is specified. Otherwise it's required.

end-monthstring

end month for range request. Specify month in YYYYMM format (e.g. January 2022 is 202201). It's optional if 'month' parameter is specified. Otherwise it's required.

formatstring

if no value is specified than json value is returns. Possible explicit values are openmetrics (open metrics format) and jsonmonth (all data are flattened for given month)

Headers

Authorizationstring

Expects valid access token with appropriate prefix. Example 'Bearer {{your-access-token}}'. Token must have jans_stat scope.

Response

Successful response with internal statistics

responseobject