diff --git a/app/library/App/Resources/GaResource.php b/app/library/App/Resources/GaResource.php index c32f113..88423b7 100644 --- a/app/library/App/Resources/GaResource.php +++ b/app/library/App/Resources/GaResource.php @@ -31,6 +31,11 @@ class GaResource extends ApiResource { ->endpoint(ApiEndpoint::get('/', 'getAction') ->allow(AclRoles::USER) ->description('Returns data from Google Analytics Api') + ->exampleResponse([ + 'start' => '30daysAgo', + 'end' => 'today', + 'metric' => 'user,sessions' + ]) ) ; -- libgit2 0.21.4