diff --git a/app/library/App/Resources/GaResource.php b/app/library/App/Resources/GaResource.php index 474c250..90215c2 100644 --- a/app/library/App/Resources/GaResource.php +++ b/app/library/App/Resources/GaResource.php @@ -28,8 +28,9 @@ class GaResource extends ApiResource { ->handler(GaController::class) ->endpoint(ApiEndpoint::factory('', HttpMethods::GET, 'getAction') - ->allow(AclRoles::AUTHORIZED) + ->name('Ga report') ->description('Возвращает данные с Google Core Reporting Api. https://developers.google.com/analytics/devguides/reporting/core/dimsmets') + ->allow(AclRoles::AUTHORIZED) ->exampleResponse([ "name" => "rukzachok.com.ua", "(Other)" => "646", @@ -62,9 +63,10 @@ class GaResource extends ApiResource { ) ->endpoint(ApiEndpoint::factory('/check', HttpMethods::POST, 'checkAction') + ->name('Check') + ->description('Проверяет наличие доступа к проэкту') ->allow(AclRoles::AUTHORIZED) ->expectsJsonData() - ->description('Проверяет наличие доступа к проэкту') ->exampleResponse([ 'view_id' => 'integer(id представления проэкта с гугл аналитики)', 'status' => 'enum(success|error)' -- libgit2 0.21.4