public
|
postStats(array $params = []): array
By a stats endpoint, you are able to collect metrics for the plugin within the interval.
By a stats endpoint, you are able to collect metrics for the plugin within the interval.
$params['format'] = (string) A short version of the Accept header, e.g. json, yaml.
$params['sanitize'] = (boolean) Specifies whether to escape special characters in the results (Default = true)
$params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false)
$params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true)
$params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
$params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
$params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-".
Parameters
$params |
Associative array of parameters
|
|
#
|