From e495b985868948d126e46c2a7f5808e3a8506453 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2017 18:14:01 +0200 Subject: [PATCH] docs --- app/library/App/Resources/GaResource.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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