tonapi_service

Get project TonAPI stats

To filter the stats, are expected start and end query parameters in unix format, where end is the day closer to the current one, for example start=1675958400&end=1676908800,

get/api/v1/services/tonapi/stats

Query parameters

project_idinteger required

Project ID

startinteger required

Start date

endinteger required

End date

stepinteger

Step

detailedboolean
Example:true

Show more detailed information

dashboard'tonapi_token' | 'tonapi_webhook' | 'liteproxy_requests' | 'liteproxy_connections'

Response

Project TonApi stats

{"stackTrail":"components:responses:ProjectTonApiStats:content:application/json:schema:properties:stats","oasType":"schema","type":"unknown","example":{}}

Example response

{
  "stats": {}
}

Changes

Changed in 2 of the 50 revisions of this API.3

    • added the new enum value liteproxy_connections to the query request parameter dashboard

      request-parameter-enum-value-added

    • added the new enum value liteproxy_requests to the query request parameter dashboard

      request-parameter-enum-value-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter dashboard

      new-optional-request-parameter