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