blob: bb82cd4351fe28f73dc84f5d0c10e7d6a60dce54 [file] [log] [blame]
Joe Gregorio075572b2012-07-09 16:53:09 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="plus_v1.html">Google+ API</a> . <a href="plus_v1.activities.html">activities</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(activityId)</a></code></p>
79<p class="firstline">Get an activity.</p>
80<p class="toc_element">
81 <code><a href="#list">list(userId, collection, pageToken=None, maxResults=None)</a></code></p>
82<p class="firstline">List all of the activities in the specified collection for a particular user.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<p class="toc_element">
87 <code><a href="#search">search(query, orderBy=None, language=None, pageToken=None, maxResults=None)</a></code></p>
88<p class="firstline">Search public activities.</p>
89<p class="toc_element">
90 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<h3>Method Details</h3>
93<div class="method">
94 <code class="details" id="get">get(activityId)</code>
95 <pre>Get an activity.
96
97Args:
98 activityId: string, The ID of the activity to get. (required)
99
100Returns:
101 An object of the form:
102
103 {
104 "placeName": "A String", # Name of the place where this activity occurred.
105 "kind": "plus#activity", # Identifies this resource as an activity. Value: "plus#activity".
106 "updated": "A String", # The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.
107 "provider": { # The service provider that initially published this activity.
108 "title": "A String", # Name of the service provider.
109 },
110 "title": "A String", # Title of this activity.
111 "url": "A String", # The link to this activity.
112 "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.
113 "object": { # The object of this activity.
114 "resharers": { # People who reshared this activity.
115 "totalItems": 42, # Total number of people who reshared this activity.
116 "selfLink": "A String", # The URL for the collection of resharers.
117 },
118 "attachments": [ # The media objects attached to this activity.
119 {
120 "displayName": "A String", # The title of the attachment (such as a photo caption or an article title).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500121 "thumbnails": [ # If the attachment is an album, potential additional thumbnails from the album.
122 {
123 "url": "A String", # URL to the webpage containing the image.
124 "image": { # Image resource.
125 "url": "A String", # Image url.
126 "width": 42, # The width, in pixels, of the linked resource.
127 "type": "A String", # Media type of the link.
128 "height": 42, # The height, in pixels, of the linked resource.
129 },
130 "description": "A String", # Potential name of the thumbnail.
131 },
132 ],
133 "fullImage": { # The full image URL for photo attachments.
134 "url": "A String", # URL to the image.
Joe Gregorio075572b2012-07-09 16:53:09 -0400135 "width": 42, # The width, in pixels, of the linked resource.
136 "type": "A String", # Media type of the link.
137 "height": 42, # The height, in pixels, of the linked resource.
138 },
139 "url": "A String", # The link to the attachment, should be of type text/html.
140 "image": { # The preview image for photos or videos.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500141 "url": "A String", # Image url.
Joe Gregorio075572b2012-07-09 16:53:09 -0400142 "width": 42, # The width, in pixels, of the linked resource.
143 "type": "A String", # Media type of the link.
144 "height": 42, # The height, in pixels, of the linked resource.
145 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500146 "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types.
Joe Gregorio075572b2012-07-09 16:53:09 -0400147 "embed": { # If the attachment is a video, the embeddable link.
148 "url": "A String", # URL of the link.
149 "type": "A String", # Media type of the link.
150 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500151 "id": "A String", # The ID of the attachment.
Joe Gregorio075572b2012-07-09 16:53:09 -0400152 "objectType": "A String", # The type of media object. Possible values are:
153 # - "photo" - A photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500154 # - "album" - A photo album.
Joe Gregorio075572b2012-07-09 16:53:09 -0400155 # - "video" - A video.
156 # - "article" - An article, specified by a link.
157 },
158 ],
Joe Gregoriod67010d2012-11-05 08:57:06 -0500159 "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request.
Joe Gregorio075572b2012-07-09 16:53:09 -0400160 "plusoners": { # People who +1'd this activity.
161 "totalItems": 42, # Total number of people who +1'd this activity.
162 "selfLink": "A String", # The URL for the collection of people who +1'd this activity.
163 },
164 "actor": { # 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 "url": "A String", # A link to the original actor's Google profile.
166 "image": { # The image representation of the original actor.
167 "url": "A String", # A URL that points to a thumbnail photo of the original actor.
168 },
169 "displayName": "A String", # The original actor's name, suitable for display.
170 "id": "A String", # ID of the original actor.
171 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500172 "content": "A String", # The HTML-formatted content, suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400173 "url": "A String", # The URL that points to the linked resource.
174 "replies": { # Comments in reply to this activity.
175 "totalItems": 42, # Total number of comments on this activity.
176 "selfLink": "A String", # The URL for the collection of comments in reply to this activity.
177 },
178 "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared.
179 "objectType": "A String", # The type of the object. Possible values are:
180 # - "note" - Textual content.
181 # - "activity" - A Google+ activity.
182 },
183 "placeId": "A String", # ID of the place where this activity occurred.
184 "actor": { # The person who performed this activity.
185 "url": "A String", # The link to the actor's Google profile.
186 "image": { # The image representation of the actor.
187 "url": "A String", # 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.
188 },
189 "displayName": "A String", # The name of the actor, suitable for display.
190 "id": "A String", # The ID of the actor's person resource.
191 "name": { # An object representation of the individual components of name.
192 "givenName": "A String", # The given name (first name) of the actor.
193 "familyName": "A String", # The family name (last name) of the actor.
194 },
195 },
196 "id": "A String", # The ID of this activity.
197 "access": { # Identifies who has access to see this activity.
198 "items": [ # The list of access entries.
199 {
200 "type": "A String", # The type of entry describing to whom access is granted. Possible values are:
201 # - "person" - Access to an individual.
202 # - "circle" - Access to members of a circle.
203 # - "myCircles" - Access to members of all the person's circles.
204 # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles.
205 # - "public" - Access to anyone on the web.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500206 "displayName": "A String", # A descriptive name for this entry. Suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400207 "id": "A String", # 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.
208 },
209 ],
210 "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl".
211 "description": "A String", # Description of the access granted, suitable for display.
212 },
213 "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are:
Joe Gregoriod67010d2012-11-05 08:57:06 -0500214 # - "post" - Publish content to the stream.
Joe Gregorio075572b2012-07-09 16:53:09 -0400215 # - "share" - Reshare an activity.
216 "etag": "A String", # ETag of this response for caching purposes.
217 "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.
218 "address": "A String", # Street address where this activity occurred.
219 "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity.
220 "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity.
221 "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.
222 }</pre>
223</div>
224
225<div class="method">
226 <code class="details" id="list">list(userId, collection, pageToken=None, maxResults=None)</code>
227 <pre>List all of the activities in the specified collection for a particular user.
228
229Args:
230 userId: string, The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user. (required)
231 collection: string, The collection of activities to list. (required)
232 Allowed values
233 public - All public activities created by the specified user.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500234 pageToken: string, The continuation token, which is 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.
235 maxResults: integer, The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
Joe Gregorio075572b2012-07-09 16:53:09 -0400236
237Returns:
238 An object of the form:
239
240 {
Joe Gregoriod67010d2012-11-05 08:57:06 -0500241 "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
Joe Gregorio075572b2012-07-09 16:53:09 -0400242 "kind": "plus#activityFeed", # Identifies this resource as a collection of activities. Value: "plus#activityFeed".
243 "title": "A String", # The title of this collection of activities.
244 "items": [ # The activities in this page of results.
245 {
246 "placeName": "A String", # Name of the place where this activity occurred.
247 "kind": "plus#activity", # Identifies this resource as an activity. Value: "plus#activity".
248 "updated": "A String", # The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.
249 "provider": { # The service provider that initially published this activity.
250 "title": "A String", # Name of the service provider.
251 },
252 "title": "A String", # Title of this activity.
253 "url": "A String", # The link to this activity.
254 "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.
255 "object": { # The object of this activity.
256 "resharers": { # People who reshared this activity.
257 "totalItems": 42, # Total number of people who reshared this activity.
258 "selfLink": "A String", # The URL for the collection of resharers.
259 },
260 "attachments": [ # The media objects attached to this activity.
261 {
262 "displayName": "A String", # The title of the attachment (such as a photo caption or an article title).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500263 "thumbnails": [ # If the attachment is an album, potential additional thumbnails from the album.
264 {
265 "url": "A String", # URL to the webpage containing the image.
266 "image": { # Image resource.
267 "url": "A String", # Image url.
268 "width": 42, # The width, in pixels, of the linked resource.
269 "type": "A String", # Media type of the link.
270 "height": 42, # The height, in pixels, of the linked resource.
271 },
272 "description": "A String", # Potential name of the thumbnail.
273 },
274 ],
275 "fullImage": { # The full image URL for photo attachments.
276 "url": "A String", # URL to the image.
Joe Gregorio075572b2012-07-09 16:53:09 -0400277 "width": 42, # The width, in pixels, of the linked resource.
278 "type": "A String", # Media type of the link.
279 "height": 42, # The height, in pixels, of the linked resource.
280 },
281 "url": "A String", # The link to the attachment, should be of type text/html.
282 "image": { # The preview image for photos or videos.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500283 "url": "A String", # Image url.
Joe Gregorio075572b2012-07-09 16:53:09 -0400284 "width": 42, # The width, in pixels, of the linked resource.
285 "type": "A String", # Media type of the link.
286 "height": 42, # The height, in pixels, of the linked resource.
287 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500288 "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types.
Joe Gregorio075572b2012-07-09 16:53:09 -0400289 "embed": { # If the attachment is a video, the embeddable link.
290 "url": "A String", # URL of the link.
291 "type": "A String", # Media type of the link.
292 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500293 "id": "A String", # The ID of the attachment.
Joe Gregorio075572b2012-07-09 16:53:09 -0400294 "objectType": "A String", # The type of media object. Possible values are:
295 # - "photo" - A photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500296 # - "album" - A photo album.
Joe Gregorio075572b2012-07-09 16:53:09 -0400297 # - "video" - A video.
298 # - "article" - An article, specified by a link.
299 },
300 ],
Joe Gregoriod67010d2012-11-05 08:57:06 -0500301 "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request.
Joe Gregorio075572b2012-07-09 16:53:09 -0400302 "plusoners": { # People who +1'd this activity.
303 "totalItems": 42, # Total number of people who +1'd this activity.
304 "selfLink": "A String", # The URL for the collection of people who +1'd this activity.
305 },
306 "actor": { # 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.
307 "url": "A String", # A link to the original actor's Google profile.
308 "image": { # The image representation of the original actor.
309 "url": "A String", # A URL that points to a thumbnail photo of the original actor.
310 },
311 "displayName": "A String", # The original actor's name, suitable for display.
312 "id": "A String", # ID of the original actor.
313 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500314 "content": "A String", # The HTML-formatted content, suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400315 "url": "A String", # The URL that points to the linked resource.
316 "replies": { # Comments in reply to this activity.
317 "totalItems": 42, # Total number of comments on this activity.
318 "selfLink": "A String", # The URL for the collection of comments in reply to this activity.
319 },
320 "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared.
321 "objectType": "A String", # The type of the object. Possible values are:
322 # - "note" - Textual content.
323 # - "activity" - A Google+ activity.
324 },
325 "placeId": "A String", # ID of the place where this activity occurred.
326 "actor": { # The person who performed this activity.
327 "url": "A String", # The link to the actor's Google profile.
328 "image": { # The image representation of the actor.
329 "url": "A String", # 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.
330 },
331 "displayName": "A String", # The name of the actor, suitable for display.
332 "id": "A String", # The ID of the actor's person resource.
333 "name": { # An object representation of the individual components of name.
334 "givenName": "A String", # The given name (first name) of the actor.
335 "familyName": "A String", # The family name (last name) of the actor.
336 },
337 },
338 "id": "A String", # The ID of this activity.
339 "access": { # Identifies who has access to see this activity.
340 "items": [ # The list of access entries.
341 {
342 "type": "A String", # The type of entry describing to whom access is granted. Possible values are:
343 # - "person" - Access to an individual.
344 # - "circle" - Access to members of a circle.
345 # - "myCircles" - Access to members of all the person's circles.
346 # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles.
347 # - "public" - Access to anyone on the web.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500348 "displayName": "A String", # A descriptive name for this entry. Suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400349 "id": "A String", # 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.
350 },
351 ],
352 "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl".
353 "description": "A String", # Description of the access granted, suitable for display.
354 },
355 "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are:
Joe Gregoriod67010d2012-11-05 08:57:06 -0500356 # - "post" - Publish content to the stream.
Joe Gregorio075572b2012-07-09 16:53:09 -0400357 # - "share" - Reshare an activity.
358 "etag": "A String", # ETag of this response for caching purposes.
359 "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.
360 "address": "A String", # Street address where this activity occurred.
361 "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity.
362 "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity.
363 "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.
364 },
365 ],
366 "updated": "A String", # The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp.
367 "nextLink": "A String", # Link to the next page of activities.
368 "etag": "A String", # ETag of this response for caching purposes.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500369 "id": "A String", # The ID of this collection of activities. Deprecated.
Joe Gregorio075572b2012-07-09 16:53:09 -0400370 "selfLink": "A String", # Link to this activity resource.
371 }</pre>
372</div>
373
374<div class="method">
375 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
376 <pre>Retrieves the next page of results.
377
378Args:
379 previous_request: The request for the previous page. (required)
380 previous_response: The response from the request for the previous page. (required)
381
382Returns:
383 A request object that you can call 'execute()' on to request the next
384 page. Returns None if there are no more items in the collection.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500385 </pre>
Joe Gregorio075572b2012-07-09 16:53:09 -0400386</div>
387
388<div class="method">
389 <code class="details" id="search">search(query, orderBy=None, language=None, pageToken=None, maxResults=None)</code>
390 <pre>Search public activities.
391
392Args:
393 query: string, Full-text search query string. (required)
394 orderBy: string, Specifies how to order search results.
395 Allowed values
396 best - Sort activities by relevance to the user, most relevant first.
397 recent - Sort activities by published date, most recent first.
398 language: string, Specify the preferred language to search with. See search language codes for available values.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500399 pageToken: string, The continuation token, which is 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 can be of any length.
400 maxResults: integer, The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
Joe Gregorio075572b2012-07-09 16:53:09 -0400401
402Returns:
403 An object of the form:
404
405 {
Joe Gregoriod67010d2012-11-05 08:57:06 -0500406 "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
Joe Gregorio075572b2012-07-09 16:53:09 -0400407 "kind": "plus#activityFeed", # Identifies this resource as a collection of activities. Value: "plus#activityFeed".
408 "title": "A String", # The title of this collection of activities.
409 "items": [ # The activities in this page of results.
410 {
411 "placeName": "A String", # Name of the place where this activity occurred.
412 "kind": "plus#activity", # Identifies this resource as an activity. Value: "plus#activity".
413 "updated": "A String", # The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.
414 "provider": { # The service provider that initially published this activity.
415 "title": "A String", # Name of the service provider.
416 },
417 "title": "A String", # Title of this activity.
418 "url": "A String", # The link to this activity.
419 "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.
420 "object": { # The object of this activity.
421 "resharers": { # People who reshared this activity.
422 "totalItems": 42, # Total number of people who reshared this activity.
423 "selfLink": "A String", # The URL for the collection of resharers.
424 },
425 "attachments": [ # The media objects attached to this activity.
426 {
427 "displayName": "A String", # The title of the attachment (such as a photo caption or an article title).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500428 "thumbnails": [ # If the attachment is an album, potential additional thumbnails from the album.
429 {
430 "url": "A String", # URL to the webpage containing the image.
431 "image": { # Image resource.
432 "url": "A String", # Image url.
433 "width": 42, # The width, in pixels, of the linked resource.
434 "type": "A String", # Media type of the link.
435 "height": 42, # The height, in pixels, of the linked resource.
436 },
437 "description": "A String", # Potential name of the thumbnail.
438 },
439 ],
440 "fullImage": { # The full image URL for photo attachments.
441 "url": "A String", # URL to the image.
Joe Gregorio075572b2012-07-09 16:53:09 -0400442 "width": 42, # The width, in pixels, of the linked resource.
443 "type": "A String", # Media type of the link.
444 "height": 42, # The height, in pixels, of the linked resource.
445 },
446 "url": "A String", # The link to the attachment, should be of type text/html.
447 "image": { # The preview image for photos or videos.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500448 "url": "A String", # Image url.
Joe Gregorio075572b2012-07-09 16:53:09 -0400449 "width": 42, # The width, in pixels, of the linked resource.
450 "type": "A String", # Media type of the link.
451 "height": 42, # The height, in pixels, of the linked resource.
452 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500453 "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types.
Joe Gregorio075572b2012-07-09 16:53:09 -0400454 "embed": { # If the attachment is a video, the embeddable link.
455 "url": "A String", # URL of the link.
456 "type": "A String", # Media type of the link.
457 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500458 "id": "A String", # The ID of the attachment.
Joe Gregorio075572b2012-07-09 16:53:09 -0400459 "objectType": "A String", # The type of media object. Possible values are:
460 # - "photo" - A photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500461 # - "album" - A photo album.
Joe Gregorio075572b2012-07-09 16:53:09 -0400462 # - "video" - A video.
463 # - "article" - An article, specified by a link.
464 },
465 ],
Joe Gregoriod67010d2012-11-05 08:57:06 -0500466 "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request.
Joe Gregorio075572b2012-07-09 16:53:09 -0400467 "plusoners": { # People who +1'd this activity.
468 "totalItems": 42, # Total number of people who +1'd this activity.
469 "selfLink": "A String", # The URL for the collection of people who +1'd this activity.
470 },
471 "actor": { # 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.
472 "url": "A String", # A link to the original actor's Google profile.
473 "image": { # The image representation of the original actor.
474 "url": "A String", # A URL that points to a thumbnail photo of the original actor.
475 },
476 "displayName": "A String", # The original actor's name, suitable for display.
477 "id": "A String", # ID of the original actor.
478 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500479 "content": "A String", # The HTML-formatted content, suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400480 "url": "A String", # The URL that points to the linked resource.
481 "replies": { # Comments in reply to this activity.
482 "totalItems": 42, # Total number of comments on this activity.
483 "selfLink": "A String", # The URL for the collection of comments in reply to this activity.
484 },
485 "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared.
486 "objectType": "A String", # The type of the object. Possible values are:
487 # - "note" - Textual content.
488 # - "activity" - A Google+ activity.
489 },
490 "placeId": "A String", # ID of the place where this activity occurred.
491 "actor": { # The person who performed this activity.
492 "url": "A String", # The link to the actor's Google profile.
493 "image": { # The image representation of the actor.
494 "url": "A String", # 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.
495 },
496 "displayName": "A String", # The name of the actor, suitable for display.
497 "id": "A String", # The ID of the actor's person resource.
498 "name": { # An object representation of the individual components of name.
499 "givenName": "A String", # The given name (first name) of the actor.
500 "familyName": "A String", # The family name (last name) of the actor.
501 },
502 },
503 "id": "A String", # The ID of this activity.
504 "access": { # Identifies who has access to see this activity.
505 "items": [ # The list of access entries.
506 {
507 "type": "A String", # The type of entry describing to whom access is granted. Possible values are:
508 # - "person" - Access to an individual.
509 # - "circle" - Access to members of a circle.
510 # - "myCircles" - Access to members of all the person's circles.
511 # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles.
512 # - "public" - Access to anyone on the web.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500513 "displayName": "A String", # A descriptive name for this entry. Suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400514 "id": "A String", # 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.
515 },
516 ],
517 "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl".
518 "description": "A String", # Description of the access granted, suitable for display.
519 },
520 "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are:
Joe Gregoriod67010d2012-11-05 08:57:06 -0500521 # - "post" - Publish content to the stream.
Joe Gregorio075572b2012-07-09 16:53:09 -0400522 # - "share" - Reshare an activity.
523 "etag": "A String", # ETag of this response for caching purposes.
524 "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.
525 "address": "A String", # Street address where this activity occurred.
526 "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity.
527 "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity.
528 "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.
529 },
530 ],
531 "updated": "A String", # The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp.
532 "nextLink": "A String", # Link to the next page of activities.
533 "etag": "A String", # ETag of this response for caching purposes.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500534 "id": "A String", # The ID of this collection of activities. Deprecated.
Joe Gregorio075572b2012-07-09 16:53:09 -0400535 "selfLink": "A String", # Link to this activity resource.
536 }</pre>
537</div>
538
539<div class="method">
540 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
541 <pre>Retrieves the next page of results.
542
543Args:
544 previous_request: The request for the previous page. (required)
545 previous_response: The response from the request for the previous page. (required)
546
547Returns:
548 A request object that you can call 'execute()' on to request the next
549 page. Returns None if there are no more items in the collection.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500550 </pre>
Joe Gregorio075572b2012-07-09 16:53:09 -0400551</div>
552
553</body></html>