{ "opencollection": "1.0.0", "info": { "name": "Control API v1 apps Stats API", "version": "1.0.32" }, "items": [ { "info": { "name": "Stats", "type": "folder" }, "items": [ { "info": { "name": "Retrieve usage statistics for an application", "type": "http" }, "http": { "method": "GET", "url": "https://control.ably.net/v1/stats", "headers": [ { "name": "X-Ably-Version", "value": "" } ], "params": [ { "name": "format", "value": "", "type": "query", "description": "The response format you would like" }, { "name": "start", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "end", "value": "", "type": "query" }, { "name": "direction", "value": "", "type": "query" }, { "name": "unit", "value": "", "type": "query", "description": "Specifies the unit of aggregation in the returned results." } ] }, "docs": "The Ably system can be queried to obtain usage statistics for a given application, and results are provided aggregated across all channels in use in the application in the specified period. Stats may be used to track usage against account quotas." }, { "info": { "name": "Get the service time", "type": "http" }, "http": { "method": "GET", "url": "https://control.ably.net/v1/time", "headers": [ { "name": "X-Ably-Version", "value": "" } ], "params": [ { "name": "format", "value": "", "type": "query", "description": "The response format you would like" } ] }, "docs": "This returns the service time in milliseconds since the epoch." } ] } ], "bundled": true }