NAME

CPAN::Testers::API::Controller::Summary - API for test report summary data

VERSION

version 0.025

DESCRIPTION

This API accesses the test report summaries, which are a few fields picked out of the larger test report data structure that are useful for reporting.

METHODS

summary

    ### Requests:
    GET /v3/summary/My-Dist
    GET /v3/summary/My-Dist/1.000

    ### Response:
    200 OK
    Content-Type: application/json

    [
        {
            "guid": "00000000-0000-0000-0000-0000000000001",
            "id": 1,
            "grade": "pass",
            "dist": "My-Dist",
            "version": "1.000",
            "tester": "doug@example.com (Doug Bell)",
            "platform": "darwin",
            "perl": "5.22.0",
            "osname": "darwin",
            "osvers": "10.8.0"
        }
    ]

Get test report summary data for the given distribution and version.

Report summary data contains a select set of fields from the full test report. These fields are the most useful ones for building aggregate reporting and graphs for dashboards.

SEE ALSO

CPAN::Testers::Schema::Result::Stats
Mojolicious::Controller

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Doug Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.