blob: 363ea422a03846a97dd3b6ca3560ccb7dee60244 [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 Gregorio075572b2012-07-09 16:53:09 -0400214 # - "checkin" - Check in to a location.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500215 # - "post" - Publish content to the stream.
Joe Gregorio075572b2012-07-09 16:53:09 -0400216 # - "share" - Reshare an activity.
217 "etag": "A String", # ETag of this response for caching purposes.
218 "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.
219 "address": "A String", # Street address where this activity occurred.
220 "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity.
221 "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity.
222 "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.
223 }</pre>
224</div>
225
226<div class="method">
227 <code class="details" id="list">list(userId, collection, pageToken=None, maxResults=None)</code>
228 <pre>List all of the activities in the specified collection for a particular user.
229
230Args:
231 userId: string, The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user. (required)
232 collection: string, The collection of activities to list. (required)
233 Allowed values
234 public - All public activities created by the specified user.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500235 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.
236 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 -0400237
238Returns:
239 An object of the form:
240
241 {
Joe Gregoriod67010d2012-11-05 08:57:06 -0500242 "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 -0400243 "kind": "plus#activityFeed", # Identifies this resource as a collection of activities. Value: "plus#activityFeed".
244 "title": "A String", # The title of this collection of activities.
245 "items": [ # The activities in this page of results.
246 {
247 "placeName": "A String", # Name of the place where this activity occurred.
248 "kind": "plus#activity", # Identifies this resource as an activity. Value: "plus#activity".
249 "updated": "A String", # The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.
250 "provider": { # The service provider that initially published this activity.
251 "title": "A String", # Name of the service provider.
252 },
253 "title": "A String", # Title of this activity.
254 "url": "A String", # The link to this activity.
255 "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.
256 "object": { # The object of this activity.
257 "resharers": { # People who reshared this activity.
258 "totalItems": 42, # Total number of people who reshared this activity.
259 "selfLink": "A String", # The URL for the collection of resharers.
260 },
261 "attachments": [ # The media objects attached to this activity.
262 {
263 "displayName": "A String", # The title of the attachment (such as a photo caption or an article title).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500264 "thumbnails": [ # If the attachment is an album, potential additional thumbnails from the album.
265 {
266 "url": "A String", # URL to the webpage containing the image.
267 "image": { # Image resource.
268 "url": "A String", # Image url.
269 "width": 42, # The width, in pixels, of the linked resource.
270 "type": "A String", # Media type of the link.
271 "height": 42, # The height, in pixels, of the linked resource.
272 },
273 "description": "A String", # Potential name of the thumbnail.
274 },
275 ],
276 "fullImage": { # The full image URL for photo attachments.
277 "url": "A String", # URL to the image.
Joe Gregorio075572b2012-07-09 16:53:09 -0400278 "width": 42, # The width, in pixels, of the linked resource.
279 "type": "A String", # Media type of the link.
280 "height": 42, # The height, in pixels, of the linked resource.
281 },
282 "url": "A String", # The link to the attachment, should be of type text/html.
283 "image": { # The preview image for photos or videos.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500284 "url": "A String", # Image url.
Joe Gregorio075572b2012-07-09 16:53:09 -0400285 "width": 42, # The width, in pixels, of the linked resource.
286 "type": "A String", # Media type of the link.
287 "height": 42, # The height, in pixels, of the linked resource.
288 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500289 "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 -0400290 "embed": { # If the attachment is a video, the embeddable link.
291 "url": "A String", # URL of the link.
292 "type": "A String", # Media type of the link.
293 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500294 "id": "A String", # The ID of the attachment.
Joe Gregorio075572b2012-07-09 16:53:09 -0400295 "objectType": "A String", # The type of media object. Possible values are:
296 # - "photo" - A photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500297 # - "album" - A photo album.
Joe Gregorio075572b2012-07-09 16:53:09 -0400298 # - "video" - A video.
299 # - "article" - An article, specified by a link.
300 },
301 ],
Joe Gregoriod67010d2012-11-05 08:57:06 -0500302 "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 -0400303 "plusoners": { # People who +1'd this activity.
304 "totalItems": 42, # Total number of people who +1'd this activity.
305 "selfLink": "A String", # The URL for the collection of people who +1'd this activity.
306 },
307 "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.
308 "url": "A String", # A link to the original actor's Google profile.
309 "image": { # The image representation of the original actor.
310 "url": "A String", # A URL that points to a thumbnail photo of the original actor.
311 },
312 "displayName": "A String", # The original actor's name, suitable for display.
313 "id": "A String", # ID of the original actor.
314 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500315 "content": "A String", # The HTML-formatted content, suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400316 "url": "A String", # The URL that points to the linked resource.
317 "replies": { # Comments in reply to this activity.
318 "totalItems": 42, # Total number of comments on this activity.
319 "selfLink": "A String", # The URL for the collection of comments in reply to this activity.
320 },
321 "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared.
322 "objectType": "A String", # The type of the object. Possible values are:
323 # - "note" - Textual content.
324 # - "activity" - A Google+ activity.
325 },
326 "placeId": "A String", # ID of the place where this activity occurred.
327 "actor": { # The person who performed this activity.
328 "url": "A String", # The link to the actor's Google profile.
329 "image": { # The image representation of the actor.
330 "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.
331 },
332 "displayName": "A String", # The name of the actor, suitable for display.
333 "id": "A String", # The ID of the actor's person resource.
334 "name": { # An object representation of the individual components of name.
335 "givenName": "A String", # The given name (first name) of the actor.
336 "familyName": "A String", # The family name (last name) of the actor.
337 },
338 },
339 "id": "A String", # The ID of this activity.
340 "access": { # Identifies who has access to see this activity.
341 "items": [ # The list of access entries.
342 {
343 "type": "A String", # The type of entry describing to whom access is granted. Possible values are:
344 # - "person" - Access to an individual.
345 # - "circle" - Access to members of a circle.
346 # - "myCircles" - Access to members of all the person's circles.
347 # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles.
348 # - "public" - Access to anyone on the web.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500349 "displayName": "A String", # A descriptive name for this entry. Suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400350 "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.
351 },
352 ],
353 "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl".
354 "description": "A String", # Description of the access granted, suitable for display.
355 },
356 "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are:
Joe Gregorio075572b2012-07-09 16:53:09 -0400357 # - "checkin" - Check in to a location.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500358 # - "post" - Publish content to the stream.
Joe Gregorio075572b2012-07-09 16:53:09 -0400359 # - "share" - Reshare an activity.
360 "etag": "A String", # ETag of this response for caching purposes.
361 "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.
362 "address": "A String", # Street address where this activity occurred.
363 "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity.
364 "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity.
365 "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.
366 },
367 ],
368 "updated": "A String", # The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp.
369 "nextLink": "A String", # Link to the next page of activities.
370 "etag": "A String", # ETag of this response for caching purposes.
371 "id": "A String", # The ID of this collection of activities.
372 "selfLink": "A String", # Link to this activity resource.
373 }</pre>
374</div>
375
376<div class="method">
377 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
378 <pre>Retrieves the next page of results.
379
380Args:
381 previous_request: The request for the previous page. (required)
382 previous_response: The response from the request for the previous page. (required)
383
384Returns:
385 A request object that you can call 'execute()' on to request the next
386 page. Returns None if there are no more items in the collection.
387 </pre>
388</div>
389
390<div class="method">
391 <code class="details" id="search">search(query, orderBy=None, language=None, pageToken=None, maxResults=None)</code>
392 <pre>Search public activities.
393
394Args:
395 query: string, Full-text search query string. (required)
396 orderBy: string, Specifies how to order search results.
397 Allowed values
398 best - Sort activities by relevance to the user, most relevant first.
399 recent - Sort activities by published date, most recent first.
400 language: string, Specify the preferred language to search with. See search language codes for available values.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500401 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.
402 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 -0400403
404Returns:
405 An object of the form:
406
407 {
Joe Gregoriod67010d2012-11-05 08:57:06 -0500408 "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 -0400409 "kind": "plus#activityFeed", # Identifies this resource as a collection of activities. Value: "plus#activityFeed".
410 "title": "A String", # The title of this collection of activities.
411 "items": [ # The activities in this page of results.
412 {
413 "placeName": "A String", # Name of the place where this activity occurred.
414 "kind": "plus#activity", # Identifies this resource as an activity. Value: "plus#activity".
415 "updated": "A String", # The time at which this activity was last updated. Formatted as an RFC 3339 timestamp.
416 "provider": { # The service provider that initially published this activity.
417 "title": "A String", # Name of the service provider.
418 },
419 "title": "A String", # Title of this activity.
420 "url": "A String", # The link to this activity.
421 "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.
422 "object": { # The object of this activity.
423 "resharers": { # People who reshared this activity.
424 "totalItems": 42, # Total number of people who reshared this activity.
425 "selfLink": "A String", # The URL for the collection of resharers.
426 },
427 "attachments": [ # The media objects attached to this activity.
428 {
429 "displayName": "A String", # The title of the attachment (such as a photo caption or an article title).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500430 "thumbnails": [ # If the attachment is an album, potential additional thumbnails from the album.
431 {
432 "url": "A String", # URL to the webpage containing the image.
433 "image": { # Image resource.
434 "url": "A String", # Image url.
435 "width": 42, # The width, in pixels, of the linked resource.
436 "type": "A String", # Media type of the link.
437 "height": 42, # The height, in pixels, of the linked resource.
438 },
439 "description": "A String", # Potential name of the thumbnail.
440 },
441 ],
442 "fullImage": { # The full image URL for photo attachments.
443 "url": "A String", # URL to the image.
Joe Gregorio075572b2012-07-09 16:53:09 -0400444 "width": 42, # The width, in pixels, of the linked resource.
445 "type": "A String", # Media type of the link.
446 "height": 42, # The height, in pixels, of the linked resource.
447 },
448 "url": "A String", # The link to the attachment, should be of type text/html.
449 "image": { # The preview image for photos or videos.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500450 "url": "A String", # Image url.
Joe Gregorio075572b2012-07-09 16:53:09 -0400451 "width": 42, # The width, in pixels, of the linked resource.
452 "type": "A String", # Media type of the link.
453 "height": 42, # The height, in pixels, of the linked resource.
454 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500455 "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 -0400456 "embed": { # If the attachment is a video, the embeddable link.
457 "url": "A String", # URL of the link.
458 "type": "A String", # Media type of the link.
459 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500460 "id": "A String", # The ID of the attachment.
Joe Gregorio075572b2012-07-09 16:53:09 -0400461 "objectType": "A String", # The type of media object. Possible values are:
462 # - "photo" - A photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500463 # - "album" - A photo album.
Joe Gregorio075572b2012-07-09 16:53:09 -0400464 # - "video" - A video.
465 # - "article" - An article, specified by a link.
466 },
467 ],
Joe Gregoriod67010d2012-11-05 08:57:06 -0500468 "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 -0400469 "plusoners": { # People who +1'd this activity.
470 "totalItems": 42, # Total number of people who +1'd this activity.
471 "selfLink": "A String", # The URL for the collection of people who +1'd this activity.
472 },
473 "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.
474 "url": "A String", # A link to the original actor's Google profile.
475 "image": { # The image representation of the original actor.
476 "url": "A String", # A URL that points to a thumbnail photo of the original actor.
477 },
478 "displayName": "A String", # The original actor's name, suitable for display.
479 "id": "A String", # ID of the original actor.
480 },
Joe Gregoriod67010d2012-11-05 08:57:06 -0500481 "content": "A String", # The HTML-formatted content, suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400482 "url": "A String", # The URL that points to the linked resource.
483 "replies": { # Comments in reply to this activity.
484 "totalItems": 42, # Total number of comments on this activity.
485 "selfLink": "A String", # The URL for the collection of comments in reply to this activity.
486 },
487 "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared.
488 "objectType": "A String", # The type of the object. Possible values are:
489 # - "note" - Textual content.
490 # - "activity" - A Google+ activity.
491 },
492 "placeId": "A String", # ID of the place where this activity occurred.
493 "actor": { # The person who performed this activity.
494 "url": "A String", # The link to the actor's Google profile.
495 "image": { # The image representation of the actor.
496 "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.
497 },
498 "displayName": "A String", # The name of the actor, suitable for display.
499 "id": "A String", # The ID of the actor's person resource.
500 "name": { # An object representation of the individual components of name.
501 "givenName": "A String", # The given name (first name) of the actor.
502 "familyName": "A String", # The family name (last name) of the actor.
503 },
504 },
505 "id": "A String", # The ID of this activity.
506 "access": { # Identifies who has access to see this activity.
507 "items": [ # The list of access entries.
508 {
509 "type": "A String", # The type of entry describing to whom access is granted. Possible values are:
510 # - "person" - Access to an individual.
511 # - "circle" - Access to members of a circle.
512 # - "myCircles" - Access to members of all the person's circles.
513 # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles.
514 # - "public" - Access to anyone on the web.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500515 "displayName": "A String", # A descriptive name for this entry. Suitable for display.
Joe Gregorio075572b2012-07-09 16:53:09 -0400516 "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.
517 },
518 ],
519 "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl".
520 "description": "A String", # Description of the access granted, suitable for display.
521 },
522 "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are:
Joe Gregorio075572b2012-07-09 16:53:09 -0400523 # - "checkin" - Check in to a location.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500524 # - "post" - Publish content to the stream.
Joe Gregorio075572b2012-07-09 16:53:09 -0400525 # - "share" - Reshare an activity.
526 "etag": "A String", # ETag of this response for caching purposes.
527 "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.
528 "address": "A String", # Street address where this activity occurred.
529 "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity.
530 "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity.
531 "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp.
532 },
533 ],
534 "updated": "A String", # The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp.
535 "nextLink": "A String", # Link to the next page of activities.
536 "etag": "A String", # ETag of this response for caching purposes.
537 "id": "A String", # The ID of this collection of activities.
538 "selfLink": "A String", # Link to this activity resource.
539 }</pre>
540</div>
541
542<div class="method">
543 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
544 <pre>Retrieves the next page of results.
545
546Args:
547 previous_request: The request for the previous page. (required)
548 previous_response: The response from the request for the previous page. (required)
549
550Returns:
551 A request object that you can call 'execute()' on to request the next
552 page. Returns None if there are no more items in the collection.
553 </pre>
554</div>
555
556</body></html>