Dezi::Server::About - Dezi server introspection metadata
my $resp = Dezi::Server::About->new( require_root => 1, # request must be for / server => $server, request => $plack_request, search_path => $search_path, index_path => $index_path, commit_path => $commit_path, rollback_path => $rollback_path, config => $dezi_config, version => $VERSION, );
Dezi::Server::About allows a Dezi::Server to introspect, and returns an object describing the server.
The About response is what you get, in JSON format, when you issue a GET request to the Dezi root path. It allows client applications to find out details about the server, including what methods are available and which URI paths should be used for searching and indexing.
This class is used internally by Dezi::Server.
See the SYNOPSIS for a description of %args.
Returns an array ref suitable for use as a Plack::Response.
<karman at cpan.org>
Please report any bugs or feature requests to
bug-dezi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
#dezisearch at freenode
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Copyright 2012-2018 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.