NAME

Dezi::Admin::API::Stats - Dezi administration API to Dezi::Stats data

SYNOPSIS

/api/stats?q=foo&sort=name&dir=asc&limit=10&offset=0

DESCRIPTION

Dezi::Admin::API::Stats isa Plack::Component.

METHODS

get_list

Returns Dezi::Admin::API::Response object representing metadata for one or more statistics matching GET params.

get_stat

Returns Dezi::Admin::API::Response object for a single statistic.

get_terms

Returns Dezi::Admin::API::Response object representing the top N search terms.

call( env )

Required method that dispatches request.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-dezi-admin at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-Admin. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Dezi::Admin

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2013 Peter Karman.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.