Commit e367fb507d7e5d7336bbab3c9295c0ec961cafb7
1 parent
284a9610
dynamic dateRange
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
app/library/App/Resources/GaResource.php
... | ... | @@ -31,6 +31,11 @@ class GaResource extends ApiResource { |
31 | 31 | ->endpoint(ApiEndpoint::get('/', 'getAction') |
32 | 32 | ->allow(AclRoles::USER) |
33 | 33 | ->description('Returns data from Google Analytics Api') |
34 | + ->exampleResponse([ | |
35 | + 'start' => '30daysAgo', | |
36 | + 'end' => 'today', | |
37 | + 'metric' => 'user,sessions' | |
38 | + ]) | |
34 | 39 | ) |
35 | 40 | ; |
36 | 41 | ... | ... |