Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: discovery/googleapis/blogger__v3.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/blogger": {
6 "description": "Manage your Blogger account"
7 },
8 "https://www.googleapis.com/auth/blogger.readonly": {
9 "description": "View your Blogger account"
10 }
11 }
12 }
13 },
14 "basePath": "/blogger/v3/",
15 "baseUrl": "https://www.googleapis.com/blogger/v3/",
16 "batchPath": "batch",
17 "description": "API for access to the data within Blogger.",
18 "discoveryVersion": "v1",
19 "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting _started",
20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/I7tzOwxkXmchrTG5SGJOMVoYTBw\"",
21 "icons": {
22 "x16": "https://www.google.com/images/icons/product/blogger-16.png",
23 "x32": "https://www.google.com/images/icons/product/blogger-32.png"
24 },
25 "id": "blogger:v3",
26 "kind": "discovery#restDescription",
27 "labels": [
28 "limited_availability"
29 ],
30 "name": "blogger",
31 "ownerDomain": "google.com",
32 "ownerName": "Google",
33 "parameters": {
34 "alt": {
35 "default": "json",
36 "description": "Data format for the response.",
37 "enum": [
38 "json"
39 ],
40 "enumDescriptions": [
41 "Responses with Content-Type of application/json"
42 ],
43 "location": "query",
44 "type": "string"
45 },
46 "fields": {
47 "description": "Selector specifying which fields to include in a par tial response.",
48 "location": "query",
49 "type": "string"
50 },
51 "key": {
52 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
53 "location": "query",
54 "type": "string"
55 },
56 "oauth_token": {
57 "description": "OAuth 2.0 token for the current user.",
58 "location": "query",
59 "type": "string"
60 },
61 "prettyPrint": {
62 "default": "true",
63 "description": "Returns response with indentations and line breaks." ,
64 "location": "query",
65 "type": "boolean"
66 },
67 "quotaUser": {
68 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
69 "location": "query",
70 "type": "string"
71 },
72 "userIp": {
73 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
74 "location": "query",
75 "type": "string"
76 }
77 },
78 "protocol": "rest",
79 "resources": {
80 "blogUserInfos": {
81 "methods": {
82 "get": {
83 "description": "Gets one blog and user info pair by blogId a nd userId.",
84 "httpMethod": "GET",
85 "id": "blogger.blogUserInfos.get",
86 "parameterOrder": [
87 "userId",
88 "blogId"
89 ],
90 "parameters": {
91 "blogId": {
92 "description": "The ID of the blog to get.",
93 "location": "path",
94 "required": true,
95 "type": "string"
96 },
97 "maxPosts": {
98 "description": "Maximum number of posts to pull back with the blog.",
99 "format": "uint32",
100 "location": "query",
101 "type": "integer"
102 },
103 "userId": {
104 "description": "ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identi fier.",
105 "location": "path",
106 "required": true,
107 "type": "string"
108 }
109 },
110 "path": "users/{userId}/blogs/{blogId}",
111 "response": {
112 "$ref": "BlogUserInfo"
113 },
114 "scopes": [
115 "https://www.googleapis.com/auth/blogger",
116 "https://www.googleapis.com/auth/blogger.readonly"
117 ]
118 }
119 }
120 },
121 "blogs": {
122 "methods": {
123 "get": {
124 "description": "Gets one blog by ID.",
125 "httpMethod": "GET",
126 "id": "blogger.blogs.get",
127 "parameterOrder": [
128 "blogId"
129 ],
130 "parameters": {
131 "blogId": {
132 "description": "The ID of the blog to get.",
133 "location": "path",
134 "required": true,
135 "type": "string"
136 },
137 "maxPosts": {
138 "description": "Maximum number of posts to pull back with the blog.",
139 "format": "uint32",
140 "location": "query",
141 "type": "integer"
142 },
143 "view": {
144 "description": "Access level with which to view the blog. Note that some fields require elevated access.",
145 "enum": [
146 "ADMIN",
147 "AUTHOR",
148 "READER"
149 ],
150 "enumDescriptions": [
151 "Admin level detail.",
152 "Author level detail.",
153 "Reader level detail."
154 ],
155 "location": "query",
156 "type": "string"
157 }
158 },
159 "path": "blogs/{blogId}",
160 "response": {
161 "$ref": "Blog"
162 },
163 "scopes": [
164 "https://www.googleapis.com/auth/blogger",
165 "https://www.googleapis.com/auth/blogger.readonly"
166 ]
167 },
168 "getByUrl": {
169 "description": "Retrieve a Blog by URL.",
170 "httpMethod": "GET",
171 "id": "blogger.blogs.getByUrl",
172 "parameterOrder": [
173 "url"
174 ],
175 "parameters": {
176 "url": {
177 "description": "The URL of the blog to retrieve.",
178 "location": "query",
179 "required": true,
180 "type": "string"
181 },
182 "view": {
183 "description": "Access level with which to view the blog. Note that some fields require elevated access.",
184 "enum": [
185 "ADMIN",
186 "AUTHOR",
187 "READER"
188 ],
189 "enumDescriptions": [
190 "Admin level detail.",
191 "Author level detail.",
192 "Reader level detail."
193 ],
194 "location": "query",
195 "type": "string"
196 }
197 },
198 "path": "blogs/byurl",
199 "response": {
200 "$ref": "Blog"
201 },
202 "scopes": [
203 "https://www.googleapis.com/auth/blogger",
204 "https://www.googleapis.com/auth/blogger.readonly"
205 ]
206 },
207 "listByUser": {
208 "description": "Retrieves a list of blogs, possibly filtered .",
209 "httpMethod": "GET",
210 "id": "blogger.blogs.listByUser",
211 "parameterOrder": [
212 "userId"
213 ],
214 "parameters": {
215 "fetchUserInfo": {
216 "description": "Whether the response is a list of bl ogs with per-user information instead of just blogs.",
217 "location": "query",
218 "type": "boolean"
219 },
220 "role": {
221 "description": "User access types for blogs to inclu de in the results, e.g. AUTHOR will return blogs where the user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.",
222 "enum": [
223 "ADMIN",
224 "AUTHOR",
225 "READER"
226 ],
227 "enumDescriptions": [
228 "Admin role - Blogs where the user has Admin lev el access.",
229 "Author role - Blogs where the user has Author l evel access.",
230 "Reader role - Blogs where the user has Reader l evel access (to a private blog)."
231 ],
232 "location": "query",
233 "repeated": true,
234 "type": "string"
235 },
236 "status": {
237 "default": "LIVE",
238 "description": "Blog statuses to include in the resu lt (default: Live blogs only). Note that ADMIN access is required to view delete d blogs.",
239 "enum": [
240 "DELETED",
241 "LIVE"
242 ],
243 "enumDescriptions": [
244 "Blog has been deleted by an administrator.",
245 "Blog is currently live."
246 ],
247 "location": "query",
248 "repeated": true,
249 "type": "string"
250 },
251 "userId": {
252 "description": "ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identi fier.",
253 "location": "path",
254 "required": true,
255 "type": "string"
256 },
257 "view": {
258 "description": "Access level with which to view the blogs. Note that some fields require elevated access.",
259 "enum": [
260 "ADMIN",
261 "AUTHOR",
262 "READER"
263 ],
264 "enumDescriptions": [
265 "Admin level detail.",
266 "Author level detail.",
267 "Reader level detail."
268 ],
269 "location": "query",
270 "type": "string"
271 }
272 },
273 "path": "users/{userId}/blogs",
274 "response": {
275 "$ref": "BlogList"
276 },
277 "scopes": [
278 "https://www.googleapis.com/auth/blogger",
279 "https://www.googleapis.com/auth/blogger.readonly"
280 ]
281 }
282 }
283 },
284 "comments": {
285 "methods": {
286 "approve": {
287 "description": "Marks a comment as not spam.",
288 "httpMethod": "POST",
289 "id": "blogger.comments.approve",
290 "parameterOrder": [
291 "blogId",
292 "postId",
293 "commentId"
294 ],
295 "parameters": {
296 "blogId": {
297 "description": "The ID of the Blog.",
298 "location": "path",
299 "required": true,
300 "type": "string"
301 },
302 "commentId": {
303 "description": "The ID of the comment to mark as not spam.",
304 "location": "path",
305 "required": true,
306 "type": "string"
307 },
308 "postId": {
309 "description": "The ID of the Post.",
310 "location": "path",
311 "required": true,
312 "type": "string"
313 }
314 },
315 "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}/ approve",
316 "response": {
317 "$ref": "Comment"
318 },
319 "scopes": [
320 "https://www.googleapis.com/auth/blogger"
321 ]
322 },
323 "delete": {
324 "description": "Delete a comment by ID.",
325 "httpMethod": "DELETE",
326 "id": "blogger.comments.delete",
327 "parameterOrder": [
328 "blogId",
329 "postId",
330 "commentId"
331 ],
332 "parameters": {
333 "blogId": {
334 "description": "The ID of the Blog.",
335 "location": "path",
336 "required": true,
337 "type": "string"
338 },
339 "commentId": {
340 "description": "The ID of the comment to delete.",
341 "location": "path",
342 "required": true,
343 "type": "string"
344 },
345 "postId": {
346 "description": "The ID of the Post.",
347 "location": "path",
348 "required": true,
349 "type": "string"
350 }
351 },
352 "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}" ,
353 "scopes": [
354 "https://www.googleapis.com/auth/blogger"
355 ]
356 },
357 "get": {
358 "description": "Gets one comment by ID.",
359 "httpMethod": "GET",
360 "id": "blogger.comments.get",
361 "parameterOrder": [
362 "blogId",
363 "postId",
364 "commentId"
365 ],
366 "parameters": {
367 "blogId": {
368 "description": "ID of the blog to containing the com ment.",
369 "location": "path",
370 "required": true,
371 "type": "string"
372 },
373 "commentId": {
374 "description": "The ID of the comment to get.",
375 "location": "path",
376 "required": true,
377 "type": "string"
378 },
379 "postId": {
380 "description": "ID of the post to fetch posts from." ,
381 "location": "path",
382 "required": true,
383 "type": "string"
384 },
385 "view": {
386 "description": "Access level for the requested comme nt (default: READER). Note that some comments will require elevated permissions, for example comments where the parent posts which is in a draft state, or comme nts that are pending moderation.",
387 "enum": [
388 "ADMIN",
389 "AUTHOR",
390 "READER"
391 ],
392 "enumDescriptions": [
393 "Admin level detail",
394 "Author level detail",
395 "Admin level detail"
396 ],
397 "location": "query",
398 "type": "string"
399 }
400 },
401 "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}" ,
402 "response": {
403 "$ref": "Comment"
404 },
405 "scopes": [
406 "https://www.googleapis.com/auth/blogger",
407 "https://www.googleapis.com/auth/blogger.readonly"
408 ]
409 },
410 "list": {
411 "description": "Retrieves the comments for a post, possibly filtered.",
412 "httpMethod": "GET",
413 "id": "blogger.comments.list",
414 "parameterOrder": [
415 "blogId",
416 "postId"
417 ],
418 "parameters": {
419 "blogId": {
420 "description": "ID of the blog to fetch comments fro m.",
421 "location": "path",
422 "required": true,
423 "type": "string"
424 },
425 "endDate": {
426 "description": "Latest date of comment to fetch, a d ate-time with RFC 3339 formatting.",
427 "format": "date-time",
428 "location": "query",
429 "type": "string"
430 },
431 "fetchBodies": {
432 "description": "Whether the body content of the comm ents is included.",
433 "location": "query",
434 "type": "boolean"
435 },
436 "maxResults": {
437 "description": "Maximum number of comments to includ e in the result.",
438 "format": "uint32",
439 "location": "query",
440 "type": "integer"
441 },
442 "pageToken": {
443 "description": "Continuation token if request is pag ed.",
444 "location": "query",
445 "type": "string"
446 },
447 "postId": {
448 "description": "ID of the post to fetch posts from." ,
449 "location": "path",
450 "required": true,
451 "type": "string"
452 },
453 "startDate": {
454 "description": "Earliest date of comment to fetch, a date-time with RFC 3339 formatting.",
455 "format": "date-time",
456 "location": "query",
457 "type": "string"
458 },
459 "status": {
460 "enum": [
461 "emptied",
462 "live",
463 "pending",
464 "spam"
465 ],
466 "enumDescriptions": [
467 "Comments that have had their content removed",
468 "Comments that are publicly visible",
469 "Comments that are awaiting administrator approv al",
470 "Comments marked as spam by the administrator"
471 ],
472 "location": "query",
473 "repeated": true,
474 "type": "string"
475 },
476 "view": {
477 "description": "Access level with which to view the returned result. Note that some fields require elevated access.",
478 "enum": [
479 "ADMIN",
480 "AUTHOR",
481 "READER"
482 ],
483 "enumDescriptions": [
484 "Admin level detail",
485 "Author level detail",
486 "Reader level detail"
487 ],
488 "location": "query",
489 "type": "string"
490 }
491 },
492 "path": "blogs/{blogId}/posts/{postId}/comments",
493 "response": {
494 "$ref": "CommentList"
495 },
496 "scopes": [
497 "https://www.googleapis.com/auth/blogger",
498 "https://www.googleapis.com/auth/blogger.readonly"
499 ]
500 },
501 "listByBlog": {
502 "description": "Retrieves the comments for a blog, across al l posts, possibly filtered.",
503 "httpMethod": "GET",
504 "id": "blogger.comments.listByBlog",
505 "parameterOrder": [
506 "blogId"
507 ],
508 "parameters": {
509 "blogId": {
510 "description": "ID of the blog to fetch comments fro m.",
511 "location": "path",
512 "required": true,
513 "type": "string"
514 },
515 "endDate": {
516 "description": "Latest date of comment to fetch, a d ate-time with RFC 3339 formatting.",
517 "format": "date-time",
518 "location": "query",
519 "type": "string"
520 },
521 "fetchBodies": {
522 "description": "Whether the body content of the comm ents is included.",
523 "location": "query",
524 "type": "boolean"
525 },
526 "maxResults": {
527 "description": "Maximum number of comments to includ e in the result.",
528 "format": "uint32",
529 "location": "query",
530 "type": "integer"
531 },
532 "pageToken": {
533 "description": "Continuation token if request is pag ed.",
534 "location": "query",
535 "type": "string"
536 },
537 "startDate": {
538 "description": "Earliest date of comment to fetch, a date-time with RFC 3339 formatting.",
539 "format": "date-time",
540 "location": "query",
541 "type": "string"
542 }
543 },
544 "path": "blogs/{blogId}/comments",
545 "response": {
546 "$ref": "CommentList"
547 },
548 "scopes": [
549 "https://www.googleapis.com/auth/blogger",
550 "https://www.googleapis.com/auth/blogger.readonly"
551 ]
552 },
553 "markAsSpam": {
554 "description": "Marks a comment as spam.",
555 "httpMethod": "POST",
556 "id": "blogger.comments.markAsSpam",
557 "parameterOrder": [
558 "blogId",
559 "postId",
560 "commentId"
561 ],
562 "parameters": {
563 "blogId": {
564 "description": "The ID of the Blog.",
565 "location": "path",
566 "required": true,
567 "type": "string"
568 },
569 "commentId": {
570 "description": "The ID of the comment to mark as spa m.",
571 "location": "path",
572 "required": true,
573 "type": "string"
574 },
575 "postId": {
576 "description": "The ID of the Post.",
577 "location": "path",
578 "required": true,
579 "type": "string"
580 }
581 },
582 "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}/ spam",
583 "response": {
584 "$ref": "Comment"
585 },
586 "scopes": [
587 "https://www.googleapis.com/auth/blogger"
588 ]
589 },
590 "removeContent": {
591 "description": "Removes the content of a comment.",
592 "httpMethod": "POST",
593 "id": "blogger.comments.removeContent",
594 "parameterOrder": [
595 "blogId",
596 "postId",
597 "commentId"
598 ],
599 "parameters": {
600 "blogId": {
601 "description": "The ID of the Blog.",
602 "location": "path",
603 "required": true,
604 "type": "string"
605 },
606 "commentId": {
607 "description": "The ID of the comment to delete cont ent from.",
608 "location": "path",
609 "required": true,
610 "type": "string"
611 },
612 "postId": {
613 "description": "The ID of the Post.",
614 "location": "path",
615 "required": true,
616 "type": "string"
617 }
618 },
619 "path": "blogs/{blogId}/posts/{postId}/comments/{commentId}/ removecontent",
620 "response": {
621 "$ref": "Comment"
622 },
623 "scopes": [
624 "https://www.googleapis.com/auth/blogger"
625 ]
626 }
627 }
628 },
629 "pageViews": {
630 "methods": {
631 "get": {
632 "description": "Retrieve pageview stats for a Blog.",
633 "httpMethod": "GET",
634 "id": "blogger.pageViews.get",
635 "parameterOrder": [
636 "blogId"
637 ],
638 "parameters": {
639 "blogId": {
640 "description": "The ID of the blog to get.",
641 "location": "path",
642 "required": true,
643 "type": "string"
644 },
645 "range": {
646 "enum": [
647 "30DAYS",
648 "7DAYS",
649 "all"
650 ],
651 "enumDescriptions": [
652 "Page view counts from the last thirty days.",
653 "Page view counts from the last seven days.",
654 "Total page view counts from all time."
655 ],
656 "location": "query",
657 "repeated": true,
658 "type": "string"
659 }
660 },
661 "path": "blogs/{blogId}/pageviews",
662 "response": {
663 "$ref": "Pageviews"
664 },
665 "scopes": [
666 "https://www.googleapis.com/auth/blogger"
667 ]
668 }
669 }
670 },
671 "pages": {
672 "methods": {
673 "delete": {
674 "description": "Delete a page by ID.",
675 "httpMethod": "DELETE",
676 "id": "blogger.pages.delete",
677 "parameterOrder": [
678 "blogId",
679 "pageId"
680 ],
681 "parameters": {
682 "blogId": {
683 "description": "The ID of the Blog.",
684 "location": "path",
685 "required": true,
686 "type": "string"
687 },
688 "pageId": {
689 "description": "The ID of the Page.",
690 "location": "path",
691 "required": true,
692 "type": "string"
693 }
694 },
695 "path": "blogs/{blogId}/pages/{pageId}",
696 "scopes": [
697 "https://www.googleapis.com/auth/blogger"
698 ]
699 },
700 "get": {
701 "description": "Gets one blog page by ID.",
702 "httpMethod": "GET",
703 "id": "blogger.pages.get",
704 "parameterOrder": [
705 "blogId",
706 "pageId"
707 ],
708 "parameters": {
709 "blogId": {
710 "description": "ID of the blog containing the page." ,
711 "location": "path",
712 "required": true,
713 "type": "string"
714 },
715 "pageId": {
716 "description": "The ID of the page to get.",
717 "location": "path",
718 "required": true,
719 "type": "string"
720 },
721 "view": {
722 "enum": [
723 "ADMIN",
724 "AUTHOR",
725 "READER"
726 ],
727 "enumDescriptions": [
728 "Admin level detail",
729 "Author level detail",
730 "Reader level detail"
731 ],
732 "location": "query",
733 "type": "string"
734 }
735 },
736 "path": "blogs/{blogId}/pages/{pageId}",
737 "response": {
738 "$ref": "Page"
739 },
740 "scopes": [
741 "https://www.googleapis.com/auth/blogger",
742 "https://www.googleapis.com/auth/blogger.readonly"
743 ]
744 },
745 "insert": {
746 "description": "Add a page.",
747 "httpMethod": "POST",
748 "id": "blogger.pages.insert",
749 "parameterOrder": [
750 "blogId"
751 ],
752 "parameters": {
753 "blogId": {
754 "description": "ID of the blog to add the page to.",
755 "location": "path",
756 "required": true,
757 "type": "string"
758 },
759 "isDraft": {
760 "description": "Whether to create the page as a draf t (default: false).",
761 "location": "query",
762 "type": "boolean"
763 }
764 },
765 "path": "blogs/{blogId}/pages",
766 "request": {
767 "$ref": "Page"
768 },
769 "response": {
770 "$ref": "Page"
771 },
772 "scopes": [
773 "https://www.googleapis.com/auth/blogger"
774 ]
775 },
776 "list": {
777 "description": "Retrieves the pages for a blog, optionally i ncluding non-LIVE statuses.",
778 "httpMethod": "GET",
779 "id": "blogger.pages.list",
780 "parameterOrder": [
781 "blogId"
782 ],
783 "parameters": {
784 "blogId": {
785 "description": "ID of the blog to fetch pages from." ,
786 "location": "path",
787 "required": true,
788 "type": "string"
789 },
790 "fetchBodies": {
791 "description": "Whether to retrieve the Page bodies. ",
792 "location": "query",
793 "type": "boolean"
794 },
795 "status": {
796 "enum": [
797 "draft",
798 "live"
799 ],
800 "enumDescriptions": [
801 "Draft (unpublished) Pages",
802 "Pages that are publicly visible"
803 ],
804 "location": "query",
805 "repeated": true,
806 "type": "string"
807 },
808 "view": {
809 "description": "Access level with which to view the returned result. Note that some fields require elevated access.",
810 "enum": [
811 "ADMIN",
812 "AUTHOR",
813 "READER"
814 ],
815 "enumDescriptions": [
816 "Admin level detail",
817 "Author level detail",
818 "Reader level detail"
819 ],
820 "location": "query",
821 "type": "string"
822 }
823 },
824 "path": "blogs/{blogId}/pages",
825 "response": {
826 "$ref": "PageList"
827 },
828 "scopes": [
829 "https://www.googleapis.com/auth/blogger",
830 "https://www.googleapis.com/auth/blogger.readonly"
831 ]
832 },
833 "patch": {
834 "description": "Update a page. This method supports patch se mantics.",
835 "httpMethod": "PATCH",
836 "id": "blogger.pages.patch",
837 "parameterOrder": [
838 "blogId",
839 "pageId"
840 ],
841 "parameters": {
842 "blogId": {
843 "description": "The ID of the Blog.",
844 "location": "path",
845 "required": true,
846 "type": "string"
847 },
848 "pageId": {
849 "description": "The ID of the Page.",
850 "location": "path",
851 "required": true,
852 "type": "string"
853 },
854 "publish": {
855 "description": "Whether a publish action should be p erformed when the page is updated (default: false).",
856 "location": "query",
857 "type": "boolean"
858 },
859 "revert": {
860 "description": "Whether a revert action should be pe rformed when the page is updated (default: false).",
861 "location": "query",
862 "type": "boolean"
863 }
864 },
865 "path": "blogs/{blogId}/pages/{pageId}",
866 "request": {
867 "$ref": "Page"
868 },
869 "response": {
870 "$ref": "Page"
871 },
872 "scopes": [
873 "https://www.googleapis.com/auth/blogger"
874 ]
875 },
876 "publish": {
877 "description": "Publishes a draft page.",
878 "httpMethod": "POST",
879 "id": "blogger.pages.publish",
880 "parameterOrder": [
881 "blogId",
882 "pageId"
883 ],
884 "parameters": {
885 "blogId": {
886 "description": "The ID of the blog.",
887 "location": "path",
888 "required": true,
889 "type": "string"
890 },
891 "pageId": {
892 "description": "The ID of the page.",
893 "location": "path",
894 "required": true,
895 "type": "string"
896 }
897 },
898 "path": "blogs/{blogId}/pages/{pageId}/publish",
899 "response": {
900 "$ref": "Page"
901 },
902 "scopes": [
903 "https://www.googleapis.com/auth/blogger"
904 ]
905 },
906 "revert": {
907 "description": "Revert a published or scheduled page to draf t state.",
908 "httpMethod": "POST",
909 "id": "blogger.pages.revert",
910 "parameterOrder": [
911 "blogId",
912 "pageId"
913 ],
914 "parameters": {
915 "blogId": {
916 "description": "The ID of the blog.",
917 "location": "path",
918 "required": true,
919 "type": "string"
920 },
921 "pageId": {
922 "description": "The ID of the page.",
923 "location": "path",
924 "required": true,
925 "type": "string"
926 }
927 },
928 "path": "blogs/{blogId}/pages/{pageId}/revert",
929 "response": {
930 "$ref": "Page"
931 },
932 "scopes": [
933 "https://www.googleapis.com/auth/blogger"
934 ]
935 },
936 "update": {
937 "description": "Update a page.",
938 "httpMethod": "PUT",
939 "id": "blogger.pages.update",
940 "parameterOrder": [
941 "blogId",
942 "pageId"
943 ],
944 "parameters": {
945 "blogId": {
946 "description": "The ID of the Blog.",
947 "location": "path",
948 "required": true,
949 "type": "string"
950 },
951 "pageId": {
952 "description": "The ID of the Page.",
953 "location": "path",
954 "required": true,
955 "type": "string"
956 },
957 "publish": {
958 "description": "Whether a publish action should be p erformed when the page is updated (default: false).",
959 "location": "query",
960 "type": "boolean"
961 },
962 "revert": {
963 "description": "Whether a revert action should be pe rformed when the page is updated (default: false).",
964 "location": "query",
965 "type": "boolean"
966 }
967 },
968 "path": "blogs/{blogId}/pages/{pageId}",
969 "request": {
970 "$ref": "Page"
971 },
972 "response": {
973 "$ref": "Page"
974 },
975 "scopes": [
976 "https://www.googleapis.com/auth/blogger"
977 ]
978 }
979 }
980 },
981 "postUserInfos": {
982 "methods": {
983 "get": {
984 "description": "Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, s uch as access rights, specific to the user.",
985 "httpMethod": "GET",
986 "id": "blogger.postUserInfos.get",
987 "parameterOrder": [
988 "userId",
989 "blogId",
990 "postId"
991 ],
992 "parameters": {
993 "blogId": {
994 "description": "The ID of the blog.",
995 "location": "path",
996 "required": true,
997 "type": "string"
998 },
999 "maxComments": {
1000 "description": "Maximum number of comments to pull b ack on a post.",
1001 "format": "uint32",
1002 "location": "query",
1003 "type": "integer"
1004 },
1005 "postId": {
1006 "description": "The ID of the post to get.",
1007 "location": "path",
1008 "required": true,
1009 "type": "string"
1010 },
1011 "userId": {
1012 "description": "ID of the user for the per-user info rmation to be fetched. Either the word 'self' (sans quote marks) or the user's p rofile identifier.",
1013 "location": "path",
1014 "required": true,
1015 "type": "string"
1016 }
1017 },
1018 "path": "users/{userId}/blogs/{blogId}/posts/{postId}",
1019 "response": {
1020 "$ref": "PostUserInfo"
1021 },
1022 "scopes": [
1023 "https://www.googleapis.com/auth/blogger",
1024 "https://www.googleapis.com/auth/blogger.readonly"
1025 ]
1026 },
1027 "list": {
1028 "description": "Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.",
1029 "httpMethod": "GET",
1030 "id": "blogger.postUserInfos.list",
1031 "parameterOrder": [
1032 "userId",
1033 "blogId"
1034 ],
1035 "parameters": {
1036 "blogId": {
1037 "description": "ID of the blog to fetch posts from." ,
1038 "location": "path",
1039 "required": true,
1040 "type": "string"
1041 },
1042 "endDate": {
1043 "description": "Latest post date to fetch, a date-ti me with RFC 3339 formatting.",
1044 "format": "date-time",
1045 "location": "query",
1046 "type": "string"
1047 },
1048 "fetchBodies": {
1049 "default": "false",
1050 "description": "Whether the body content of posts is included. Default is false.",
1051 "location": "query",
1052 "type": "boolean"
1053 },
1054 "labels": {
1055 "description": "Comma-separated list of labels to se arch for.",
1056 "location": "query",
1057 "type": "string"
1058 },
1059 "maxResults": {
1060 "description": "Maximum number of posts to fetch.",
1061 "format": "uint32",
1062 "location": "query",
1063 "type": "integer"
1064 },
1065 "orderBy": {
1066 "default": "PUBLISHED",
1067 "description": "Sort order applied to search results . Default is published.",
1068 "enum": [
1069 "published",
1070 "updated"
1071 ],
1072 "enumDescriptions": [
1073 "Order by the date the post was published",
1074 "Order by the date the post was last updated"
1075 ],
1076 "location": "query",
1077 "type": "string"
1078 },
1079 "pageToken": {
1080 "description": "Continuation token if the request is paged.",
1081 "location": "query",
1082 "type": "string"
1083 },
1084 "startDate": {
1085 "description": "Earliest post date to fetch, a date- time with RFC 3339 formatting.",
1086 "format": "date-time",
1087 "location": "query",
1088 "type": "string"
1089 },
1090 "status": {
1091 "enum": [
1092 "draft",
1093 "live",
1094 "scheduled"
1095 ],
1096 "enumDescriptions": [
1097 "Draft posts",
1098 "Published posts",
1099 "Posts that are scheduled to publish in future."
1100 ],
1101 "location": "query",
1102 "repeated": true,
1103 "type": "string"
1104 },
1105 "userId": {
1106 "description": "ID of the user for the per-user info rmation to be fetched. Either the word 'self' (sans quote marks) or the user's p rofile identifier.",
1107 "location": "path",
1108 "required": true,
1109 "type": "string"
1110 },
1111 "view": {
1112 "description": "Access level with which to view the returned result. Note that some fields require elevated access.",
1113 "enum": [
1114 "ADMIN",
1115 "AUTHOR",
1116 "READER"
1117 ],
1118 "enumDescriptions": [
1119 "Admin level detail",
1120 "Author level detail",
1121 "Reader level detail"
1122 ],
1123 "location": "query",
1124 "type": "string"
1125 }
1126 },
1127 "path": "users/{userId}/blogs/{blogId}/posts",
1128 "response": {
1129 "$ref": "PostUserInfosList"
1130 },
1131 "scopes": [
1132 "https://www.googleapis.com/auth/blogger",
1133 "https://www.googleapis.com/auth/blogger.readonly"
1134 ]
1135 }
1136 }
1137 },
1138 "posts": {
1139 "methods": {
1140 "delete": {
1141 "description": "Delete a post by ID.",
1142 "httpMethod": "DELETE",
1143 "id": "blogger.posts.delete",
1144 "parameterOrder": [
1145 "blogId",
1146 "postId"
1147 ],
1148 "parameters": {
1149 "blogId": {
1150 "description": "The ID of the Blog.",
1151 "location": "path",
1152 "required": true,
1153 "type": "string"
1154 },
1155 "postId": {
1156 "description": "The ID of the Post.",
1157 "location": "path",
1158 "required": true,
1159 "type": "string"
1160 }
1161 },
1162 "path": "blogs/{blogId}/posts/{postId}",
1163 "scopes": [
1164 "https://www.googleapis.com/auth/blogger"
1165 ]
1166 },
1167 "get": {
1168 "description": "Get a post by ID.",
1169 "httpMethod": "GET",
1170 "id": "blogger.posts.get",
1171 "parameterOrder": [
1172 "blogId",
1173 "postId"
1174 ],
1175 "parameters": {
1176 "blogId": {
1177 "description": "ID of the blog to fetch the post fro m.",
1178 "location": "path",
1179 "required": true,
1180 "type": "string"
1181 },
1182 "fetchBody": {
1183 "default": "true",
1184 "description": "Whether the body content of the post is included (default: true). This should be set to false when the post bodies a re not required, to help minimize traffic.",
1185 "location": "query",
1186 "type": "boolean"
1187 },
1188 "fetchImages": {
1189 "description": "Whether image URL metadata for each post is included (default: false).",
1190 "location": "query",
1191 "type": "boolean"
1192 },
1193 "maxComments": {
1194 "description": "Maximum number of comments to pull b ack on a post.",
1195 "format": "uint32",
1196 "location": "query",
1197 "type": "integer"
1198 },
1199 "postId": {
1200 "description": "The ID of the post",
1201 "location": "path",
1202 "required": true,
1203 "type": "string"
1204 },
1205 "view": {
1206 "description": "Access level with which to view the returned result. Note that some fields require elevated access.",
1207 "enum": [
1208 "ADMIN",
1209 "AUTHOR",
1210 "READER"
1211 ],
1212 "enumDescriptions": [
1213 "Admin level detail",
1214 "Author level detail",
1215 "Reader level detail"
1216 ],
1217 "location": "query",
1218 "type": "string"
1219 }
1220 },
1221 "path": "blogs/{blogId}/posts/{postId}",
1222 "response": {
1223 "$ref": "Post"
1224 },
1225 "scopes": [
1226 "https://www.googleapis.com/auth/blogger",
1227 "https://www.googleapis.com/auth/blogger.readonly"
1228 ]
1229 },
1230 "getByPath": {
1231 "description": "Retrieve a Post by Path.",
1232 "httpMethod": "GET",
1233 "id": "blogger.posts.getByPath",
1234 "parameterOrder": [
1235 "blogId",
1236 "path"
1237 ],
1238 "parameters": {
1239 "blogId": {
1240 "description": "ID of the blog to fetch the post fro m.",
1241 "location": "path",
1242 "required": true,
1243 "type": "string"
1244 },
1245 "maxComments": {
1246 "description": "Maximum number of comments to pull b ack on a post.",
1247 "format": "uint32",
1248 "location": "query",
1249 "type": "integer"
1250 },
1251 "path": {
1252 "description": "Path of the Post to retrieve.",
1253 "location": "query",
1254 "required": true,
1255 "type": "string"
1256 },
1257 "view": {
1258 "description": "Access level with which to view the returned result. Note that some fields require elevated access.",
1259 "enum": [
1260 "ADMIN",
1261 "AUTHOR",
1262 "READER"
1263 ],
1264 "enumDescriptions": [
1265 "Admin level detail",
1266 "Author level detail",
1267 "Reader level detail"
1268 ],
1269 "location": "query",
1270 "type": "string"
1271 }
1272 },
1273 "path": "blogs/{blogId}/posts/bypath",
1274 "response": {
1275 "$ref": "Post"
1276 },
1277 "scopes": [
1278 "https://www.googleapis.com/auth/blogger",
1279 "https://www.googleapis.com/auth/blogger.readonly"
1280 ]
1281 },
1282 "insert": {
1283 "description": "Add a post.",
1284 "httpMethod": "POST",
1285 "id": "blogger.posts.insert",
1286 "parameterOrder": [
1287 "blogId"
1288 ],
1289 "parameters": {
1290 "blogId": {
1291 "description": "ID of the blog to add the post to.",
1292 "location": "path",
1293 "required": true,
1294 "type": "string"
1295 },
1296 "fetchBody": {
1297 "default": "true",
1298 "description": "Whether the body content of the post is included with the result (default: true).",
1299 "location": "query",
1300 "type": "boolean"
1301 },
1302 "fetchImages": {
1303 "description": "Whether image URL metadata for each post is included in the returned result (default: false).",
1304 "location": "query",
1305 "type": "boolean"
1306 },
1307 "isDraft": {
1308 "description": "Whether to create the post as a draf t (default: false).",
1309 "location": "query",
1310 "type": "boolean"
1311 }
1312 },
1313 "path": "blogs/{blogId}/posts",
1314 "request": {
1315 "$ref": "Post"
1316 },
1317 "response": {
1318 "$ref": "Post"
1319 },
1320 "scopes": [
1321 "https://www.googleapis.com/auth/blogger"
1322 ]
1323 },
1324 "list": {
1325 "description": "Retrieves a list of posts, possibly filtered .",
1326 "httpMethod": "GET",
1327 "id": "blogger.posts.list",
1328 "parameterOrder": [
1329 "blogId"
1330 ],
1331 "parameters": {
1332 "blogId": {
1333 "description": "ID of the blog to fetch posts from." ,
1334 "location": "path",
1335 "required": true,
1336 "type": "string"
1337 },
1338 "endDate": {
1339 "description": "Latest post date to fetch, a date-ti me with RFC 3339 formatting.",
1340 "format": "date-time",
1341 "location": "query",
1342 "type": "string"
1343 },
1344 "fetchBodies": {
1345 "default": "true",
1346 "description": "Whether the body content of posts is included (default: true). This should be set to false when the post bodies are not required, to help minimize traffic.",
1347 "location": "query",
1348 "type": "boolean"
1349 },
1350 "fetchImages": {
1351 "description": "Whether image URL metadata for each post is included.",
1352 "location": "query",
1353 "type": "boolean"
1354 },
1355 "labels": {
1356 "description": "Comma-separated list of labels to se arch for.",
1357 "location": "query",
1358 "type": "string"
1359 },
1360 "maxResults": {
1361 "description": "Maximum number of posts to fetch.",
1362 "format": "uint32",
1363 "location": "query",
1364 "type": "integer"
1365 },
1366 "orderBy": {
1367 "default": "PUBLISHED",
1368 "description": "Sort search results",
1369 "enum": [
1370 "published",
1371 "updated"
1372 ],
1373 "enumDescriptions": [
1374 "Order by the date the post was published",
1375 "Order by the date the post was last updated"
1376 ],
1377 "location": "query",
1378 "type": "string"
1379 },
1380 "pageToken": {
1381 "description": "Continuation token if the request is paged.",
1382 "location": "query",
1383 "type": "string"
1384 },
1385 "startDate": {
1386 "description": "Earliest post date to fetch, a date- time with RFC 3339 formatting.",
1387 "format": "date-time",
1388 "location": "query",
1389 "type": "string"
1390 },
1391 "status": {
1392 "description": "Statuses to include in the results." ,
1393 "enum": [
1394 "draft",
1395 "live",
1396 "scheduled"
1397 ],
1398 "enumDescriptions": [
1399 "Draft (non-published) posts.",
1400 "Published posts",
1401 "Posts that are scheduled to publish in the futu re."
1402 ],
1403 "location": "query",
1404 "repeated": true,
1405 "type": "string"
1406 },
1407 "view": {
1408 "description": "Access level with which to view the returned result. Note that some fields require escalated access.",
1409 "enum": [
1410 "ADMIN",
1411 "AUTHOR",
1412 "READER"
1413 ],
1414 "enumDescriptions": [
1415 "Admin level detail",
1416 "Author level detail",
1417 "Reader level detail"
1418 ],
1419 "location": "query",
1420 "type": "string"
1421 }
1422 },
1423 "path": "blogs/{blogId}/posts",
1424 "response": {
1425 "$ref": "PostList"
1426 },
1427 "scopes": [
1428 "https://www.googleapis.com/auth/blogger",
1429 "https://www.googleapis.com/auth/blogger.readonly"
1430 ]
1431 },
1432 "patch": {
1433 "description": "Update a post. This method supports patch se mantics.",
1434 "httpMethod": "PATCH",
1435 "id": "blogger.posts.patch",
1436 "parameterOrder": [
1437 "blogId",
1438 "postId"
1439 ],
1440 "parameters": {
1441 "blogId": {
1442 "description": "The ID of the Blog.",
1443 "location": "path",
1444 "required": true,
1445 "type": "string"
1446 },
1447 "fetchBody": {
1448 "default": "true",
1449 "description": "Whether the body content of the post is included with the result (default: true).",
1450 "location": "query",
1451 "type": "boolean"
1452 },
1453 "fetchImages": {
1454 "description": "Whether image URL metadata for each post is included in the returned result (default: false).",
1455 "location": "query",
1456 "type": "boolean"
1457 },
1458 "maxComments": {
1459 "description": "Maximum number of comments to retrie ve with the returned post.",
1460 "format": "uint32",
1461 "location": "query",
1462 "type": "integer"
1463 },
1464 "postId": {
1465 "description": "The ID of the Post.",
1466 "location": "path",
1467 "required": true,
1468 "type": "string"
1469 },
1470 "publish": {
1471 "description": "Whether a publish action should be p erformed when the post is updated (default: false).",
1472 "location": "query",
1473 "type": "boolean"
1474 },
1475 "revert": {
1476 "description": "Whether a revert action should be pe rformed when the post is updated (default: false).",
1477 "location": "query",
1478 "type": "boolean"
1479 }
1480 },
1481 "path": "blogs/{blogId}/posts/{postId}",
1482 "request": {
1483 "$ref": "Post"
1484 },
1485 "response": {
1486 "$ref": "Post"
1487 },
1488 "scopes": [
1489 "https://www.googleapis.com/auth/blogger"
1490 ]
1491 },
1492 "publish": {
1493 "description": "Publishes a draft post, optionally at the sp ecific time of the given publishDate parameter.",
1494 "httpMethod": "POST",
1495 "id": "blogger.posts.publish",
1496 "parameterOrder": [
1497 "blogId",
1498 "postId"
1499 ],
1500 "parameters": {
1501 "blogId": {
1502 "description": "The ID of the Blog.",
1503 "location": "path",
1504 "required": true,
1505 "type": "string"
1506 },
1507 "postId": {
1508 "description": "The ID of the Post.",
1509 "location": "path",
1510 "required": true,
1511 "type": "string"
1512 },
1513 "publishDate": {
1514 "description": "Optional date and time to schedule t he publishing of the Blog. If no publishDate parameter is given, the post is eit her published at the a previously saved schedule date (if present), or the curre nt time. If a future date is given, the post will be scheduled to be published." ,
1515 "format": "date-time",
1516 "location": "query",
1517 "type": "string"
1518 }
1519 },
1520 "path": "blogs/{blogId}/posts/{postId}/publish",
1521 "response": {
1522 "$ref": "Post"
1523 },
1524 "scopes": [
1525 "https://www.googleapis.com/auth/blogger"
1526 ]
1527 },
1528 "revert": {
1529 "description": "Revert a published or scheduled post to draf t state.",
1530 "httpMethod": "POST",
1531 "id": "blogger.posts.revert",
1532 "parameterOrder": [
1533 "blogId",
1534 "postId"
1535 ],
1536 "parameters": {
1537 "blogId": {
1538 "description": "The ID of the Blog.",
1539 "location": "path",
1540 "required": true,
1541 "type": "string"
1542 },
1543 "postId": {
1544 "description": "The ID of the Post.",
1545 "location": "path",
1546 "required": true,
1547 "type": "string"
1548 }
1549 },
1550 "path": "blogs/{blogId}/posts/{postId}/revert",
1551 "response": {
1552 "$ref": "Post"
1553 },
1554 "scopes": [
1555 "https://www.googleapis.com/auth/blogger"
1556 ]
1557 },
1558 "search": {
1559 "description": "Search for a post.",
1560 "httpMethod": "GET",
1561 "id": "blogger.posts.search",
1562 "parameterOrder": [
1563 "blogId",
1564 "q"
1565 ],
1566 "parameters": {
1567 "blogId": {
1568 "description": "ID of the blog to fetch the post fro m.",
1569 "location": "path",
1570 "required": true,
1571 "type": "string"
1572 },
1573 "fetchBodies": {
1574 "default": "true",
1575 "description": "Whether the body content of posts is included (default: true). This should be set to false when the post bodies are not required, to help minimize traffic.",
1576 "location": "query",
1577 "type": "boolean"
1578 },
1579 "orderBy": {
1580 "default": "PUBLISHED",
1581 "description": "Sort search results",
1582 "enum": [
1583 "published",
1584 "updated"
1585 ],
1586 "enumDescriptions": [
1587 "Order by the date the post was published",
1588 "Order by the date the post was last updated"
1589 ],
1590 "location": "query",
1591 "type": "string"
1592 },
1593 "q": {
1594 "description": "Query terms to search this blog for matching posts.",
1595 "location": "query",
1596 "required": true,
1597 "type": "string"
1598 }
1599 },
1600 "path": "blogs/{blogId}/posts/search",
1601 "response": {
1602 "$ref": "PostList"
1603 },
1604 "scopes": [
1605 "https://www.googleapis.com/auth/blogger",
1606 "https://www.googleapis.com/auth/blogger.readonly"
1607 ]
1608 },
1609 "update": {
1610 "description": "Update a post.",
1611 "httpMethod": "PUT",
1612 "id": "blogger.posts.update",
1613 "parameterOrder": [
1614 "blogId",
1615 "postId"
1616 ],
1617 "parameters": {
1618 "blogId": {
1619 "description": "The ID of the Blog.",
1620 "location": "path",
1621 "required": true,
1622 "type": "string"
1623 },
1624 "fetchBody": {
1625 "default": "true",
1626 "description": "Whether the body content of the post is included with the result (default: true).",
1627 "location": "query",
1628 "type": "boolean"
1629 },
1630 "fetchImages": {
1631 "description": "Whether image URL metadata for each post is included in the returned result (default: false).",
1632 "location": "query",
1633 "type": "boolean"
1634 },
1635 "maxComments": {
1636 "description": "Maximum number of comments to retrie ve with the returned post.",
1637 "format": "uint32",
1638 "location": "query",
1639 "type": "integer"
1640 },
1641 "postId": {
1642 "description": "The ID of the Post.",
1643 "location": "path",
1644 "required": true,
1645 "type": "string"
1646 },
1647 "publish": {
1648 "description": "Whether a publish action should be p erformed when the post is updated (default: false).",
1649 "location": "query",
1650 "type": "boolean"
1651 },
1652 "revert": {
1653 "description": "Whether a revert action should be pe rformed when the post is updated (default: false).",
1654 "location": "query",
1655 "type": "boolean"
1656 }
1657 },
1658 "path": "blogs/{blogId}/posts/{postId}",
1659 "request": {
1660 "$ref": "Post"
1661 },
1662 "response": {
1663 "$ref": "Post"
1664 },
1665 "scopes": [
1666 "https://www.googleapis.com/auth/blogger"
1667 ]
1668 }
1669 }
1670 },
1671 "users": {
1672 "methods": {
1673 "get": {
1674 "description": "Gets one user by ID.",
1675 "httpMethod": "GET",
1676 "id": "blogger.users.get",
1677 "parameterOrder": [
1678 "userId"
1679 ],
1680 "parameters": {
1681 "userId": {
1682 "description": "The ID of the user to get.",
1683 "location": "path",
1684 "required": true,
1685 "type": "string"
1686 }
1687 },
1688 "path": "users/{userId}",
1689 "response": {
1690 "$ref": "User"
1691 },
1692 "scopes": [
1693 "https://www.googleapis.com/auth/blogger",
1694 "https://www.googleapis.com/auth/blogger.readonly"
1695 ]
1696 }
1697 }
1698 }
1699 },
1700 "revision": "20140827",
1701 "rootUrl": "https://www.googleapis.com/",
1702 "schemas": {
1703 "Blog": {
1704 "id": "Blog",
1705 "properties": {
1706 "customMetaData": {
1707 "description": "The JSON custom meta-data for the Blog",
1708 "type": "string"
1709 },
1710 "description": {
1711 "description": "The description of this blog. This is displa yed underneath the title.",
1712 "type": "string"
1713 },
1714 "id": {
1715 "description": "The identifier for this resource.",
1716 "type": "string"
1717 },
1718 "kind": {
1719 "default": "blogger#blog",
1720 "description": "The kind of this entry. Always blogger#blog" ,
1721 "type": "string"
1722 },
1723 "locale": {
1724 "description": "The locale this Blog is set to.",
1725 "properties": {
1726 "country": {
1727 "description": "The country this blog's locale is se t to.",
1728 "type": "string"
1729 },
1730 "language": {
1731 "description": "The language this blog is authored i n.",
1732 "type": "string"
1733 },
1734 "variant": {
1735 "description": "The language variant this blog is au thored in.",
1736 "type": "string"
1737 }
1738 },
1739 "type": "object"
1740 },
1741 "name": {
1742 "description": "The name of this blog. This is displayed as the title.",
1743 "type": "string"
1744 },
1745 "pages": {
1746 "description": "The container of pages in this blog.",
1747 "properties": {
1748 "selfLink": {
1749 "description": "The URL of the container for pages i n this blog.",
1750 "type": "string"
1751 },
1752 "totalItems": {
1753 "description": "The count of pages in this blog.",
1754 "format": "int32",
1755 "type": "integer"
1756 }
1757 },
1758 "type": "object"
1759 },
1760 "posts": {
1761 "description": "The container of posts in this blog.",
1762 "properties": {
1763 "items": {
1764 "description": "The List of Posts for this Blog.",
1765 "items": {
1766 "$ref": "Post"
1767 },
1768 "type": "array"
1769 },
1770 "selfLink": {
1771 "description": "The URL of the container for posts i n this blog.",
1772 "type": "string"
1773 },
1774 "totalItems": {
1775 "description": "The count of posts in this blog.",
1776 "format": "int32",
1777 "type": "integer"
1778 }
1779 },
1780 "type": "object"
1781 },
1782 "published": {
1783 "description": "RFC 3339 date-time when this blog was publis hed.",
1784 "format": "date-time",
1785 "type": "string"
1786 },
1787 "selfLink": {
1788 "description": "The API REST URL to fetch this resource from .",
1789 "type": "string"
1790 },
1791 "status": {
1792 "description": "The status of the blog.",
1793 "type": "string"
1794 },
1795 "updated": {
1796 "description": "RFC 3339 date-time when this blog was last u pdated.",
1797 "format": "date-time",
1798 "type": "string"
1799 },
1800 "url": {
1801 "description": "The URL where this blog is published.",
1802 "type": "string"
1803 }
1804 },
1805 "type": "object"
1806 },
1807 "BlogList": {
1808 "id": "BlogList",
1809 "properties": {
1810 "blogUserInfos": {
1811 "description": "Admin level list of blog per-user informatio n",
1812 "items": {
1813 "$ref": "BlogUserInfo"
1814 },
1815 "type": "array"
1816 },
1817 "items": {
1818 "description": "The list of Blogs this user has Authorship o r Admin rights over.",
1819 "items": {
1820 "$ref": "Blog"
1821 },
1822 "type": "array"
1823 },
1824 "kind": {
1825 "default": "blogger#blogList",
1826 "description": "The kind of this entity. Always blogger#blog List",
1827 "type": "string"
1828 }
1829 },
1830 "type": "object"
1831 },
1832 "BlogPerUserInfo": {
1833 "id": "BlogPerUserInfo",
1834 "properties": {
1835 "blogId": {
1836 "description": "ID of the Blog resource",
1837 "type": "string"
1838 },
1839 "hasAdminAccess": {
1840 "description": "True if the user has Admin level access to t he blog.",
1841 "type": "boolean"
1842 },
1843 "kind": {
1844 "default": "blogger#blogPerUserInfo",
1845 "description": "The kind of this entity. Always blogger#blog PerUserInfo",
1846 "type": "string"
1847 },
1848 "photosAlbumKey": {
1849 "description": "The Photo Album Key for the user when adding photos to the blog",
1850 "type": "string"
1851 },
1852 "role": {
1853 "description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).",
1854 "type": "string"
1855 },
1856 "userId": {
1857 "description": "ID of the User",
1858 "type": "string"
1859 }
1860 },
1861 "type": "object"
1862 },
1863 "BlogUserInfo": {
1864 "id": "BlogUserInfo",
1865 "properties": {
1866 "blog": {
1867 "$ref": "Blog",
1868 "description": "The Blog resource."
1869 },
1870 "blog_user_info": {
1871 "$ref": "BlogPerUserInfo",
1872 "description": "Information about a User for the Blog."
1873 },
1874 "kind": {
1875 "default": "blogger#blogUserInfo",
1876 "description": "The kind of this entity. Always blogger#blog UserInfo",
1877 "type": "string"
1878 }
1879 },
1880 "type": "object"
1881 },
1882 "Comment": {
1883 "id": "Comment",
1884 "properties": {
1885 "author": {
1886 "description": "The author of this Comment.",
1887 "properties": {
1888 "displayName": {
1889 "description": "The display name.",
1890 "type": "string"
1891 },
1892 "id": {
1893 "description": "The identifier of the Comment creato r.",
1894 "type": "string"
1895 },
1896 "image": {
1897 "description": "The comment creator's avatar.",
1898 "properties": {
1899 "url": {
1900 "description": "The comment creator's avatar URL.",
1901 "type": "string"
1902 }
1903 },
1904 "type": "object"
1905 },
1906 "url": {
1907 "description": "The URL of the Comment creator's Pro file page.",
1908 "type": "string"
1909 }
1910 },
1911 "type": "object"
1912 },
1913 "blog": {
1914 "description": "Data about the blog containing this comment. ",
1915 "properties": {
1916 "id": {
1917 "description": "The identifier of the blog containin g this comment.",
1918 "type": "string"
1919 }
1920 },
1921 "type": "object"
1922 },
1923 "content": {
1924 "description": "The actual content of the comment. May inclu de HTML markup.",
1925 "type": "string"
1926 },
1927 "id": {
1928 "description": "The identifier for this resource.",
1929 "type": "string"
1930 },
1931 "inReplyTo": {
1932 "description": "Data about the comment this is in reply to." ,
1933 "properties": {
1934 "id": {
1935 "description": "The identified of the parent of this comment.",
1936 "type": "string"
1937 }
1938 },
1939 "type": "object"
1940 },
1941 "kind": {
1942 "default": "blogger#comment",
1943 "description": "The kind of this entry. Always blogger#comme nt",
1944 "type": "string"
1945 },
1946 "post": {
1947 "description": "Data about the post containing this comment. ",
1948 "properties": {
1949 "id": {
1950 "description": "The identifier of the post containin g this comment.",
1951 "type": "string"
1952 }
1953 },
1954 "type": "object"
1955 },
1956 "published": {
1957 "description": "RFC 3339 date-time when this comment was pub lished.",
1958 "format": "date-time",
1959 "type": "string"
1960 },
1961 "selfLink": {
1962 "description": "The API REST URL to fetch this resource from .",
1963 "type": "string"
1964 },
1965 "status": {
1966 "description": "The status of the comment (only populated fo r admin users)",
1967 "type": "string"
1968 },
1969 "updated": {
1970 "description": "RFC 3339 date-time when this comment was las t updated.",
1971 "format": "date-time",
1972 "type": "string"
1973 }
1974 },
1975 "type": "object"
1976 },
1977 "CommentList": {
1978 "id": "CommentList",
1979 "properties": {
1980 "items": {
1981 "description": "The List of Comments for a Post.",
1982 "items": {
1983 "$ref": "Comment"
1984 },
1985 "type": "array"
1986 },
1987 "kind": {
1988 "default": "blogger#commentList",
1989 "description": "The kind of this entry. Always blogger#comme ntList",
1990 "type": "string"
1991 },
1992 "nextPageToken": {
1993 "description": "Pagination token to fetch the next page, if one exists.",
1994 "type": "string"
1995 },
1996 "prevPageToken": {
1997 "description": "Pagination token to fetch the previous page, if one exists.",
1998 "type": "string"
1999 }
2000 },
2001 "type": "object"
2002 },
2003 "Page": {
2004 "id": "Page",
2005 "properties": {
2006 "author": {
2007 "description": "The author of this Page.",
2008 "properties": {
2009 "displayName": {
2010 "description": "The display name.",
2011 "type": "string"
2012 },
2013 "id": {
2014 "description": "The identifier of the Page creator." ,
2015 "type": "string"
2016 },
2017 "image": {
2018 "description": "The page author's avatar.",
2019 "properties": {
2020 "url": {
2021 "description": "The page author's avatar URL .",
2022 "type": "string"
2023 }
2024 },
2025 "type": "object"
2026 },
2027 "url": {
2028 "description": "The URL of the Page creator's Profil e page.",
2029 "type": "string"
2030 }
2031 },
2032 "type": "object"
2033 },
2034 "blog": {
2035 "description": "Data about the blog containing this Page.",
2036 "properties": {
2037 "id": {
2038 "description": "The identifier of the blog containin g this page.",
2039 "type": "string"
2040 }
2041 },
2042 "type": "object"
2043 },
2044 "content": {
2045 "description": "The body content of this Page, in HTML.",
2046 "type": "string"
2047 },
2048 "etag": {
2049 "description": "Etag of the resource.",
2050 "type": "string"
2051 },
2052 "id": {
2053 "description": "The identifier for this resource.",
2054 "type": "string"
2055 },
2056 "kind": {
2057 "default": "blogger#page",
2058 "description": "The kind of this entity. Always blogger#page ",
2059 "type": "string"
2060 },
2061 "published": {
2062 "description": "RFC 3339 date-time when this Page was publis hed.",
2063 "format": "date-time",
2064 "type": "string"
2065 },
2066 "selfLink": {
2067 "description": "The API REST URL to fetch this resource from .",
2068 "type": "string"
2069 },
2070 "status": {
2071 "description": "The status of the page for admin resources ( either LIVE or DRAFT).",
2072 "type": "string"
2073 },
2074 "title": {
2075 "description": "The title of this entity. This is the name d isplayed in the Admin user interface.",
2076 "type": "string"
2077 },
2078 "updated": {
2079 "description": "RFC 3339 date-time when this Page was last u pdated.",
2080 "format": "date-time",
2081 "type": "string"
2082 },
2083 "url": {
2084 "description": "The URL that this Page is displayed at.",
2085 "type": "string"
2086 }
2087 },
2088 "type": "object"
2089 },
2090 "PageList": {
2091 "id": "PageList",
2092 "properties": {
2093 "items": {
2094 "description": "The list of Pages for a Blog.",
2095 "items": {
2096 "$ref": "Page"
2097 },
2098 "type": "array"
2099 },
2100 "kind": {
2101 "default": "blogger#pageList",
2102 "description": "The kind of this entity. Always blogger#page List",
2103 "type": "string"
2104 }
2105 },
2106 "type": "object"
2107 },
2108 "Pageviews": {
2109 "id": "Pageviews",
2110 "properties": {
2111 "blogId": {
2112 "description": "Blog Id",
2113 "type": "string"
2114 },
2115 "counts": {
2116 "description": "The container of posts in this blog.",
2117 "items": {
2118 "properties": {
2119 "count": {
2120 "description": "Count of page views for the give n time range",
2121 "format": "int64",
2122 "type": "string"
2123 },
2124 "timeRange": {
2125 "description": "Time range the given count appli es to",
2126 "type": "string"
2127 }
2128 },
2129 "type": "object"
2130 },
2131 "type": "array"
2132 },
2133 "kind": {
2134 "default": "blogger#page_views",
2135 "description": "The kind of this entry. Always blogger#page_ views",
2136 "type": "string"
2137 }
2138 },
2139 "type": "object"
2140 },
2141 "Post": {
2142 "id": "Post",
2143 "properties": {
2144 "author": {
2145 "description": "The author of this Post.",
2146 "properties": {
2147 "displayName": {
2148 "description": "The display name.",
2149 "type": "string"
2150 },
2151 "id": {
2152 "description": "The identifier of the Post creator." ,
2153 "type": "string"
2154 },
2155 "image": {
2156 "description": "The Post author's avatar.",
2157 "properties": {
2158 "url": {
2159 "description": "The Post author's avatar URL .",
2160 "type": "string"
2161 }
2162 },
2163 "type": "object"
2164 },
2165 "url": {
2166 "description": "The URL of the Post creator's Profil e page.",
2167 "type": "string"
2168 }
2169 },
2170 "type": "object"
2171 },
2172 "blog": {
2173 "description": "Data about the blog containing this Post.",
2174 "properties": {
2175 "id": {
2176 "description": "The identifier of the Blog that cont ains this Post.",
2177 "type": "string"
2178 }
2179 },
2180 "type": "object"
2181 },
2182 "content": {
2183 "description": "The content of the Post. May contain HTML ma rkup.",
2184 "type": "string"
2185 },
2186 "customMetaData": {
2187 "description": "The JSON meta-data for the Post.",
2188 "type": "string"
2189 },
2190 "etag": {
2191 "description": "Etag of the resource.",
2192 "type": "string"
2193 },
2194 "id": {
2195 "description": "The identifier of this Post.",
2196 "type": "string"
2197 },
2198 "images": {
2199 "description": "Display image for the Post.",
2200 "items": {
2201 "properties": {
2202 "url": {
2203 "type": "string"
2204 }
2205 },
2206 "type": "object"
2207 },
2208 "type": "array"
2209 },
2210 "kind": {
2211 "default": "blogger#post",
2212 "description": "The kind of this entity. Always blogger#post ",
2213 "type": "string"
2214 },
2215 "labels": {
2216 "description": "The list of labels this Post was tagged with .",
2217 "items": {
2218 "type": "string"
2219 },
2220 "type": "array"
2221 },
2222 "location": {
2223 "description": "The location for geotagged posts.",
2224 "properties": {
2225 "lat": {
2226 "description": "Location's latitude.",
2227 "format": "double",
2228 "type": "number"
2229 },
2230 "lng": {
2231 "description": "Location's longitude.",
2232 "format": "double",
2233 "type": "number"
2234 },
2235 "name": {
2236 "description": "Location name.",
2237 "type": "string"
2238 },
2239 "span": {
2240 "description": "Location's viewport span. Can be use d when rendering a map preview.",
2241 "type": "string"
2242 }
2243 },
2244 "type": "object"
2245 },
2246 "published": {
2247 "description": "RFC 3339 date-time when this Post was publis hed.",
2248 "format": "date-time",
2249 "type": "string"
2250 },
2251 "readerComments": {
2252 "description": "Comment control and display setting for read ers of this post.",
2253 "type": "string"
2254 },
2255 "replies": {
2256 "description": "The container of comments on this Post.",
2257 "properties": {
2258 "items": {
2259 "description": "The List of Comments for this Post." ,
2260 "items": {
2261 "$ref": "Comment"
2262 },
2263 "type": "array"
2264 },
2265 "selfLink": {
2266 "description": "The URL of the comments on this post .",
2267 "type": "string"
2268 },
2269 "totalItems": {
2270 "description": "The count of comments on this post." ,
2271 "format": "int64",
2272 "type": "string"
2273 }
2274 },
2275 "type": "object"
2276 },
2277 "selfLink": {
2278 "description": "The API REST URL to fetch this resource from .",
2279 "type": "string"
2280 },
2281 "status": {
2282 "description": "Status of the post. Only set for admin-level requests",
2283 "type": "string"
2284 },
2285 "title": {
2286 "description": "The title of the Post.",
2287 "type": "string"
2288 },
2289 "titleLink": {
2290 "description": "The title link URL, similar to atom's relate d link.",
2291 "type": "string"
2292 },
2293 "updated": {
2294 "description": "RFC 3339 date-time when this Post was last u pdated.",
2295 "format": "date-time",
2296 "type": "string"
2297 },
2298 "url": {
2299 "description": "The URL where this Post is displayed.",
2300 "type": "string"
2301 }
2302 },
2303 "type": "object"
2304 },
2305 "PostList": {
2306 "id": "PostList",
2307 "properties": {
2308 "items": {
2309 "description": "The list of Posts for this Blog.",
2310 "items": {
2311 "$ref": "Post"
2312 },
2313 "type": "array"
2314 },
2315 "kind": {
2316 "default": "blogger#postList",
2317 "description": "The kind of this entity. Always blogger#post List",
2318 "type": "string"
2319 },
2320 "nextPageToken": {
2321 "description": "Pagination token to fetch the next page, if one exists.",
2322 "type": "string"
2323 }
2324 },
2325 "type": "object"
2326 },
2327 "PostPerUserInfo": {
2328 "id": "PostPerUserInfo",
2329 "properties": {
2330 "blogId": {
2331 "description": "ID of the Blog that the post resource belong s to.",
2332 "type": "string"
2333 },
2334 "hasEditAccess": {
2335 "description": "True if the user has Author level access to the post.",
2336 "type": "boolean"
2337 },
2338 "kind": {
2339 "default": "blogger#postPerUserInfo",
2340 "description": "The kind of this entity. Always blogger#post PerUserInfo",
2341 "type": "string"
2342 },
2343 "postId": {
2344 "description": "ID of the Post resource.",
2345 "type": "string"
2346 },
2347 "userId": {
2348 "description": "ID of the User.",
2349 "type": "string"
2350 }
2351 },
2352 "type": "object"
2353 },
2354 "PostUserInfo": {
2355 "id": "PostUserInfo",
2356 "properties": {
2357 "kind": {
2358 "default": "blogger#postUserInfo",
2359 "description": "The kind of this entity. Always blogger#post UserInfo",
2360 "type": "string"
2361 },
2362 "post": {
2363 "$ref": "Post",
2364 "description": "The Post resource."
2365 },
2366 "post_user_info": {
2367 "$ref": "PostPerUserInfo",
2368 "description": "Information about a User for the Post."
2369 }
2370 },
2371 "type": "object"
2372 },
2373 "PostUserInfosList": {
2374 "id": "PostUserInfosList",
2375 "properties": {
2376 "items": {
2377 "description": "The list of Posts with User information for the post, for this Blog.",
2378 "items": {
2379 "$ref": "PostUserInfo"
2380 },
2381 "type": "array"
2382 },
2383 "kind": {
2384 "default": "blogger#postUserInfosList",
2385 "description": "The kind of this entity. Always blogger#post List",
2386 "type": "string"
2387 },
2388 "nextPageToken": {
2389 "description": "Pagination token to fetch the next page, if one exists.",
2390 "type": "string"
2391 }
2392 },
2393 "type": "object"
2394 },
2395 "User": {
2396 "id": "User",
2397 "properties": {
2398 "about": {
2399 "description": "Profile summary information.",
2400 "type": "string"
2401 },
2402 "blogs": {
2403 "description": "The container of blogs for this user.",
2404 "properties": {
2405 "selfLink": {
2406 "description": "The URL of the Blogs for this user." ,
2407 "type": "string"
2408 }
2409 },
2410 "type": "object"
2411 },
2412 "created": {
2413 "description": "The timestamp of when this profile was creat ed, in seconds since epoch.",
2414 "format": "date-time",
2415 "type": "string"
2416 },
2417 "displayName": {
2418 "description": "The display name.",
2419 "type": "string"
2420 },
2421 "id": {
2422 "description": "The identifier for this User.",
2423 "type": "string"
2424 },
2425 "kind": {
2426 "default": "blogger#user",
2427 "description": "The kind of this entity. Always blogger#user ",
2428 "type": "string"
2429 },
2430 "locale": {
2431 "description": "This user's locale",
2432 "properties": {
2433 "country": {
2434 "description": "The user's country setting.",
2435 "type": "string"
2436 },
2437 "language": {
2438 "description": "The user's language setting.",
2439 "type": "string"
2440 },
2441 "variant": {
2442 "description": "The user's language variant setting. ",
2443 "type": "string"
2444 }
2445 },
2446 "type": "object"
2447 },
2448 "selfLink": {
2449 "description": "The API REST URL to fetch this resource from .",
2450 "type": "string"
2451 },
2452 "url": {
2453 "description": "The user's profile page.",
2454 "type": "string"
2455 }
2456 },
2457 "type": "object"
2458 }
2459 },
2460 "servicePath": "blogger/v3/",
2461 "title": "Blogger API",
2462 "version": "v3"
2463 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698