name('Google Analytics') ->expectsJsonData() //->transformer(ModelTransformer::class) ->itemKey('ap') ->collectionKey('ap') ->deny(AclRoles::UNAUTHORIZED) ->handler(GaController::class) ->endpoint(ApiEndpoint::get('', 'testAction') ->allow(AclRoles::USER) ->description('Returns data from AllPosition Api.') ) ; } }