Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 1 | { |
| 2 | "batchPath": "batch", |
| 3 | "schemas": { |
| 4 | "BlogList": { |
| 5 | "id": "BlogList", |
| 6 | "type": "object", |
| 7 | "properties": { |
| 8 | "items": { |
| 9 | "description": "The list of Blogs this user has Authorship or Admin rights over.", |
| 10 | "type": "array", |
| 11 | "items": { |
| 12 | "$ref": "Blog" |
| 13 | } |
| 14 | }, |
| 15 | "blogUserInfos": { |
| 16 | "description": "Admin level list of blog per-user information.", |
| 17 | "items": { |
| 18 | "$ref": "BlogUserInfo" |
| 19 | }, |
| 20 | "type": "array" |
| 21 | }, |
| 22 | "kind": { |
| 23 | "type": "string", |
| 24 | "description": "The kind of this entity. Always blogger#blogList." |
| 25 | } |
| 26 | } |
| 27 | }, |
| 28 | "PageList": { |
| 29 | "type": "object", |
| 30 | "id": "PageList", |
| 31 | "properties": { |
| 32 | "etag": { |
| 33 | "description": "Etag of the response.", |
| 34 | "type": "string" |
| 35 | }, |
| 36 | "nextPageToken": { |
| 37 | "description": "Pagination token to fetch the next page, if one exists.", |
| 38 | "type": "string" |
| 39 | }, |
| 40 | "items": { |
| 41 | "type": "array", |
| 42 | "description": "The list of Pages for a Blog.", |
| 43 | "items": { |
| 44 | "$ref": "Page" |
| 45 | } |
| 46 | }, |
| 47 | "kind": { |
| 48 | "description": "The kind of this entity. Always blogger#pageList.", |
| 49 | "type": "string" |
| 50 | } |
| 51 | } |
| 52 | }, |
| 53 | "Page": { |
| 54 | "properties": { |
| 55 | "url": { |
| 56 | "type": "string", |
| 57 | "description": "The URL that this Page is displayed at." |
| 58 | }, |
| 59 | "id": { |
| 60 | "description": "The identifier for this resource.", |
| 61 | "type": "string" |
| 62 | }, |
| 63 | "status": { |
| 64 | "type": "string", |
| 65 | "enumDescriptions": [ |
| 66 | "", |
| 67 | "" |
| 68 | ], |
| 69 | "enum": [ |
| 70 | "LIVE", |
| 71 | "DRAFT" |
| 72 | ], |
| 73 | "description": "The status of the page for admin resources (either LIVE or DRAFT)." |
| 74 | }, |
| 75 | "title": { |
| 76 | "type": "string", |
| 77 | "description": "The title of this entity. This is the name displayed in the Admin user interface." |
| 78 | }, |
| 79 | "blog": { |
| 80 | "properties": { |
| 81 | "id": { |
| 82 | "description": "The identifier of the blog containing this page.", |
| 83 | "type": "string" |
| 84 | } |
| 85 | }, |
| 86 | "type": "object", |
| 87 | "description": "Data about the blog containing this Page." |
| 88 | }, |
| 89 | "etag": { |
| 90 | "type": "string", |
| 91 | "description": "Etag of the resource." |
| 92 | }, |
| 93 | "selfLink": { |
| 94 | "description": "The API REST URL to fetch this resource from.", |
| 95 | "type": "string" |
| 96 | }, |
| 97 | "author": { |
| 98 | "type": "object", |
| 99 | "properties": { |
| 100 | "url": { |
| 101 | "type": "string", |
| 102 | "description": "The URL of the creator's Profile page." |
| 103 | }, |
| 104 | "image": { |
| 105 | "properties": { |
| 106 | "url": { |
| 107 | "description": "The creator's avatar URL.", |
| 108 | "type": "string" |
| 109 | } |
| 110 | }, |
| 111 | "description": "The creator's avatar.", |
| 112 | "type": "object" |
| 113 | }, |
| 114 | "id": { |
| 115 | "description": "The identifier of the creator.", |
| 116 | "type": "string" |
| 117 | }, |
| 118 | "displayName": { |
| 119 | "description": "The display name.", |
| 120 | "type": "string" |
| 121 | } |
| 122 | }, |
| 123 | "description": "The author of this Page." |
| 124 | }, |
| 125 | "updated": { |
| 126 | "type": "string", |
| 127 | "description": "RFC 3339 date-time when this Page was last updated." |
| 128 | }, |
| 129 | "content": { |
| 130 | "type": "string", |
| 131 | "description": "The body content of this Page, in HTML." |
| 132 | }, |
| 133 | "kind": { |
| 134 | "type": "string", |
| 135 | "description": "The kind of this entity. Always blogger#page." |
| 136 | }, |
| 137 | "published": { |
| 138 | "type": "string", |
| 139 | "description": "RFC 3339 date-time when this Page was published." |
| 140 | } |
| 141 | }, |
| 142 | "id": "Page", |
| 143 | "type": "object" |
| 144 | }, |
| 145 | "CommentList": { |
| 146 | "id": "CommentList", |
| 147 | "properties": { |
| 148 | "nextPageToken": { |
| 149 | "description": "Pagination token to fetch the next page, if one exists.", |
| 150 | "type": "string" |
| 151 | }, |
| 152 | "prevPageToken": { |
| 153 | "description": "Pagination token to fetch the previous page, if one exists.", |
| 154 | "type": "string" |
| 155 | }, |
| 156 | "etag": { |
| 157 | "description": "Etag of the response.", |
| 158 | "type": "string" |
| 159 | }, |
| 160 | "kind": { |
| 161 | "type": "string", |
| 162 | "description": "The kind of this entry. Always blogger#commentList." |
| 163 | }, |
| 164 | "items": { |
| 165 | "description": "The List of Comments for a Post.", |
| 166 | "type": "array", |
| 167 | "items": { |
| 168 | "$ref": "Comment" |
| 169 | } |
| 170 | } |
| 171 | }, |
| 172 | "type": "object" |
| 173 | }, |
| 174 | "BlogPerUserInfo": { |
| 175 | "type": "object", |
| 176 | "id": "BlogPerUserInfo", |
| 177 | "properties": { |
| 178 | "userId": { |
| 179 | "description": "ID of the User.", |
| 180 | "type": "string" |
| 181 | }, |
| 182 | "blogId": { |
| 183 | "type": "string", |
| 184 | "description": "ID of the Blog resource." |
| 185 | }, |
| 186 | "kind": { |
| 187 | "description": "The kind of this entity. Always blogger#blogPerUserInfo.", |
| 188 | "type": "string" |
| 189 | }, |
| 190 | "role": { |
| 191 | "type": "string", |
| 192 | "description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).", |
| 193 | "enum": [ |
| 194 | "VIEW_TYPE_UNSPECIFIED", |
| 195 | "READER", |
| 196 | "AUTHOR", |
| 197 | "ADMIN" |
| 198 | ], |
| 199 | "enumDescriptions": [ |
| 200 | "", |
| 201 | "", |
| 202 | "", |
| 203 | "" |
| 204 | ] |
| 205 | }, |
| 206 | "hasAdminAccess": { |
| 207 | "description": "True if the user has Admin level access to the blog.", |
| 208 | "type": "boolean" |
| 209 | }, |
| 210 | "photosAlbumKey": { |
| 211 | "description": "The Photo Album Key for the user when adding photos to the blog.", |
| 212 | "type": "string" |
| 213 | } |
| 214 | } |
| 215 | }, |
| 216 | "Blog": { |
| 217 | "id": "Blog", |
| 218 | "type": "object", |
| 219 | "properties": { |
| 220 | "id": { |
| 221 | "description": "The identifier for this resource.", |
| 222 | "type": "string" |
| 223 | }, |
| 224 | "locale": { |
| 225 | "properties": { |
| 226 | "country": { |
| 227 | "description": "The country this blog's locale is set to.", |
| 228 | "type": "string" |
| 229 | }, |
| 230 | "language": { |
| 231 | "type": "string", |
| 232 | "description": "The language this blog is authored in." |
| 233 | }, |
| 234 | "variant": { |
| 235 | "type": "string", |
| 236 | "description": "The language variant this blog is authored in." |
| 237 | } |
| 238 | }, |
| 239 | "description": "The locale this Blog is set to.", |
| 240 | "type": "object" |
| 241 | }, |
| 242 | "customMetaData": { |
| 243 | "description": "The JSON custom meta-data for the Blog.", |
| 244 | "type": "string" |
| 245 | }, |
| 246 | "updated": { |
| 247 | "description": "RFC 3339 date-time when this blog was last updated.", |
| 248 | "type": "string" |
| 249 | }, |
| 250 | "url": { |
| 251 | "description": "The URL where this blog is published.", |
| 252 | "type": "string" |
| 253 | }, |
| 254 | "pages": { |
| 255 | "properties": { |
| 256 | "selfLink": { |
| 257 | "type": "string", |
| 258 | "description": "The URL of the container for pages in this blog." |
| 259 | }, |
| 260 | "totalItems": { |
| 261 | "description": "The count of pages in this blog.", |
| 262 | "format": "int32", |
| 263 | "type": "integer" |
| 264 | } |
| 265 | }, |
| 266 | "description": "The container of pages in this blog.", |
| 267 | "type": "object" |
| 268 | }, |
| 269 | "status": { |
| 270 | "enumDescriptions": [ |
| 271 | "", |
| 272 | "" |
| 273 | ], |
| 274 | "description": "The status of the blog.", |
| 275 | "enum": [ |
| 276 | "LIVE", |
| 277 | "DELETED" |
| 278 | ], |
| 279 | "type": "string" |
| 280 | }, |
| 281 | "kind": { |
| 282 | "description": "The kind of this entry. Always blogger#blog.", |
| 283 | "type": "string" |
| 284 | }, |
| 285 | "published": { |
| 286 | "type": "string", |
| 287 | "description": "RFC 3339 date-time when this blog was published." |
| 288 | }, |
| 289 | "selfLink": { |
| 290 | "description": "The API REST URL to fetch this resource from.", |
| 291 | "type": "string" |
| 292 | }, |
| 293 | "description": { |
| 294 | "description": "The description of this blog. This is displayed underneath the title.", |
| 295 | "type": "string" |
| 296 | }, |
| 297 | "name": { |
| 298 | "type": "string", |
| 299 | "description": "The name of this blog. This is displayed as the title." |
| 300 | }, |
| 301 | "posts": { |
| 302 | "type": "object", |
| 303 | "description": "The container of posts in this blog.", |
| 304 | "properties": { |
| 305 | "items": { |
| 306 | "items": { |
| 307 | "$ref": "Post" |
| 308 | }, |
| 309 | "type": "array", |
| 310 | "description": "The List of Posts for this Blog." |
| 311 | }, |
| 312 | "selfLink": { |
| 313 | "description": "The URL of the container for posts in this blog.", |
| 314 | "type": "string" |
| 315 | }, |
| 316 | "totalItems": { |
| 317 | "type": "integer", |
| 318 | "format": "int32", |
| 319 | "description": "The count of posts in this blog." |
| 320 | } |
| 321 | } |
| 322 | } |
| 323 | } |
| 324 | }, |
| 325 | "PostList": { |
| 326 | "id": "PostList", |
| 327 | "type": "object", |
| 328 | "properties": { |
| 329 | "etag": { |
| 330 | "type": "string", |
| 331 | "description": "Etag of the response." |
| 332 | }, |
| 333 | "nextPageToken": { |
| 334 | "description": "Pagination token to fetch the next page, if one exists.", |
| 335 | "type": "string" |
| 336 | }, |
| 337 | "prevPageToken": { |
| 338 | "type": "string", |
| 339 | "description": "Pagination token to fetch the previous page, if one exists." |
| 340 | }, |
| 341 | "items": { |
| 342 | "type": "array", |
| 343 | "description": "The list of Posts for this Blog.", |
| 344 | "items": { |
| 345 | "$ref": "Post" |
| 346 | } |
| 347 | }, |
| 348 | "kind": { |
| 349 | "type": "string", |
| 350 | "description": "The kind of this entity. Always blogger#postList." |
| 351 | } |
| 352 | } |
| 353 | }, |
| 354 | "Comment": { |
| 355 | "properties": { |
| 356 | "selfLink": { |
| 357 | "type": "string", |
| 358 | "description": "The API REST URL to fetch this resource from." |
| 359 | }, |
| 360 | "inReplyTo": { |
| 361 | "properties": { |
| 362 | "id": { |
| 363 | "description": "The identified of the parent of this comment.", |
| 364 | "type": "string" |
| 365 | } |
| 366 | }, |
| 367 | "description": "Data about the comment this is in reply to.", |
| 368 | "type": "object" |
| 369 | }, |
| 370 | "status": { |
| 371 | "type": "string", |
| 372 | "description": "The status of the comment (only populated for admin users).", |
| 373 | "enum": [ |
| 374 | "LIVE", |
| 375 | "EMPTIED", |
| 376 | "PENDING", |
| 377 | "SPAM" |
| 378 | ], |
| 379 | "enumDescriptions": [ |
| 380 | "", |
| 381 | "", |
| 382 | "", |
| 383 | "" |
| 384 | ] |
| 385 | }, |
| 386 | "content": { |
| 387 | "description": "The actual content of the comment. May include HTML markup.", |
| 388 | "type": "string" |
| 389 | }, |
| 390 | "updated": { |
| 391 | "description": "RFC 3339 date-time when this comment was last updated.", |
| 392 | "type": "string" |
| 393 | }, |
| 394 | "blog": { |
| 395 | "type": "object", |
| 396 | "properties": { |
| 397 | "id": { |
| 398 | "type": "string", |
| 399 | "description": "The identifier of the blog containing this comment." |
| 400 | } |
| 401 | }, |
| 402 | "description": "Data about the blog containing this comment." |
| 403 | }, |
| 404 | "published": { |
| 405 | "description": "RFC 3339 date-time when this comment was published.", |
| 406 | "type": "string" |
| 407 | }, |
| 408 | "kind": { |
| 409 | "description": "The kind of this entry. Always blogger#comment.", |
| 410 | "type": "string" |
| 411 | }, |
| 412 | "author": { |
| 413 | "type": "object", |
| 414 | "description": "The author of this Comment.", |
| 415 | "properties": { |
| 416 | "url": { |
| 417 | "type": "string", |
| 418 | "description": "The URL of the creator's Profile page." |
| 419 | }, |
| 420 | "image": { |
| 421 | "description": "The creator's avatar.", |
| 422 | "type": "object", |
| 423 | "properties": { |
| 424 | "url": { |
| 425 | "description": "The creator's avatar URL.", |
| 426 | "type": "string" |
| 427 | } |
| 428 | } |
| 429 | }, |
| 430 | "id": { |
| 431 | "description": "The identifier of the creator.", |
| 432 | "type": "string" |
| 433 | }, |
| 434 | "displayName": { |
| 435 | "type": "string", |
| 436 | "description": "The display name." |
| 437 | } |
| 438 | } |
| 439 | }, |
| 440 | "id": { |
| 441 | "description": "The identifier for this resource.", |
| 442 | "type": "string" |
| 443 | }, |
| 444 | "post": { |
| 445 | "properties": { |
| 446 | "id": { |
| 447 | "description": "The identifier of the post containing this comment.", |
| 448 | "type": "string" |
| 449 | } |
| 450 | }, |
| 451 | "type": "object", |
| 452 | "description": "Data about the post containing this comment." |
| 453 | } |
| 454 | }, |
| 455 | "type": "object", |
| 456 | "id": "Comment" |
| 457 | }, |
| 458 | "User": { |
| 459 | "properties": { |
| 460 | "kind": { |
| 461 | "description": "The kind of this entity. Always blogger#user.", |
| 462 | "type": "string" |
| 463 | }, |
| 464 | "locale": { |
| 465 | "properties": { |
| 466 | "language": { |
| 467 | "description": "The language this blog is authored in.", |
| 468 | "type": "string" |
| 469 | }, |
| 470 | "variant": { |
| 471 | "type": "string", |
| 472 | "description": "The language variant this blog is authored in." |
| 473 | }, |
| 474 | "country": { |
| 475 | "type": "string", |
| 476 | "description": "The country this blog's locale is set to." |
| 477 | } |
| 478 | }, |
| 479 | "type": "object", |
| 480 | "description": "This user's locale" |
| 481 | }, |
| 482 | "url": { |
| 483 | "type": "string", |
| 484 | "description": "The user's profile page." |
| 485 | }, |
| 486 | "id": { |
| 487 | "description": "The identifier for this User.", |
| 488 | "type": "string" |
| 489 | }, |
| 490 | "blogs": { |
| 491 | "properties": { |
| 492 | "selfLink": { |
| 493 | "type": "string", |
| 494 | "description": "The URL of the Blogs for this user." |
| 495 | } |
| 496 | }, |
| 497 | "type": "object", |
| 498 | "description": "The container of blogs for this user." |
| 499 | }, |
| 500 | "created": { |
| 501 | "description": "The timestamp of when this profile was created, in seconds since epoch.", |
| 502 | "type": "string" |
| 503 | }, |
| 504 | "selfLink": { |
| 505 | "description": "The API REST URL to fetch this resource from.", |
| 506 | "type": "string" |
| 507 | }, |
| 508 | "displayName": { |
| 509 | "description": "The display name.", |
| 510 | "type": "string" |
| 511 | }, |
| 512 | "about": { |
| 513 | "type": "string", |
| 514 | "description": "Profile summary information." |
| 515 | } |
| 516 | }, |
| 517 | "id": "User", |
| 518 | "type": "object" |
| 519 | }, |
| 520 | "Post": { |
| 521 | "type": "object", |
| 522 | "id": "Post", |
| 523 | "properties": { |
| 524 | "titleLink": { |
| 525 | "description": "The title link URL, similar to atom's related link.", |
| 526 | "type": "string" |
| 527 | }, |
| 528 | "location": { |
| 529 | "properties": { |
| 530 | "name": { |
| 531 | "description": "Location name.", |
| 532 | "type": "string" |
| 533 | }, |
| 534 | "lat": { |
| 535 | "description": "Location's latitude.", |
| 536 | "format": "double", |
| 537 | "type": "number" |
| 538 | }, |
| 539 | "lng": { |
| 540 | "type": "number", |
| 541 | "description": "Location's longitude.", |
| 542 | "format": "double" |
| 543 | }, |
| 544 | "span": { |
| 545 | "description": "Location's viewport span. Can be used when rendering a map preview.", |
| 546 | "type": "string" |
| 547 | } |
| 548 | }, |
| 549 | "description": "The location for geotagged posts.", |
| 550 | "type": "object" |
| 551 | }, |
| 552 | "title": { |
| 553 | "description": "The title of the Post.", |
| 554 | "type": "string" |
| 555 | }, |
| 556 | "customMetaData": { |
| 557 | "description": "The JSON meta-data for the Post.", |
| 558 | "type": "string" |
| 559 | }, |
| 560 | "readerComments": { |
| 561 | "enum": [ |
| 562 | "ALLOW", |
| 563 | "DONT_ALLOW_SHOW_EXISTING", |
| 564 | "DONT_ALLOW_HIDE_EXISTING" |
| 565 | ], |
| 566 | "enumDescriptions": [ |
| 567 | "", |
| 568 | "", |
| 569 | "" |
| 570 | ], |
| 571 | "type": "string", |
| 572 | "description": "Comment control and display setting for readers of this post." |
| 573 | }, |
| 574 | "updated": { |
| 575 | "description": "RFC 3339 date-time when this Post was last updated.", |
| 576 | "type": "string" |
| 577 | }, |
| 578 | "status": { |
| 579 | "type": "string", |
| 580 | "description": "Status of the post. Only set for admin-level requests.", |
| 581 | "enum": [ |
| 582 | "LIVE", |
| 583 | "DRAFT", |
| 584 | "SCHEDULED" |
| 585 | ], |
| 586 | "enumDescriptions": [ |
| 587 | "", |
| 588 | "", |
| 589 | "" |
| 590 | ] |
| 591 | }, |
| 592 | "url": { |
| 593 | "type": "string", |
| 594 | "description": "The URL where this Post is displayed." |
| 595 | }, |
| 596 | "author": { |
| 597 | "description": "The author of this Post.", |
| 598 | "properties": { |
| 599 | "image": { |
| 600 | "properties": { |
| 601 | "url": { |
| 602 | "type": "string", |
| 603 | "description": "The creator's avatar URL." |
| 604 | } |
| 605 | }, |
| 606 | "type": "object", |
| 607 | "description": "The creator's avatar." |
| 608 | }, |
| 609 | "id": { |
| 610 | "description": "The identifier of the creator.", |
| 611 | "type": "string" |
| 612 | }, |
| 613 | "displayName": { |
| 614 | "type": "string", |
| 615 | "description": "The display name." |
| 616 | }, |
| 617 | "url": { |
| 618 | "description": "The URL of the creator's Profile page.", |
| 619 | "type": "string" |
| 620 | } |
| 621 | }, |
| 622 | "type": "object" |
| 623 | }, |
| 624 | "labels": { |
| 625 | "description": "The list of labels this Post was tagged with.", |
| 626 | "items": { |
| 627 | "type": "string" |
| 628 | }, |
| 629 | "type": "array" |
| 630 | }, |
| 631 | "kind": { |
| 632 | "type": "string", |
| 633 | "description": "The kind of this entity. Always blogger#post." |
| 634 | }, |
| 635 | "selfLink": { |
| 636 | "type": "string", |
| 637 | "description": "The API REST URL to fetch this resource from." |
| 638 | }, |
| 639 | "replies": { |
| 640 | "description": "The container of comments on this Post.", |
| 641 | "properties": { |
| 642 | "selfLink": { |
| 643 | "type": "string", |
| 644 | "description": "The URL of the comments on this post." |
| 645 | }, |
| 646 | "items": { |
| 647 | "description": "The List of Comments for this Post.", |
| 648 | "items": { |
| 649 | "$ref": "Comment" |
| 650 | }, |
| 651 | "type": "array" |
| 652 | }, |
| 653 | "totalItems": { |
| 654 | "description": "The count of comments on this post.", |
| 655 | "type": "string", |
| 656 | "format": "int64" |
| 657 | } |
| 658 | }, |
| 659 | "type": "object" |
| 660 | }, |
| 661 | "id": { |
| 662 | "description": "The identifier of this Post.", |
| 663 | "type": "string" |
| 664 | }, |
| 665 | "images": { |
| 666 | "description": "Display image for the Post.", |
| 667 | "items": { |
| 668 | "type": "object", |
| 669 | "properties": { |
| 670 | "url": { |
| 671 | "type": "string" |
| 672 | } |
| 673 | } |
| 674 | }, |
| 675 | "type": "array" |
| 676 | }, |
| 677 | "etag": { |
| 678 | "description": "Etag of the resource.", |
| 679 | "type": "string" |
| 680 | }, |
| 681 | "content": { |
| 682 | "description": "The content of the Post. May contain HTML markup.", |
| 683 | "type": "string" |
| 684 | }, |
| 685 | "published": { |
| 686 | "description": "RFC 3339 date-time when this Post was published.", |
| 687 | "type": "string" |
| 688 | }, |
| 689 | "blog": { |
| 690 | "type": "object", |
| 691 | "properties": { |
| 692 | "id": { |
| 693 | "description": "The identifier of the Blog that contains this Post.", |
| 694 | "type": "string" |
| 695 | } |
| 696 | }, |
| 697 | "description": "Data about the blog containing this Post." |
| 698 | } |
| 699 | } |
| 700 | }, |
| 701 | "BlogUserInfo": { |
| 702 | "id": "BlogUserInfo", |
| 703 | "type": "object", |
| 704 | "properties": { |
| 705 | "kind": { |
| 706 | "type": "string", |
| 707 | "description": "The kind of this entity. Always blogger#blogUserInfo." |
| 708 | }, |
| 709 | "blog_user_info": { |
| 710 | "description": "Information about a User for the Blog.", |
| 711 | "$ref": "BlogPerUserInfo" |
| 712 | }, |
| 713 | "blog": { |
| 714 | "description": "The Blog resource.", |
| 715 | "$ref": "Blog" |
| 716 | } |
| 717 | } |
| 718 | } |
| 719 | }, |
| 720 | "id": "blogger:v2", |
| 721 | "protocol": "rest", |
| 722 | "kind": "discovery#restDescription", |
| 723 | "ownerDomain": "google.com", |
| 724 | "basePath": "", |
| 725 | "auth": { |
| 726 | "oauth2": { |
| 727 | "scopes": { |
| 728 | "https://www.googleapis.com/auth/blogger": { |
| 729 | "description": "Manage your Blogger account" |
| 730 | } |
| 731 | } |
| 732 | } |
| 733 | }, |
| 734 | "resources": { |
| 735 | "users": { |
| 736 | "methods": { |
| 737 | "get": { |
| 738 | "description": "Gets a user by user id.", |
| 739 | "path": "v2/users/{userId}", |
| 740 | "parameters": { |
| 741 | "userId": { |
| 742 | "location": "path", |
| 743 | "required": true, |
| 744 | "type": "string" |
| 745 | } |
| 746 | }, |
| 747 | "httpMethod": "GET", |
| 748 | "response": { |
| 749 | "$ref": "User" |
| 750 | }, |
| 751 | "scopes": [ |
| 752 | "https://www.googleapis.com/auth/blogger" |
| 753 | ], |
| 754 | "parameterOrder": [ |
| 755 | "userId" |
| 756 | ], |
| 757 | "flatPath": "v2/users/{userId}", |
| 758 | "id": "blogger.users.get" |
| 759 | } |
| 760 | } |
| 761 | }, |
| 762 | "comments": { |
| 763 | "methods": { |
| 764 | "list": { |
| 765 | "flatPath": "v2/blogs/{blogId}/posts/{postId}/comments", |
| 766 | "parameterOrder": [ |
| 767 | "blogId", |
| 768 | "postId" |
| 769 | ], |
| 770 | "parameters": { |
| 771 | "blogId": { |
| 772 | "location": "path", |
| 773 | "required": true, |
| 774 | "type": "string" |
| 775 | }, |
| 776 | "fetchBodies": { |
| 777 | "location": "query", |
| 778 | "type": "boolean" |
| 779 | }, |
| 780 | "postId": { |
| 781 | "location": "path", |
| 782 | "type": "string", |
| 783 | "required": true |
| 784 | }, |
| 785 | "startDate": { |
| 786 | "location": "query", |
| 787 | "type": "string" |
| 788 | }, |
| 789 | "pageToken": { |
| 790 | "type": "string", |
| 791 | "location": "query" |
| 792 | }, |
| 793 | "maxResults": { |
| 794 | "format": "uint32", |
| 795 | "type": "integer", |
| 796 | "location": "query" |
| 797 | } |
| 798 | }, |
| 799 | "id": "blogger.comments.list", |
| 800 | "path": "v2/blogs/{blogId}/posts/{postId}/comments", |
| 801 | "response": { |
| 802 | "$ref": "CommentList" |
| 803 | }, |
| 804 | "scopes": [ |
| 805 | "https://www.googleapis.com/auth/blogger" |
| 806 | ], |
| 807 | "description": "Lists comments.", |
| 808 | "httpMethod": "GET" |
| 809 | }, |
| 810 | "get": { |
| 811 | "flatPath": "v2/blogs/{blogId}/posts/{postId}/comments/{commentId}", |
| 812 | "httpMethod": "GET", |
| 813 | "parameterOrder": [ |
| 814 | "blogId", |
| 815 | "postId", |
| 816 | "commentId" |
| 817 | ], |
| 818 | "response": { |
| 819 | "$ref": "Comment" |
| 820 | }, |
| 821 | "description": "Gets a comment by blog id, post id and comment id.", |
| 822 | "scopes": [ |
| 823 | "https://www.googleapis.com/auth/blogger" |
| 824 | ], |
| 825 | "parameters": { |
| 826 | "commentId": { |
| 827 | "location": "path", |
| 828 | "type": "string", |
| 829 | "required": true |
| 830 | }, |
| 831 | "blogId": { |
| 832 | "location": "path", |
| 833 | "required": true, |
| 834 | "type": "string" |
| 835 | }, |
| 836 | "postId": { |
| 837 | "location": "path", |
| 838 | "required": true, |
| 839 | "type": "string" |
| 840 | } |
| 841 | }, |
| 842 | "path": "v2/blogs/{blogId}/posts/{postId}/comments/{commentId}", |
| 843 | "id": "blogger.comments.get" |
| 844 | } |
| 845 | } |
| 846 | }, |
| 847 | "blogs": { |
| 848 | "methods": { |
| 849 | "get": { |
| 850 | "path": "v2/blogs/{blogId}", |
| 851 | "scopes": [ |
| 852 | "https://www.googleapis.com/auth/blogger" |
| 853 | ], |
| 854 | "response": { |
| 855 | "$ref": "Blog" |
| 856 | }, |
| 857 | "description": "Gets a blog by id.", |
| 858 | "parameterOrder": [ |
| 859 | "blogId" |
| 860 | ], |
| 861 | "httpMethod": "GET", |
| 862 | "id": "blogger.blogs.get", |
| 863 | "flatPath": "v2/blogs/{blogId}", |
| 864 | "parameters": { |
| 865 | "blogId": { |
| 866 | "type": "string", |
| 867 | "required": true, |
| 868 | "location": "path" |
| 869 | } |
| 870 | } |
| 871 | }, |
| 872 | "list": { |
| 873 | "flatPath": "v2/users/{userId}/blogs", |
| 874 | "scopes": [ |
| 875 | "https://www.googleapis.com/auth/blogger" |
| 876 | ], |
| 877 | "parameterOrder": [ |
| 878 | "userId" |
| 879 | ], |
| 880 | "description": "Lists blogs by user id, possibly filtered.", |
| 881 | "response": { |
| 882 | "$ref": "BlogList" |
| 883 | }, |
| 884 | "path": "v2/users/{userId}/blogs", |
| 885 | "httpMethod": "GET", |
| 886 | "parameters": { |
| 887 | "userId": { |
| 888 | "required": true, |
| 889 | "location": "path", |
| 890 | "type": "string" |
| 891 | } |
| 892 | }, |
| 893 | "id": "blogger.blogs.list" |
| 894 | } |
| 895 | } |
| 896 | }, |
| 897 | "pages": { |
| 898 | "methods": { |
| 899 | "list": { |
| 900 | "id": "blogger.pages.list", |
| 901 | "response": { |
| 902 | "$ref": "PageList" |
| 903 | }, |
| 904 | "description": "Lists pages.", |
| 905 | "path": "v2/blogs/{blogId}/pages", |
| 906 | "parameters": { |
| 907 | "fetchBodies": { |
| 908 | "location": "query", |
| 909 | "type": "boolean" |
| 910 | }, |
| 911 | "blogId": { |
| 912 | "required": true, |
| 913 | "location": "path", |
| 914 | "type": "string" |
| 915 | } |
| 916 | }, |
| 917 | "scopes": [ |
| 918 | "https://www.googleapis.com/auth/blogger" |
| 919 | ], |
| 920 | "httpMethod": "GET", |
| 921 | "flatPath": "v2/blogs/{blogId}/pages", |
| 922 | "parameterOrder": [ |
| 923 | "blogId" |
| 924 | ] |
| 925 | }, |
| 926 | "get": { |
| 927 | "id": "blogger.pages.get", |
| 928 | "response": { |
| 929 | "$ref": "Page" |
| 930 | }, |
| 931 | "scopes": [ |
| 932 | "https://www.googleapis.com/auth/blogger" |
| 933 | ], |
| 934 | "description": "Gets a page by blog id and page id.", |
| 935 | "parameters": { |
| 936 | "blogId": { |
| 937 | "type": "string", |
| 938 | "location": "path", |
| 939 | "required": true |
| 940 | }, |
| 941 | "pageId": { |
| 942 | "location": "path", |
| 943 | "required": true, |
| 944 | "type": "string" |
| 945 | } |
| 946 | }, |
| 947 | "flatPath": "v2/blogs/{blogId}/pages/{pageId}", |
| 948 | "httpMethod": "GET", |
| 949 | "parameterOrder": [ |
| 950 | "blogId", |
| 951 | "pageId" |
| 952 | ], |
| 953 | "path": "v2/blogs/{blogId}/pages/{pageId}" |
| 954 | } |
| 955 | } |
| 956 | }, |
| 957 | "posts": { |
| 958 | "methods": { |
| 959 | "list": { |
| 960 | "response": { |
| 961 | "$ref": "PostList" |
| 962 | }, |
| 963 | "parameters": { |
| 964 | "fetchBodies": { |
| 965 | "type": "boolean", |
| 966 | "location": "query" |
| 967 | }, |
| 968 | "startDate": { |
| 969 | "type": "string", |
| 970 | "location": "query" |
| 971 | }, |
| 972 | "blogId": { |
| 973 | "type": "string", |
| 974 | "required": true, |
| 975 | "location": "path" |
| 976 | }, |
| 977 | "maxResults": { |
| 978 | "type": "integer", |
| 979 | "location": "query", |
| 980 | "format": "uint32" |
| 981 | }, |
| 982 | "pageToken": { |
| 983 | "type": "string", |
| 984 | "location": "query" |
| 985 | } |
| 986 | }, |
| 987 | "scopes": [ |
| 988 | "https://www.googleapis.com/auth/blogger" |
| 989 | ], |
| 990 | "httpMethod": "GET", |
| 991 | "id": "blogger.posts.list", |
| 992 | "description": "Lists posts.", |
| 993 | "flatPath": "v2/blogs/{blogId}/posts", |
| 994 | "path": "v2/blogs/{blogId}/posts", |
| 995 | "parameterOrder": [ |
| 996 | "blogId" |
| 997 | ] |
| 998 | }, |
| 999 | "get": { |
| 1000 | "parameters": { |
| 1001 | "blogId": { |
| 1002 | "type": "string", |
| 1003 | "location": "path", |
| 1004 | "required": true |
| 1005 | }, |
| 1006 | "postId": { |
| 1007 | "location": "path", |
| 1008 | "type": "string", |
| 1009 | "required": true |
| 1010 | } |
| 1011 | }, |
| 1012 | "flatPath": "v2/blogs/{blogId}/posts/{postId}", |
| 1013 | "response": { |
| 1014 | "$ref": "Post" |
| 1015 | }, |
| 1016 | "scopes": [ |
| 1017 | "https://www.googleapis.com/auth/blogger" |
| 1018 | ], |
| 1019 | "id": "blogger.posts.get", |
| 1020 | "description": "Gets a post by blog id and post id", |
| 1021 | "path": "v2/blogs/{blogId}/posts/{postId}", |
| 1022 | "httpMethod": "GET", |
| 1023 | "parameterOrder": [ |
| 1024 | "blogId", |
| 1025 | "postId" |
| 1026 | ] |
| 1027 | } |
| 1028 | } |
| 1029 | } |
| 1030 | }, |
| 1031 | "rootUrl": "https://blogger.googleapis.com/", |
| 1032 | "servicePath": "", |
| 1033 | "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", |
| 1034 | "description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.", |
| 1035 | "baseUrl": "https://blogger.googleapis.com/", |
| 1036 | "revision": "20200801", |
| 1037 | "discoveryVersion": "v1", |
| 1038 | "mtlsRootUrl": "https://blogger.mtls.googleapis.com/", |
| 1039 | "ownerName": "Google", |
| 1040 | "icons": { |
| 1041 | "x32": "http://www.google.com/images/icons/product/search-32.gif", |
| 1042 | "x16": "http://www.google.com/images/icons/product/search-16.gif" |
| 1043 | }, |
| 1044 | "version": "v2", |
| 1045 | "title": "Blogger API v3", |
| 1046 | "fullyEncodeReservedExpansion": true, |
| 1047 | "parameters": { |
| 1048 | "uploadType": { |
| 1049 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 1050 | "location": "query", |
| 1051 | "type": "string" |
| 1052 | }, |
| 1053 | "callback": { |
| 1054 | "type": "string", |
| 1055 | "description": "JSONP", |
| 1056 | "location": "query" |
| 1057 | }, |
| 1058 | "alt": { |
| 1059 | "enumDescriptions": [ |
| 1060 | "Responses with Content-Type of application/json", |
| 1061 | "Media download with context-dependent Content-Type", |
| 1062 | "Responses with Content-Type of application/x-protobuf" |
| 1063 | ], |
| 1064 | "enum": [ |
| 1065 | "json", |
| 1066 | "media", |
| 1067 | "proto" |
| 1068 | ], |
| 1069 | "location": "query", |
| 1070 | "default": "json", |
| 1071 | "type": "string", |
| 1072 | "description": "Data format for response." |
| 1073 | }, |
| 1074 | "fields": { |
| 1075 | "type": "string", |
| 1076 | "description": "Selector specifying which fields to include in a partial response.", |
| 1077 | "location": "query" |
| 1078 | }, |
| 1079 | "prettyPrint": { |
| 1080 | "default": "true", |
| 1081 | "type": "boolean", |
| 1082 | "location": "query", |
| 1083 | "description": "Returns response with indentations and line breaks." |
| 1084 | }, |
| 1085 | "access_token": { |
| 1086 | "description": "OAuth access token.", |
| 1087 | "location": "query", |
| 1088 | "type": "string" |
| 1089 | }, |
| 1090 | "upload_protocol": { |
| 1091 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 1092 | "location": "query", |
| 1093 | "type": "string" |
| 1094 | }, |
| 1095 | "oauth_token": { |
| 1096 | "description": "OAuth 2.0 token for the current user.", |
| 1097 | "location": "query", |
| 1098 | "type": "string" |
| 1099 | }, |
| 1100 | "$.xgafv": { |
| 1101 | "description": "V1 error format.", |
| 1102 | "type": "string", |
| 1103 | "enum": [ |
| 1104 | "1", |
| 1105 | "2" |
| 1106 | ], |
| 1107 | "enumDescriptions": [ |
| 1108 | "v1 error format", |
| 1109 | "v2 error format" |
| 1110 | ], |
| 1111 | "location": "query" |
| 1112 | }, |
| 1113 | "quotaUser": { |
| 1114 | "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.", |
| 1115 | "type": "string", |
| 1116 | "location": "query" |
| 1117 | }, |
| 1118 | "key": { |
| 1119 | "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.", |
| 1120 | "type": "string", |
| 1121 | "location": "query" |
| 1122 | } |
| 1123 | }, |
| 1124 | "name": "blogger", |
| 1125 | "canonicalName": "Blogger" |
| 1126 | } |