diff --git a/app/library/App/Resources/GaResource.php b/app/library/App/Resources/GaResource.php index 79be6a4..7a35478 100644 --- a/app/library/App/Resources/GaResource.php +++ b/app/library/App/Resources/GaResource.php @@ -31,12 +31,14 @@ class GaResource extends ApiResource { ->allow(AclRoles::USER) ->description('Returns data from Google Analytics Api') ->exampleResponse([ - 'https://developers.google.com/analytics/devguides/reporting/core/dimsmets', - 'lifehack' => 'for example request data', - 'start' => '30daysAgo / 2015-03-01', - 'end' => 'today', - 'metric' => 'user,sessions', - 'dimension' => 'source, browser' + 'example' => [ + 'lifehack' => 'for example request data', + 'start' => '30daysAgo / 2015-03-01', + 'end' => 'today', + 'metric' => 'user,sessions', + 'dimension' => 'source, browser' + ], + 'full_docs' => 'https://developers.google.com/analytics/devguides/reporting/core/dimsmets', ]) ) ; -- libgit2 0.21.4