123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930 |
- <?php
- /*
- * Copyright 2014 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-
- /**
- * Service definition for Blogger (v3).
- *
- * <p>
- * API for access to the data within Blogger.</p>
- *
- * <p>
- * For more information about this service, see the API
- * <a href="https://developers.google.com/blogger/docs/3.0/getting_started" target="_blank">Documentation</a>
- * </p>
- *
- * @author Google, Inc.
- */
- class Google_Service_Blogger extends Google_Service
- {
- /** Manage your Blogger account. */
- const BLOGGER =
- "https://www.googleapis.com/auth/blogger";
- /** View your Blogger account. */
- const BLOGGER_READONLY =
- "https://www.googleapis.com/auth/blogger.readonly";
-
- public $blogUserInfos;
- public $blogs;
- public $comments;
- public $pageViews;
- public $pages;
- public $postUserInfos;
- public $posts;
- public $users;
-
- /**
- * Constructs the internal representation of the Blogger service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->rootUrl = 'https://www.googleapis.com/';
- $this->servicePath = 'blogger/v3/';
- $this->version = 'v3';
- $this->serviceName = 'blogger';
-
- $this->blogUserInfos = new Google_Service_Blogger_Resource_BlogUserInfos(
- $this,
- $this->serviceName,
- 'blogUserInfos',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}/blogs/{blogId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxPosts' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->blogs = new Google_Service_Blogger_Resource_Blogs(
- $this,
- $this->serviceName,
- 'blogs',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'blogs/{blogId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxPosts' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getByUrl' => array(
- 'path' => 'blogs/byurl',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'url' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listByUser' => array(
- 'path' => 'users/{userId}/blogs',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchUserInfo' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->comments = new Google_Service_Blogger_Resource_Comments(
- $this,
- $this->serviceName,
- 'comments',
- array(
- 'methods' => array(
- 'approve' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'delete' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listByBlog' => array(
- 'path' => 'blogs/{blogId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- ),
- ),'markAsSpam' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'removeContent' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->pageViews = new Google_Service_Blogger_Resource_PageViews(
- $this,
- $this->serviceName,
- 'pageViews',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'blogs/{blogId}/pageviews',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'range' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->pages = new Google_Service_Blogger_Resource_Pages(
- $this,
- $this->serviceName,
- 'pages',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'insert' => array(
- 'path' => 'blogs/{blogId}/pages',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'isDraft' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/pages',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'publish' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'revert' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}/revert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'update' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- $this->postUserInfos = new Google_Service_Blogger_Resource_PostUserInfos(
- $this,
- $this->serviceName,
- 'postUserInfos',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'list' => array(
- 'path' => 'users/{userId}/blogs/{blogId}/posts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->posts = new Google_Service_Blogger_Resource_Posts(
- $this,
- $this->serviceName,
- 'posts',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getByPath' => array(
- 'path' => 'blogs/{blogId}/posts/bypath',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'path' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'insert' => array(
- 'path' => 'blogs/{blogId}/posts',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'isDraft' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/posts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'publish' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'publishDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'revert' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/revert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'search' => array(
- 'path' => 'blogs/{blogId}/posts/search',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'q' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'update' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- $this->users = new Google_Service_Blogger_Resource_Users(
- $this,
- $this->serviceName,
- 'users',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- }
- }
|