BenchmarkAnything::Storage::Frontend::HTTP::Controller::Search - BenchmarkAnything - REST API - data query
Returns a hello answer. Mostly for self and unit testing.
Parameters:
value_id (INTEGER)
If a single integer value is provided the complete data point for that ID is returned.
JSON request body
If a JSON request is provided it is interpreted as query according to BenchmarkAnything::Storage::Backend::SQL::search().
Returns a list of available benchmark metric NAMEs.
pattern (STRING)
If a pattern is provided it restricts the results. The pattern is used as SQL LIKE pattern, i.e., it allows to use % as wildcards.
%
Returns a list of additional key names.
Returns a hash with info about the storage, like how many data points, how many metrics, how many additional keys, are stored.
Parameters: none
Steffen Schwigon <ss5@renormalist.net>
This software is copyright (c) 2018 by Steffen Schwigon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install BenchmarkAnything::Storage::Frontend::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BenchmarkAnything::Storage::Frontend::HTTP
CPAN shell
perl -MCPAN -e shell install BenchmarkAnything::Storage::Frontend::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.