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