1{ 2 "kind": "discovery#restDescription", 3 "id": "plus:v1", 4 "name": "plus", 5 "version": "v1", 6 "title": "Google+ API", 7 "description": "The Google+ API enables developers to build on top of the Google+ platform.", 8 "icons": { 9 "x16": "http://www.google.com/images/icons/product/gplus-16.png", 10 "x32": "http://www.google.com/images/icons/product/gplus-32.png" 11 }, 12 "documentationLink": "http://developers.google.com/+/api/", 13 "labels": [ 14 "labs" 15 ], 16 "protocol": "rest", 17 "basePath": "/plus/v1/", 18 "rootUrl": "https://www.googleapis.com/", 19 "servicePath": "plus/v1/", 20 "parameters": { 21 "alt": { 22 "type": "string", 23 "description": "Data format for the response.", 24 "default": "json", 25 "enum": [ 26 "json" 27 ], 28 "enumDescriptions": [ 29 "Responses with Content-Type of application/json" 30 ], 31 "location": "query" 32 }, 33 "fields": { 34 "type": "string", 35 "description": "Selector specifying which fields to include in a partial response.", 36 "location": "query" 37 }, 38 "key": { 39 "type": "string", 40 "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.", 41 "location": "query" 42 }, 43 "oauth_token": { 44 "type": "string", 45 "description": "OAuth 2.0 token for the current user.", 46 "location": "query" 47 }, 48 "prettyPrint": { 49 "type": "boolean", 50 "description": "Returns response with indentations and line breaks.", 51 "default": "true", 52 "location": "query" 53 }, 54 "quotaUser": { 55 "type": "string", 56 "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. Overrides userIp if both are provided.", 57 "location": "query" 58 }, 59 "userIp": { 60 "type": "string", 61 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", 62 "location": "query" 63 } 64 }, 65 "auth": { 66 "oauth2": { 67 "scopes": { 68 "https://www.googleapis.com/auth/plus.me": { 69 "description": "Know who you are on Google" 70 } 71 } 72 } 73 }, 74 "schemas": { 75 "Acl": { 76 "id": "Acl", 77 "type": "object", 78 "properties": { 79 "description": { 80 "type": "string", 81 "description": "Description of the access granted, suitable for display." 82 }, 83 "items": { 84 "type": "array", 85 "description": "The list of access entries.", 86 "items": { 87 "$ref": "PlusAclentryResource" 88 } 89 }, 90 "kind": { 91 "type": "string", 92 "description": "Identifies this resource as a collection of access controls. Value: \"plus#acl\".", 93 "default": "plus#acl" 94 } 95 } 96 }, 97 "Activity": { 98 "id": "Activity", 99 "type": "object", 100 "properties": { 101 "access": { 102 "$ref": "Acl", 103 "description": "Identifies who has access to see this activity." 104 }, 105 "actor": { 106 "type": "object", 107 "description": "The person who performed this activity.", 108 "properties": { 109 "displayName": { 110 "type": "string", 111 "description": "The name of the actor, suitable for display." 112 }, 113 "id": { 114 "type": "string", 115 "description": "The ID of the actor's person resource." 116 }, 117 "image": { 118 "type": "object", 119 "description": "The image representation of the actor.", 120 "properties": { 121 "url": { 122 "type": "string", 123 "description": "The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side." 124 } 125 } 126 }, 127 "url": { 128 "type": "string", 129 "description": "The link to the actor's Google profile." 130 } 131 } 132 }, 133 "address": { 134 "type": "string", 135 "description": "Street address where this activity occurred." 136 }, 137 "annotation": { 138 "type": "string", 139 "description": "Additional content added by the person who shared this activity, applicable only when resharing an activity." 140 }, 141 "crosspostSource": { 142 "type": "string", 143 "description": "If this activity is a crosspost from another system, this property specifies the ID of the original activity." 144 }, 145 "geocode": { 146 "type": "string", 147 "description": "Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated." 148 }, 149 "id": { 150 "type": "string", 151 "description": "The ID of this activity." 152 }, 153 "kind": { 154 "type": "string", 155 "description": "Identifies this resource as an activity. Value: \"plus#activity\".", 156 "default": "plus#activity" 157 }, 158 "object": { 159 "type": "object", 160 "description": "The object of this activity.", 161 "properties": { 162 "actor": { 163 "type": "object", 164 "description": "If this activity's object is itself another activity (for example, when a person reshares an activity), this property specifies the original activity's actor.", 165 "properties": { 166 "displayName": { 167 "type": "string", 168 "description": "The original actor's name, suitable for display." 169 }, 170 "id": { 171 "type": "string", 172 "description": "ID of the original actor." 173 }, 174 "image": { 175 "type": "object", 176 "description": "The image representation of the original actor.", 177 "properties": { 178 "url": { 179 "type": "string", 180 "description": "A URL that points to a thumbnail photo of the original actor." 181 } 182 } 183 }, 184 "url": { 185 "type": "string", 186 "description": "A link to the original actor's Google profile." 187 } 188 } 189 }, 190 "attachments": { 191 "type": "array", 192 "description": "The media objects attached to this activity.", 193 "items": { 194 "type": "object", 195 "properties": { 196 "categories": { 197 "type": "array", 198 "description": "Specifies zero or more categories the attachment belongs to.", 199 "items": { 200 "type": "object", 201 "properties": { 202 "label": { 203 "type": "string", 204 "description": "The category label, suitable for display (e.g. \"album cover\")." 205 }, 206 "schema": { 207 "type": "string", 208 "description": "Domain of schema, e.g. http://google.com." 209 }, 210 "term": { 211 "type": "string", 212 "description": "The tag, e.g. album." 213 } 214 } 215 } 216 }, 217 "content": { 218 "type": "string", 219 "description": "If the attachment is an article, this property contains a snippet of text from the article." 220 }, 221 "contentsource": { 222 "type": "object", 223 "description": "If the attachment is audio, the link to the content.", 224 "properties": { 225 "type": { 226 "type": "string", 227 "description": "Media type of the link." 228 }, 229 "url": { 230 "type": "string", 231 "description": "URL of the link." 232 } 233 } 234 }, 235 "displayName": { 236 "type": "string", 237 "description": "The title of the attachment (such as a photo caption or an article title)." 238 }, 239 "embed": { 240 "type": "object", 241 "description": "If the attachment is a video, the embeddable link.", 242 "properties": { 243 "type": { 244 "type": "string", 245 "description": "Media type of the link." 246 }, 247 "url": { 248 "type": "string", 249 "description": "URL of the link." 250 } 251 } 252 }, 253 "fullImage": { 254 "type": "object", 255 "description": "The full image url for photo attachments.", 256 "properties": { 257 "height": { 258 "type": "integer", 259 "description": "The height, in pixels, of the linked resource.", 260 "format": "uint32" 261 }, 262 "type": { 263 "type": "string", 264 "description": "Media type of the link." 265 }, 266 "url": { 267 "type": "string", 268 "description": "URL of the link." 269 }, 270 "width": { 271 "type": "integer", 272 "description": "The width, in pixels, of the linked resource.", 273 "format": "uint32" 274 } 275 } 276 }, 277 "id": { 278 "type": "string", 279 "description": "The ID of the media object's resource." 280 }, 281 "image": { 282 "type": "object", 283 "description": "The preview image for photos or videos.", 284 "properties": { 285 "height": { 286 "type": "integer", 287 "description": "The height, in pixels, of the linked resource.", 288 "format": "uint32" 289 }, 290 "type": { 291 "type": "string", 292 "description": "Media type of the link." 293 }, 294 "url": { 295 "type": "string", 296 "description": "URL of the link." 297 }, 298 "width": { 299 "type": "integer", 300 "description": "The width, in pixels, of the linked resource.", 301 "format": "uint32" 302 } 303 } 304 }, 305 "objectType": { 306 "type": "string", 307 "description": "The type of media object. Possible values are: \n- \"photo\" - A photo. \n- \"video\" - A video. \n- \"article\" - An article, specified by a link." 308 }, 309 "url": { 310 "type": "string", 311 "description": "The link to the attachment, should be of type text/html." 312 } 313 } 314 } 315 }, 316 "content": { 317 "type": "string", 318 "description": "The HTML-formatted content, suitable for display. When creating or updating an activity, this value must be supplied as plain text in the request. If successful, the response will contain the HTML-formatted content. When updating an activity, use originalContent as the starting value, then assign the updated text to this property." 319 }, 320 "id": { 321 "type": "string", 322 "description": "The ID of the object. When resharing an activity, this is the ID of the activity being reshared." 323 }, 324 "objectType": { 325 "type": "string", 326 "description": "The type of the object. Possible values are: \n- \"note\" - Textual content. \n- \"activity\" - A Google+ activity." 327 }, 328 "originalContent": { 329 "type": "string", 330 "description": "The content (text) as provided by the author, stored without any HTML formatting. When updating an activity's content, use the value of originalContent as the starting point from which to make edits." 331 }, 332 "plusoners": { 333 "type": "object", 334 "description": "People who +1'd this activity.", 335 "properties": { 336 "selfLink": { 337 "type": "string", 338 "description": "The URL for the collection of people who +1'd this activity." 339 }, 340 "totalItems": { 341 "type": "integer", 342 "description": "Total number of people who +1'd this activity.", 343 "format": "uint32" 344 } 345 } 346 }, 347 "replies": { 348 "type": "object", 349 "description": "Comments in reply to this activity.", 350 "properties": { 351 "selfLink": { 352 "type": "string", 353 "description": "The URL for the collection of comments in reply to this activity." 354 }, 355 "totalItems": { 356 "type": "integer", 357 "description": "Total number of comments on this activity.", 358 "format": "uint32" 359 } 360 } 361 }, 362 "resharers": { 363 "type": "object", 364 "description": "People who reshared this activity.", 365 "properties": { 366 "selfLink": { 367 "type": "string", 368 "description": "The URL for the collection of resharers." 369 }, 370 "totalItems": { 371 "type": "integer", 372 "description": "Total number of people who reshared this activity.", 373 "format": "uint32" 374 } 375 } 376 }, 377 "url": { 378 "type": "string", 379 "description": "The URL that points to the linked resource." 380 } 381 } 382 }, 383 "placeId": { 384 "type": "string", 385 "description": "ID of the place where this activity occurred." 386 }, 387 "placeName": { 388 "type": "string", 389 "description": "Name of the place where this activity occurred." 390 }, 391 "placeholder": { 392 "type": "boolean", 393 "description": "True if this activity is a placeholder." 394 }, 395 "provider": { 396 "type": "object", 397 "description": "The service provider that initially published this activity.", 398 "properties": { 399 "title": { 400 "type": "string", 401 "description": "Name of the service provider." 402 } 403 } 404 }, 405 "published": { 406 "type": "string", 407 "description": "The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.", 408 "format": "date-time" 409 }, 410 "radius": { 411 "type": "string", 412 "description": "Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode." 413 }, 414 "title": { 415 "type": "string", 416 "description": "Title of this activity." 417 }, 418 "updated": { 419 "type": "string", 420 "description": "The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.", 421 "format": "date-time" 422 }, 423 "url": { 424 "type": "string", 425 "description": "The link to this activity." 426 }, 427 "verb": { 428 "type": "string", 429 "description": "This activity's verb, indicating what action was performed. Possible values are: \n- \"post\" - Publish content to the stream. \n- \"checkin\" - Check in to a location. \n- \"share\" - Reshare an activity." 430 } 431 } 432 }, 433 "ActivityFeed": { 434 "id": "ActivityFeed", 435 "type": "object", 436 "properties": { 437 "id": { 438 "type": "string", 439 "description": "The ID of this collection of activities." 440 }, 441 "items": { 442 "type": "array", 443 "description": "The activities in this page of results.", 444 "items": { 445 "$ref": "Activity" 446 } 447 }, 448 "kind": { 449 "type": "string", 450 "description": "Identifies this resource as a collection of activities. Value: \"plus#activityFeed\".", 451 "default": "plus#activityFeed" 452 }, 453 "nextLink": { 454 "type": "string", 455 "description": "Link to the next page of activities." 456 }, 457 "nextPageToken": { 458 "type": "string", 459 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results." 460 }, 461 "selfLink": { 462 "type": "string", 463 "description": "Link to this activity resource." 464 }, 465 "title": { 466 "type": "string", 467 "description": "The title of this collection of activities." 468 }, 469 "updated": { 470 "type": "string", 471 "description": "The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp.", 472 "format": "date-time" 473 } 474 } 475 }, 476 "Comment": { 477 "id": "Comment", 478 "type": "object", 479 "properties": { 480 "actor": { 481 "type": "object", 482 "description": "The person who posted this comment.", 483 "properties": { 484 "displayName": { 485 "type": "string", 486 "description": "The name of this actor, suitable for display." 487 }, 488 "id": { 489 "type": "string", 490 "description": "The ID of the actor." 491 }, 492 "image": { 493 "type": "object", 494 "description": "The image representation of this actor.", 495 "properties": { 496 "url": { 497 "type": "string", 498 "description": "The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side." 499 } 500 } 501 }, 502 "url": { 503 "type": "string", 504 "description": "A link to the person resource for this actor." 505 } 506 } 507 }, 508 "id": { 509 "type": "string", 510 "description": "The ID of this comment." 511 }, 512 "inReplyTo": { 513 "type": "array", 514 "description": "The activity this comment replied to.", 515 "items": { 516 "type": "object", 517 "properties": { 518 "id": { 519 "type": "string", 520 "description": "The id of the activity." 521 }, 522 "url": { 523 "type": "string", 524 "description": "The url of the activity." 525 } 526 } 527 } 528 }, 529 "kind": { 530 "type": "string", 531 "description": "Identifies this resource as a comment. Value: \"plus#comment\".", 532 "default": "plus#comment" 533 }, 534 "object": { 535 "type": "object", 536 "description": "The object of this comment.", 537 "properties": { 538 "content": { 539 "type": "string", 540 "description": "The content of this comment." 541 }, 542 "objectType": { 543 "type": "string", 544 "description": "The object type of this comment. Possible values are: \n- \"comment\" - A comment in reply to an activity.", 545 "default": "comment" 546 } 547 } 548 }, 549 "published": { 550 "type": "string", 551 "description": "The time at which this comment was initially published. Formatted as an RFC 3339 timestamp.", 552 "format": "date-time" 553 }, 554 "selfLink": { 555 "type": "string", 556 "description": "Link to this comment resource." 557 }, 558 "updated": { 559 "type": "string", 560 "description": "The time at which this comment was last updated. Formatted as an RFC 3339 timestamp.", 561 "format": "date-time" 562 }, 563 "verb": { 564 "type": "string", 565 "description": "This comment's verb, indicating what action was performed. Possible values are: \n- \"post\" - Publish content to the stream.", 566 "default": "post" 567 } 568 } 569 }, 570 "CommentFeed": { 571 "id": "CommentFeed", 572 "type": "object", 573 "properties": { 574 "id": { 575 "type": "string", 576 "description": "The ID of this collection of comments." 577 }, 578 "items": { 579 "type": "array", 580 "description": "The comments in this page of results.", 581 "items": { 582 "$ref": "Comment" 583 } 584 }, 585 "kind": { 586 "type": "string", 587 "description": "Identifies this resource as a collection of comments. Value: \"plus#commentFeed\".", 588 "default": "plus#commentFeed" 589 }, 590 "nextLink": { 591 "type": "string", 592 "description": "Link to the next page of activities." 593 }, 594 "nextPageToken": { 595 "type": "string", 596 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results." 597 }, 598 "title": { 599 "type": "string", 600 "description": "The title of this collection of comments." 601 }, 602 "updated": { 603 "type": "string", 604 "description": "The time at which this collection of comments was last updated. Formatted as an RFC 3339 timestamp.", 605 "format": "date-time" 606 } 607 } 608 }, 609 "PeopleFeed": { 610 "id": "PeopleFeed", 611 "type": "object", 612 "properties": { 613 "items": { 614 "type": "array", 615 "description": "The people in this page of results. Each item will include the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.", 616 "items": { 617 "$ref": "Person" 618 } 619 }, 620 "kind": { 621 "type": "string", 622 "description": "Identifies this resource as a collection of people. Value: \"plus#peopleFeed\".", 623 "default": "plus#peopleFeed" 624 }, 625 "nextPageToken": { 626 "type": "string", 627 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results." 628 }, 629 "selfLink": { 630 "type": "string", 631 "description": "Link to this resource." 632 }, 633 "title": { 634 "type": "string", 635 "description": "The title of this collection of people." 636 } 637 } 638 }, 639 "Person": { 640 "id": "Person", 641 "type": "object", 642 "properties": { 643 "aboutMe": { 644 "type": "string", 645 "description": "A short biography for this person." 646 }, 647 "birthday": { 648 "type": "string", 649 "description": "The person's date of birth, represented as YYYY-MM-DD." 650 }, 651 "currentLocation": { 652 "type": "string", 653 "description": "The current location for this person." 654 }, 655 "displayName": { 656 "type": "string", 657 "description": "The name of this person, suitable for display." 658 }, 659 "emails": { 660 "type": "array", 661 "description": "A list of email addresses for this person.", 662 "items": { 663 "type": "object", 664 "properties": { 665 "primary": { 666 "type": "boolean", 667 "description": "If \"true\", indicates this email address is the person's primary one." 668 }, 669 "type": { 670 "type": "string", 671 "description": "The type of address. Possible values are: \n- \"home\" - Home email address. \n- \"work\" - Work email address. \n- \"other\" - Other." 672 }, 673 "value": { 674 "type": "string", 675 "description": "The email address." 676 } 677 } 678 } 679 }, 680 "gender": { 681 "type": "string", 682 "description": "The person's gender. Possible values are: \n- \"male\" - Male gender. \n- \"female\" - Female gender. \n- \"other\" - Other." 683 }, 684 "hasApp": { 685 "type": "boolean", 686 "description": "If \"true\", indicates that the person has installed the app that is making the request and has chosen to expose this install state to the caller. A value of \"false\" indicates that the install state cannot be determined (it is either not installed or the person has chosen to keep this information private)." 687 }, 688 "id": { 689 "type": "string", 690 "description": "The ID of this person." 691 }, 692 "image": { 693 "type": "object", 694 "description": "The representation of the person's profile photo.", 695 "properties": { 696 "url": { 697 "type": "string", 698 "description": "The URL of the person's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side." 699 } 700 } 701 }, 702 "kind": { 703 "type": "string", 704 "description": "Identifies this resource as a person. Value: \"plus#person\".", 705 "default": "plus#person" 706 }, 707 "languagesSpoken": { 708 "type": "array", 709 "description": "The languages spoken by this person.", 710 "items": { 711 "type": "string" 712 } 713 }, 714 "name": { 715 "type": "object", 716 "description": "An object representation of the individual components of a person's name.", 717 "properties": { 718 "familyName": { 719 "type": "string", 720 "description": "The family name (last name) of this person." 721 }, 722 "formatted": { 723 "type": "string", 724 "description": "The full name of this person, including middle names, suffixes, etc." 725 }, 726 "givenName": { 727 "type": "string", 728 "description": "The given name (first name) of this person." 729 }, 730 "honorificPrefix": { 731 "type": "string", 732 "description": "The honorific prefixes (such as \"Dr.\" or \"Mrs.\") for this person." 733 }, 734 "honorificSuffix": { 735 "type": "string", 736 "description": "The honorific suffixes (such as \"Jr.\") for this person." 737 }, 738 "middleName": { 739 "type": "string", 740 "description": "The middle name of this person." 741 } 742 } 743 }, 744 "nickname": { 745 "type": "string", 746 "description": "The nickname of this person." 747 }, 748 "organizations": { 749 "type": "array", 750 "description": "A list of current or past organizations with which this person is associated.", 751 "items": { 752 "type": "object", 753 "properties": { 754 "department": { 755 "type": "string", 756 "description": "The department within the organization." 757 }, 758 "description": { 759 "type": "string", 760 "description": "A short description of the person's role in this organization." 761 }, 762 "endDate": { 763 "type": "string", 764 "description": "The date the person left this organization." 765 }, 766 "location": { 767 "type": "string", 768 "description": "The location of this organization." 769 }, 770 "name": { 771 "type": "string", 772 "description": "The name of the organization." 773 }, 774 "primary": { 775 "type": "boolean", 776 "description": "If \"true\", indicates this organization is the person's primary one (typically interpreted as current one)." 777 }, 778 "startDate": { 779 "type": "string", 780 "description": "The date the person joined this organization." 781 }, 782 "title": { 783 "type": "string", 784 "description": "The person's job title or role within the organization." 785 }, 786 "type": { 787 "type": "string", 788 "description": "The type of organization. Possible values are: \n- \"work\" - Work. \n- \"school\" - School." 789 } 790 } 791 } 792 }, 793 "placesLived": { 794 "type": "array", 795 "description": "A list of places where this person has lived.", 796 "items": { 797 "type": "object", 798 "properties": { 799 "primary": { 800 "type": "boolean", 801 "description": "If \"true\", this place of residence is this person's primary residence." 802 }, 803 "value": { 804 "type": "string", 805 "description": "A place where this person has lived. For example: \"Seattle, WA\", \"Near Toronto\"." 806 } 807 } 808 } 809 }, 810 "relationshipStatus": { 811 "type": "string", 812 "description": "The person's relationship status. Possible values are: \n- \"single\" - Person is single. \n- \"in_a_relationship\" - Person is in a relationship. \n- \"engaged\" - Person is engaged. \n- \"married\" - Person is married. \n- \"its_complicated\" - The relationship is complicated. \n- \"open_relationship\" - Person is in an open relationship. \n- \"widowed\" - Person is widowed. \n- \"in_domestic_partnership\" - Person is in a domestic partnership. \n- \"in_civil_union\" - Person is in a civil union." 813 }, 814 "tagline": { 815 "type": "string", 816 "description": "The brief description (tagline) of this person." 817 }, 818 "url": { 819 "type": "string", 820 "description": "The URL of this person's profile." 821 }, 822 "urls": { 823 "type": "array", 824 "description": "A list of URLs for this person.", 825 "items": { 826 "type": "object", 827 "properties": { 828 "primary": { 829 "type": "boolean", 830 "description": "If \"true\", this URL is the person's primary URL." 831 }, 832 "type": { 833 "type": "string", 834 "description": "The type of URL. Possible values are: \n- \"home\" - URL for home. \n- \"work\" - URL for work. \n- \"blog\" - URL for blog. \n- \"profile\" - URL for profile. \n- \"other\" - Other." 835 }, 836 "value": { 837 "type": "string", 838 "description": "The URL value." 839 } 840 } 841 } 842 } 843 } 844 }, 845 "PlusAclentryResource": { 846 "id": "PlusAclentryResource", 847 "type": "object", 848 "properties": { 849 "id": { 850 "type": "string", 851 "description": "The ID of the entry. For entries of type \"person\" or \"circle\", this is the ID of the resource. For other types, this property is not set." 852 }, 853 "type": { 854 "type": "string", 855 "description": "The type of entry describing to whom access is granted. Possible values are: \n- \"person\" - Access to an individual. \n- \"circle\" - Access to members of a circle. \n- \"myCircles\" - Access to members of all the person's circles. \n- \"extendedCircles\" - Access to members of everyone in a person's circles, plus all of the people in their circles. \n- \"public\" - Access to anyone on the web." 856 } 857 } 858 } 859 }, 860 "resources": { 861 "activities": { 862 "methods": { 863 "get": { 864 "id": "plus.activities.get", 865 "path": "activities/{activityId}", 866 "httpMethod": "GET", 867 "description": "Get an activity.", 868 "parameters": { 869 "activityId": { 870 "type": "string", 871 "description": "The ID of the activity to get.", 872 "required": true, 873 "location": "path" 874 }, 875 "alt": { 876 "type": "string", 877 "description": "Specifies an alternative representation type.", 878 "default": "json", 879 "enum": [ 880 "json" 881 ], 882 "enumDescriptions": [ 883 "Use JSON format" 884 ], 885 "location": "query" 886 } 887 }, 888 "parameterOrder": [ 889 "activityId" 890 ], 891 "response": { 892 "$ref": "Activity" 893 }, 894 "scopes": [ 895 "https://www.googleapis.com/auth/plus.me" 896 ] 897 }, 898 "list": { 899 "id": "plus.activities.list", 900 "path": "people/{userId}/activities/{collection}", 901 "httpMethod": "GET", 902 "description": "List all of the activities in the specified collection for a particular user.", 903 "parameters": { 904 "alt": { 905 "type": "string", 906 "description": "Specifies an alternative representation type.", 907 "default": "json", 908 "enum": [ 909 "json" 910 ], 911 "enumDescriptions": [ 912 "Use JSON format" 913 ], 914 "location": "query" 915 }, 916 "collection": { 917 "type": "string", 918 "description": "The collection of activities to list.", 919 "required": true, 920 "enum": [ 921 "public" 922 ], 923 "enumDescriptions": [ 924 "All public activities created by the specified user." 925 ], 926 "location": "path" 927 }, 928 "maxResults": { 929 "type": "integer", 930 "description": "The maximum number of activities to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.", 931 "default": "20", 932 "format": "uint32", 933 "minimum": "1", 934 "maximum": "100", 935 "location": "query" 936 }, 937 "pageToken": { 938 "type": "string", 939 "description": "The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", 940 "location": "query" 941 }, 942 "userId": { 943 "type": "string", 944 "description": "The ID of the user to get activities for. The special value \"me\" can be used to indicate the authenticated user.", 945 "required": true, 946 "pattern": "me|[0-9]+", 947 "location": "path" 948 } 949 }, 950 "parameterOrder": [ 951 "userId", 952 "collection" 953 ], 954 "response": { 955 "$ref": "ActivityFeed" 956 }, 957 "scopes": [ 958 "https://www.googleapis.com/auth/plus.me" 959 ] 960 }, 961 "search": { 962 "id": "plus.activities.search", 963 "path": "activities", 964 "httpMethod": "GET", 965 "description": "Search public activities.", 966 "parameters": { 967 "language": { 968 "type": "string", 969 "description": "Specify the preferred language to search with. See Language Codes for available values.", 970 "default": "", 971 "location": "query" 972 }, 973 "maxResults": { 974 "type": "integer", 975 "description": "The maximum number of activities to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.", 976 "default": "10", 977 "format": "uint32", 978 "minimum": "1", 979 "maximum": "20", 980 "location": "query" 981 }, 982 "orderBy": { 983 "type": "string", 984 "description": "Specifies how to order search results.", 985 "default": "recent", 986 "enum": [ 987 "best", 988 "recent" 989 ], 990 "enumDescriptions": [ 991 "Sort activities by relevance to the user, most relevant first.", 992 "Sort activities by published date, most recent first." 993 ], 994 "location": "query" 995 }, 996 "pageToken": { 997 "type": "string", 998 "description": "The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response. This token may be of any length.", 999 "location": "query" 1000 }, 1001 "query": { 1002 "type": "string", 1003 "description": "Full-text search query string.", 1004 "required": true, 1005 "location": "query" 1006 } 1007 }, 1008 "parameterOrder": [ 1009 "query" 1010 ], 1011 "response": { 1012 "$ref": "ActivityFeed" 1013 }, 1014 "scopes": [ 1015 "https://www.googleapis.com/auth/plus.me" 1016 ] 1017 } 1018 } 1019 }, 1020 "comments": { 1021 "methods": { 1022 "get": { 1023 "id": "plus.comments.get", 1024 "path": "comments/{commentId}", 1025 "httpMethod": "GET", 1026 "description": "Get a comment.", 1027 "parameters": { 1028 "commentId": { 1029 "type": "string", 1030 "description": "The ID of the comment to get.", 1031 "required": true, 1032 "location": "path" 1033 } 1034 }, 1035 "parameterOrder": [ 1036 "commentId" 1037 ], 1038 "response": { 1039 "$ref": "Comment" 1040 }, 1041 "scopes": [ 1042 "https://www.googleapis.com/auth/plus.me" 1043 ] 1044 }, 1045 "list": { 1046 "id": "plus.comments.list", 1047 "path": "activities/{activityId}/comments", 1048 "httpMethod": "GET", 1049 "description": "List all of the comments for an activity.", 1050 "parameters": { 1051 "activityId": { 1052 "type": "string", 1053 "description": "The ID of the activity to get comments for.", 1054 "required": true, 1055 "location": "path" 1056 }, 1057 "alt": { 1058 "type": "string", 1059 "description": "Specifies an alternative representation type.", 1060 "default": "json", 1061 "enum": [ 1062 "json" 1063 ], 1064 "enumDescriptions": [ 1065 "Use JSON format" 1066 ], 1067 "location": "query" 1068 }, 1069 "maxResults": { 1070 "type": "integer", 1071 "description": "The maximum number of comments to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.", 1072 "default": "20", 1073 "format": "uint32", 1074 "minimum": "0", 1075 "maximum": "100", 1076 "location": "query" 1077 }, 1078 "pageToken": { 1079 "type": "string", 1080 "description": "The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", 1081 "location": "query" 1082 } 1083 }, 1084 "parameterOrder": [ 1085 "activityId" 1086 ], 1087 "response": { 1088 "$ref": "CommentFeed" 1089 }, 1090 "scopes": [ 1091 "https://www.googleapis.com/auth/plus.me" 1092 ] 1093 } 1094 } 1095 }, 1096 "people": { 1097 "methods": { 1098 "get": { 1099 "id": "plus.people.get", 1100 "path": "people/{userId}", 1101 "httpMethod": "GET", 1102 "description": "Get a person's profile.", 1103 "parameters": { 1104 "userId": { 1105 "type": "string", 1106 "description": "The ID of the person to get the profile for. The special value \"me\" can be used to indicate the authenticated user.", 1107 "required": true, 1108 "pattern": "me|[0-9]+", 1109 "location": "path" 1110 } 1111 }, 1112 "parameterOrder": [ 1113 "userId" 1114 ], 1115 "response": { 1116 "$ref": "Person" 1117 }, 1118 "scopes": [ 1119 "https://www.googleapis.com/auth/plus.me" 1120 ] 1121 }, 1122 "listByActivity": { 1123 "id": "plus.people.listByActivity", 1124 "path": "activities/{activityId}/people/{collection}", 1125 "httpMethod": "GET", 1126 "description": "List all of the people in the specified collection for a particular activity.", 1127 "parameters": { 1128 "activityId": { 1129 "type": "string", 1130 "description": "The ID of the activity to get the list of people for.", 1131 "required": true, 1132 "location": "path" 1133 }, 1134 "collection": { 1135 "type": "string", 1136 "description": "The collection of people to list.", 1137 "required": true, 1138 "enum": [ 1139 "plusoners", 1140 "resharers" 1141 ], 1142 "enumDescriptions": [ 1143 "List all people who have +1'd this activity.", 1144 "List all people who have reshared this activity." 1145 ], 1146 "location": "path" 1147 }, 1148 "maxResults": { 1149 "type": "integer", 1150 "description": "The maximum number of people to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.", 1151 "default": "20", 1152 "format": "uint32", 1153 "minimum": "1", 1154 "maximum": "100", 1155 "location": "query" 1156 }, 1157 "pageToken": { 1158 "type": "string", 1159 "description": "The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response.", 1160 "location": "query" 1161 } 1162 }, 1163 "parameterOrder": [ 1164 "activityId", 1165 "collection" 1166 ], 1167 "response": { 1168 "$ref": "PeopleFeed" 1169 }, 1170 "scopes": [ 1171 "https://www.googleapis.com/auth/plus.me" 1172 ] 1173 }, 1174 "search": { 1175 "id": "plus.people.search", 1176 "path": "people", 1177 "httpMethod": "GET", 1178 "description": "Search all public profiles.", 1179 "parameters": { 1180 "language": { 1181 "type": "string", 1182 "description": "Specify the preferred language to search with. See Language Codes for available values.", 1183 "default": "", 1184 "location": "query" 1185 }, 1186 "maxResults": { 1187 "type": "integer", 1188 "description": "The maximum number of people to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.", 1189 "default": "10", 1190 "format": "uint32", 1191 "minimum": "1", 1192 "maximum": "20", 1193 "location": "query" 1194 }, 1195 "pageToken": { 1196 "type": "string", 1197 "description": "The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response. This token may be of any length.", 1198 "location": "query" 1199 }, 1200 "query": { 1201 "type": "string", 1202 "description": "Full-text search query string.", 1203 "required": true, 1204 "location": "query" 1205 } 1206 }, 1207 "parameterOrder": [ 1208 "query" 1209 ], 1210 "response": { 1211 "$ref": "PeopleFeed" 1212 }, 1213 "scopes": [ 1214 "https://www.googleapis.com/auth/plus.me" 1215 ] 1216 } 1217 } 1218 } 1219 } 1220} 1221