Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: discovery/googleapis/orkut__v2.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/orkut": {
6 "description": "Manage your Orkut activity"
7 },
8 "https://www.googleapis.com/auth/orkut.readonly": {
9 "description": "View your Orkut data"
10 }
11 }
12 }
13 },
14 "basePath": "/orkut/v2/",
15 "baseUrl": "https://www.googleapis.com/orkut/v2/",
16 "batchPath": "batch",
17 "description": "Lets you manage activities, comments and badges in Orkut. Mo re stuff coming in time.",
18 "discoveryVersion": "v1",
19 "documentationLink": "http://code.google.com/apis/orkut/v2/reference.html",
20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/qCYcIF9SU9Hl8Qg-et4yd-nbiwI\"",
21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/orkut-16.png",
23 "x32": "http://www.google.com/images/icons/product/orkut-32.png"
24 },
25 "id": "orkut:v2",
26 "kind": "discovery#restDescription",
27 "name": "orkut",
28 "ownerDomain": "google.com",
29 "ownerName": "Google",
30 "parameters": {
31 "alt": {
32 "default": "json",
33 "description": "Data format for the response.",
34 "enum": [
35 "json"
36 ],
37 "enumDescriptions": [
38 "Responses with Content-Type of application/json"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "fields": {
44 "description": "Selector specifying which fields to include in a par tial response.",
45 "location": "query",
46 "type": "string"
47 },
48 "key": {
49 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
50 "location": "query",
51 "type": "string"
52 },
53 "oauth_token": {
54 "description": "OAuth 2.0 token for the current user.",
55 "location": "query",
56 "type": "string"
57 },
58 "prettyPrint": {
59 "default": "true",
60 "description": "Returns response with indentations and line breaks." ,
61 "location": "query",
62 "type": "boolean"
63 },
64 "quotaUser": {
65 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
66 "location": "query",
67 "type": "string"
68 },
69 "userIp": {
70 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
71 "location": "query",
72 "type": "string"
73 }
74 },
75 "protocol": "rest",
76 "resources": {
77 "acl": {
78 "methods": {
79 "delete": {
80 "description": "Excludes an element from the ACL of the acti vity.",
81 "httpMethod": "DELETE",
82 "id": "orkut.acl.delete",
83 "parameterOrder": [
84 "activityId",
85 "userId"
86 ],
87 "parameters": {
88 "activityId": {
89 "description": "ID of the activity.",
90 "location": "path",
91 "required": true,
92 "type": "string"
93 },
94 "userId": {
95 "description": "ID of the user to be removed from th e activity.",
96 "location": "path",
97 "required": true,
98 "type": "string"
99 }
100 },
101 "path": "activities/{activityId}/acl/{userId}",
102 "scopes": [
103 "https://www.googleapis.com/auth/orkut"
104 ]
105 }
106 }
107 },
108 "activities": {
109 "methods": {
110 "delete": {
111 "description": "Deletes an existing activity, if the access controls allow it.",
112 "httpMethod": "DELETE",
113 "id": "orkut.activities.delete",
114 "parameterOrder": [
115 "activityId"
116 ],
117 "parameters": {
118 "activityId": {
119 "description": "ID of the activity to remove.",
120 "location": "path",
121 "required": true,
122 "type": "string"
123 }
124 },
125 "path": "activities/{activityId}",
126 "scopes": [
127 "https://www.googleapis.com/auth/orkut"
128 ]
129 },
130 "list": {
131 "description": "Retrieves a list of activities.",
132 "httpMethod": "GET",
133 "id": "orkut.activities.list",
134 "parameterOrder": [
135 "userId",
136 "collection"
137 ],
138 "parameters": {
139 "collection": {
140 "description": "The collection of activities to list .",
141 "enum": [
142 "all",
143 "scraps",
144 "stream"
145 ],
146 "enumDescriptions": [
147 "All activities created by the specified user th at the authenticated user is authorized to view.",
148 "The specified user's scrapbook.",
149 "The specified user's stream feed, intended for consumption. This includes activities posted by people that the user is followin g, and activities in which the user has been mentioned."
150 ],
151 "location": "path",
152 "required": true,
153 "type": "string"
154 },
155 "hl": {
156 "description": "Specifies the interface language (ho st language) of your user interface.",
157 "location": "query",
158 "type": "string"
159 },
160 "maxResults": {
161 "description": "The maximum number of activities to include in the response.",
162 "format": "uint32",
163 "location": "query",
164 "maximum": "100",
165 "minimum": "1",
166 "type": "integer"
167 },
168 "pageToken": {
169 "description": "A continuation token that allows pag ination.",
170 "location": "query",
171 "type": "string"
172 },
173 "userId": {
174 "description": "The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the authenticated user)." ,
175 "location": "path",
176 "required": true,
177 "type": "string"
178 }
179 },
180 "path": "people/{userId}/activities/{collection}",
181 "response": {
182 "$ref": "ActivityList"
183 },
184 "scopes": [
185 "https://www.googleapis.com/auth/orkut",
186 "https://www.googleapis.com/auth/orkut.readonly"
187 ]
188 }
189 }
190 },
191 "activityVisibility": {
192 "methods": {
193 "get": {
194 "description": "Gets the visibility of an existing activity. ",
195 "httpMethod": "GET",
196 "id": "orkut.activityVisibility.get",
197 "parameterOrder": [
198 "activityId"
199 ],
200 "parameters": {
201 "activityId": {
202 "description": "ID of the activity to get the visibi lity.",
203 "location": "path",
204 "required": true,
205 "type": "string"
206 }
207 },
208 "path": "activities/{activityId}/visibility",
209 "response": {
210 "$ref": "Visibility"
211 },
212 "scopes": [
213 "https://www.googleapis.com/auth/orkut",
214 "https://www.googleapis.com/auth/orkut.readonly"
215 ]
216 },
217 "patch": {
218 "description": "Updates the visibility of an existing activi ty. This method supports patch semantics.",
219 "httpMethod": "PATCH",
220 "id": "orkut.activityVisibility.patch",
221 "parameterOrder": [
222 "activityId"
223 ],
224 "parameters": {
225 "activityId": {
226 "description": "ID of the activity.",
227 "location": "path",
228 "required": true,
229 "type": "string"
230 }
231 },
232 "path": "activities/{activityId}/visibility",
233 "request": {
234 "$ref": "Visibility"
235 },
236 "response": {
237 "$ref": "Visibility"
238 },
239 "scopes": [
240 "https://www.googleapis.com/auth/orkut"
241 ]
242 },
243 "update": {
244 "description": "Updates the visibility of an existing activi ty.",
245 "httpMethod": "PUT",
246 "id": "orkut.activityVisibility.update",
247 "parameterOrder": [
248 "activityId"
249 ],
250 "parameters": {
251 "activityId": {
252 "description": "ID of the activity.",
253 "location": "path",
254 "required": true,
255 "type": "string"
256 }
257 },
258 "path": "activities/{activityId}/visibility",
259 "request": {
260 "$ref": "Visibility"
261 },
262 "response": {
263 "$ref": "Visibility"
264 },
265 "scopes": [
266 "https://www.googleapis.com/auth/orkut"
267 ]
268 }
269 }
270 },
271 "badges": {
272 "methods": {
273 "get": {
274 "description": "Retrieves a badge from a user.",
275 "httpMethod": "GET",
276 "id": "orkut.badges.get",
277 "parameterOrder": [
278 "userId",
279 "badgeId"
280 ],
281 "parameters": {
282 "badgeId": {
283 "description": "The ID of the badge that will be ret rieved.",
284 "format": "int64",
285 "location": "path",
286 "required": true,
287 "type": "string"
288 },
289 "userId": {
290 "description": "The ID of the user whose badges will be listed. Can be me to refer to caller.",
291 "location": "path",
292 "required": true,
293 "type": "string"
294 }
295 },
296 "path": "people/{userId}/badges/{badgeId}",
297 "response": {
298 "$ref": "Badge"
299 },
300 "scopes": [
301 "https://www.googleapis.com/auth/orkut",
302 "https://www.googleapis.com/auth/orkut.readonly"
303 ]
304 },
305 "list": {
306 "description": "Retrieves the list of visible badges of a us er.",
307 "httpMethod": "GET",
308 "id": "orkut.badges.list",
309 "parameterOrder": [
310 "userId"
311 ],
312 "parameters": {
313 "userId": {
314 "description": "The id of the user whose badges will be listed. Can be me to refer to caller.",
315 "location": "path",
316 "required": true,
317 "type": "string"
318 }
319 },
320 "path": "people/{userId}/badges",
321 "response": {
322 "$ref": "BadgeList"
323 },
324 "scopes": [
325 "https://www.googleapis.com/auth/orkut",
326 "https://www.googleapis.com/auth/orkut.readonly"
327 ]
328 }
329 }
330 },
331 "comments": {
332 "methods": {
333 "delete": {
334 "description": "Deletes an existing comment.",
335 "httpMethod": "DELETE",
336 "id": "orkut.comments.delete",
337 "parameterOrder": [
338 "commentId"
339 ],
340 "parameters": {
341 "commentId": {
342 "description": "ID of the comment to remove.",
343 "location": "path",
344 "required": true,
345 "type": "string"
346 }
347 },
348 "path": "comments/{commentId}",
349 "scopes": [
350 "https://www.googleapis.com/auth/orkut"
351 ]
352 },
353 "get": {
354 "description": "Retrieves an existing comment.",
355 "httpMethod": "GET",
356 "id": "orkut.comments.get",
357 "parameterOrder": [
358 "commentId"
359 ],
360 "parameters": {
361 "commentId": {
362 "description": "ID of the comment to get.",
363 "location": "path",
364 "required": true,
365 "type": "string"
366 },
367 "hl": {
368 "description": "Specifies the interface language (ho st language) of your user interface.",
369 "location": "query",
370 "type": "string"
371 }
372 },
373 "path": "comments/{commentId}",
374 "response": {
375 "$ref": "Comment"
376 },
377 "scopes": [
378 "https://www.googleapis.com/auth/orkut",
379 "https://www.googleapis.com/auth/orkut.readonly"
380 ]
381 },
382 "insert": {
383 "description": "Inserts a new comment to an activity.",
384 "httpMethod": "POST",
385 "id": "orkut.comments.insert",
386 "parameterOrder": [
387 "activityId"
388 ],
389 "parameters": {
390 "activityId": {
391 "description": "The ID of the activity to contain th e new comment.",
392 "location": "path",
393 "required": true,
394 "type": "string"
395 }
396 },
397 "path": "activities/{activityId}/comments",
398 "request": {
399 "$ref": "Comment"
400 },
401 "response": {
402 "$ref": "Comment"
403 },
404 "scopes": [
405 "https://www.googleapis.com/auth/orkut"
406 ]
407 },
408 "list": {
409 "description": "Retrieves a list of comments, possibly filte red.",
410 "httpMethod": "GET",
411 "id": "orkut.comments.list",
412 "parameterOrder": [
413 "activityId"
414 ],
415 "parameters": {
416 "activityId": {
417 "description": "The ID of the activity containing th e comments.",
418 "location": "path",
419 "required": true,
420 "type": "string"
421 },
422 "hl": {
423 "description": "Specifies the interface language (ho st language) of your user interface.",
424 "location": "query",
425 "type": "string"
426 },
427 "maxResults": {
428 "description": "The maximum number of activities to include in the response.",
429 "format": "uint32",
430 "location": "query",
431 "minimum": "1",
432 "type": "integer"
433 },
434 "orderBy": {
435 "default": "DESCENDING_SORT",
436 "description": "Sort search results.",
437 "enum": [
438 "ascending",
439 "descending"
440 ],
441 "enumDescriptions": [
442 "Use ascending sort order.",
443 "Use descending sort order."
444 ],
445 "location": "query",
446 "type": "string"
447 },
448 "pageToken": {
449 "description": "A continuation token that allows pag ination.",
450 "location": "query",
451 "type": "string"
452 }
453 },
454 "path": "activities/{activityId}/comments",
455 "response": {
456 "$ref": "CommentList"
457 },
458 "scopes": [
459 "https://www.googleapis.com/auth/orkut",
460 "https://www.googleapis.com/auth/orkut.readonly"
461 ]
462 }
463 }
464 },
465 "communities": {
466 "methods": {
467 "get": {
468 "description": "Retrieves the basic information (aka. profil e) of a community.",
469 "httpMethod": "GET",
470 "id": "orkut.communities.get",
471 "parameterOrder": [
472 "communityId"
473 ],
474 "parameters": {
475 "communityId": {
476 "description": "The ID of the community to get.",
477 "format": "int32",
478 "location": "path",
479 "required": true,
480 "type": "integer"
481 },
482 "hl": {
483 "description": "Specifies the interface language (ho st language) of your user interface.",
484 "location": "query",
485 "type": "string"
486 }
487 },
488 "path": "communities/{communityId}",
489 "response": {
490 "$ref": "Community"
491 },
492 "scopes": [
493 "https://www.googleapis.com/auth/orkut",
494 "https://www.googleapis.com/auth/orkut.readonly"
495 ]
496 },
497 "list": {
498 "description": "Retrieves the list of communities the curren t user is a member of.",
499 "httpMethod": "GET",
500 "id": "orkut.communities.list",
501 "parameterOrder": [
502 "userId"
503 ],
504 "parameters": {
505 "hl": {
506 "description": "Specifies the interface language (ho st language) of your user interface.",
507 "location": "query",
508 "type": "string"
509 },
510 "maxResults": {
511 "description": "The maximum number of communities to include in the response.",
512 "format": "uint32",
513 "location": "query",
514 "minimum": "1",
515 "type": "integer"
516 },
517 "orderBy": {
518 "description": "How to order the communities by.",
519 "enum": [
520 "id",
521 "ranked"
522 ],
523 "enumDescriptions": [
524 "Returns the communities sorted by a fixed, natu ral order.",
525 "Returns the communities ranked accordingly to h ow they are displayed on the orkut web application."
526 ],
527 "location": "query",
528 "type": "string"
529 },
530 "userId": {
531 "description": "The ID of the user whose communities will be listed. Can be me to refer to caller.",
532 "location": "path",
533 "required": true,
534 "type": "string"
535 }
536 },
537 "path": "people/{userId}/communities",
538 "response": {
539 "$ref": "CommunityList"
540 },
541 "scopes": [
542 "https://www.googleapis.com/auth/orkut",
543 "https://www.googleapis.com/auth/orkut.readonly"
544 ]
545 }
546 }
547 },
548 "communityFollow": {
549 "methods": {
550 "delete": {
551 "description": "Removes a user from the followers of a commu nity.",
552 "httpMethod": "DELETE",
553 "id": "orkut.communityFollow.delete",
554 "parameterOrder": [
555 "communityId",
556 "userId"
557 ],
558 "parameters": {
559 "communityId": {
560 "description": "ID of the community.",
561 "format": "int32",
562 "location": "path",
563 "required": true,
564 "type": "integer"
565 },
566 "userId": {
567 "description": "ID of the user.",
568 "location": "path",
569 "required": true,
570 "type": "string"
571 }
572 },
573 "path": "communities/{communityId}/followers/{userId}",
574 "scopes": [
575 "https://www.googleapis.com/auth/orkut"
576 ]
577 },
578 "insert": {
579 "description": "Adds a user as a follower of a community.",
580 "httpMethod": "POST",
581 "id": "orkut.communityFollow.insert",
582 "parameterOrder": [
583 "communityId",
584 "userId"
585 ],
586 "parameters": {
587 "communityId": {
588 "description": "ID of the community.",
589 "format": "int32",
590 "location": "path",
591 "required": true,
592 "type": "integer"
593 },
594 "userId": {
595 "description": "ID of the user.",
596 "location": "path",
597 "required": true,
598 "type": "string"
599 }
600 },
601 "path": "communities/{communityId}/followers/{userId}",
602 "response": {
603 "$ref": "CommunityMembers"
604 },
605 "scopes": [
606 "https://www.googleapis.com/auth/orkut"
607 ]
608 }
609 }
610 },
611 "communityMembers": {
612 "methods": {
613 "delete": {
614 "description": "Makes the user leave a community.",
615 "httpMethod": "DELETE",
616 "id": "orkut.communityMembers.delete",
617 "parameterOrder": [
618 "communityId",
619 "userId"
620 ],
621 "parameters": {
622 "communityId": {
623 "description": "ID of the community.",
624 "format": "int32",
625 "location": "path",
626 "required": true,
627 "type": "integer"
628 },
629 "userId": {
630 "description": "ID of the user.",
631 "location": "path",
632 "required": true,
633 "type": "string"
634 }
635 },
636 "path": "communities/{communityId}/members/{userId}",
637 "scopes": [
638 "https://www.googleapis.com/auth/orkut"
639 ]
640 },
641 "get": {
642 "description": "Retrieves the relationship between a user an d a community.",
643 "httpMethod": "GET",
644 "id": "orkut.communityMembers.get",
645 "parameterOrder": [
646 "communityId",
647 "userId"
648 ],
649 "parameters": {
650 "communityId": {
651 "description": "ID of the community.",
652 "format": "int32",
653 "location": "path",
654 "required": true,
655 "type": "integer"
656 },
657 "hl": {
658 "description": "Specifies the interface language (ho st language) of your user interface.",
659 "location": "query",
660 "type": "string"
661 },
662 "userId": {
663 "description": "ID of the user.",
664 "location": "path",
665 "required": true,
666 "type": "string"
667 }
668 },
669 "path": "communities/{communityId}/members/{userId}",
670 "response": {
671 "$ref": "CommunityMembers"
672 },
673 "scopes": [
674 "https://www.googleapis.com/auth/orkut",
675 "https://www.googleapis.com/auth/orkut.readonly"
676 ]
677 },
678 "insert": {
679 "description": "Makes the user join a community.",
680 "httpMethod": "POST",
681 "id": "orkut.communityMembers.insert",
682 "parameterOrder": [
683 "communityId",
684 "userId"
685 ],
686 "parameters": {
687 "communityId": {
688 "description": "ID of the community.",
689 "format": "int32",
690 "location": "path",
691 "required": true,
692 "type": "integer"
693 },
694 "userId": {
695 "description": "ID of the user.",
696 "location": "path",
697 "required": true,
698 "type": "string"
699 }
700 },
701 "path": "communities/{communityId}/members/{userId}",
702 "response": {
703 "$ref": "CommunityMembers"
704 },
705 "scopes": [
706 "https://www.googleapis.com/auth/orkut"
707 ]
708 },
709 "list": {
710 "description": "Lists members of a community. Use the pagina tion tokens to retrieve the full list; do not rely on the member count available in the community profile information to know when to stop iterating, as that co unt may be approximate.",
711 "httpMethod": "GET",
712 "id": "orkut.communityMembers.list",
713 "parameterOrder": [
714 "communityId"
715 ],
716 "parameters": {
717 "communityId": {
718 "description": "The ID of the community whose member s will be listed.",
719 "format": "int32",
720 "location": "path",
721 "required": true,
722 "type": "integer"
723 },
724 "friendsOnly": {
725 "description": "Whether to list only community membe rs who are friends of the user.",
726 "location": "query",
727 "type": "boolean"
728 },
729 "hl": {
730 "description": "Specifies the interface language (ho st language) of your user interface.",
731 "location": "query",
732 "type": "string"
733 },
734 "maxResults": {
735 "description": "The maximum number of members to inc lude in the response.",
736 "format": "uint32",
737 "location": "query",
738 "minimum": "1",
739 "type": "integer"
740 },
741 "pageToken": {
742 "description": "A continuation token that allows pag ination.",
743 "location": "query",
744 "type": "string"
745 }
746 },
747 "path": "communities/{communityId}/members",
748 "response": {
749 "$ref": "CommunityMembersList"
750 },
751 "scopes": [
752 "https://www.googleapis.com/auth/orkut",
753 "https://www.googleapis.com/auth/orkut.readonly"
754 ]
755 }
756 }
757 },
758 "communityMessages": {
759 "methods": {
760 "delete": {
761 "description": "Moves a message of the community to the tras h folder.",
762 "httpMethod": "DELETE",
763 "id": "orkut.communityMessages.delete",
764 "parameterOrder": [
765 "communityId",
766 "topicId",
767 "messageId"
768 ],
769 "parameters": {
770 "communityId": {
771 "description": "The ID of the community whose messag e will be moved to the trash folder.",
772 "format": "int32",
773 "location": "path",
774 "required": true,
775 "type": "integer"
776 },
777 "messageId": {
778 "description": "The ID of the message to be moved to the trash folder.",
779 "format": "int64",
780 "location": "path",
781 "required": true,
782 "type": "string"
783 },
784 "topicId": {
785 "description": "The ID of the topic whose message wi ll be moved to the trash folder.",
786 "format": "int64",
787 "location": "path",
788 "required": true,
789 "type": "string"
790 }
791 },
792 "path": "communities/{communityId}/topics/{topicId}/messages /{messageId}",
793 "scopes": [
794 "https://www.googleapis.com/auth/orkut"
795 ]
796 },
797 "insert": {
798 "description": "Adds a message to a given community topic.",
799 "httpMethod": "POST",
800 "id": "orkut.communityMessages.insert",
801 "parameterOrder": [
802 "communityId",
803 "topicId"
804 ],
805 "parameters": {
806 "communityId": {
807 "description": "The ID of the community the message should be added to.",
808 "format": "int32",
809 "location": "path",
810 "required": true,
811 "type": "integer"
812 },
813 "topicId": {
814 "description": "The ID of the topic the message shou ld be added to.",
815 "format": "int64",
816 "location": "path",
817 "required": true,
818 "type": "string"
819 }
820 },
821 "path": "communities/{communityId}/topics/{topicId}/messages ",
822 "request": {
823 "$ref": "CommunityMessage"
824 },
825 "response": {
826 "$ref": "CommunityMessage"
827 },
828 "scopes": [
829 "https://www.googleapis.com/auth/orkut"
830 ]
831 },
832 "list": {
833 "description": "Retrieves the messages of a topic of a commu nity.",
834 "httpMethod": "GET",
835 "id": "orkut.communityMessages.list",
836 "parameterOrder": [
837 "communityId",
838 "topicId"
839 ],
840 "parameters": {
841 "communityId": {
842 "description": "The ID of the community which messag es will be listed.",
843 "format": "int32",
844 "location": "path",
845 "required": true,
846 "type": "integer"
847 },
848 "hl": {
849 "description": "Specifies the interface language (ho st language) of your user interface.",
850 "location": "query",
851 "type": "string"
852 },
853 "maxResults": {
854 "description": "The maximum number of messages to in clude in the response.",
855 "format": "uint32",
856 "location": "query",
857 "maximum": "100",
858 "minimum": "1",
859 "type": "integer"
860 },
861 "pageToken": {
862 "description": "A continuation token that allows pag ination.",
863 "location": "query",
864 "type": "string"
865 },
866 "topicId": {
867 "description": "The ID of the topic which messages w ill be listed.",
868 "format": "int64",
869 "location": "path",
870 "required": true,
871 "type": "string"
872 }
873 },
874 "path": "communities/{communityId}/topics/{topicId}/messages ",
875 "response": {
876 "$ref": "CommunityMessageList"
877 },
878 "scopes": [
879 "https://www.googleapis.com/auth/orkut",
880 "https://www.googleapis.com/auth/orkut.readonly"
881 ]
882 }
883 }
884 },
885 "communityPollComments": {
886 "methods": {
887 "insert": {
888 "description": "Adds a comment on a community poll.",
889 "httpMethod": "POST",
890 "id": "orkut.communityPollComments.insert",
891 "parameterOrder": [
892 "communityId",
893 "pollId"
894 ],
895 "parameters": {
896 "communityId": {
897 "description": "The ID of the community whose poll i s being commented.",
898 "format": "int32",
899 "location": "path",
900 "required": true,
901 "type": "integer"
902 },
903 "pollId": {
904 "description": "The ID of the poll being commented." ,
905 "location": "path",
906 "required": true,
907 "type": "string"
908 }
909 },
910 "path": "communities/{communityId}/polls/{pollId}/comments",
911 "request": {
912 "$ref": "CommunityPollComment"
913 },
914 "response": {
915 "$ref": "CommunityPollComment"
916 },
917 "scopes": [
918 "https://www.googleapis.com/auth/orkut"
919 ]
920 },
921 "list": {
922 "description": "Retrieves the comments of a community poll." ,
923 "httpMethod": "GET",
924 "id": "orkut.communityPollComments.list",
925 "parameterOrder": [
926 "communityId",
927 "pollId"
928 ],
929 "parameters": {
930 "communityId": {
931 "description": "The ID of the community whose poll i s having its comments listed.",
932 "format": "int32",
933 "location": "path",
934 "required": true,
935 "type": "integer"
936 },
937 "hl": {
938 "description": "Specifies the interface language (ho st language) of your user interface.",
939 "location": "query",
940 "type": "string"
941 },
942 "maxResults": {
943 "description": "The maximum number of comments to in clude in the response.",
944 "format": "uint32",
945 "location": "query",
946 "minimum": "1",
947 "type": "integer"
948 },
949 "pageToken": {
950 "description": "A continuation token that allows pag ination.",
951 "location": "query",
952 "type": "string"
953 },
954 "pollId": {
955 "description": "The ID of the community whose polls will be listed.",
956 "location": "path",
957 "required": true,
958 "type": "string"
959 }
960 },
961 "path": "communities/{communityId}/polls/{pollId}/comments",
962 "response": {
963 "$ref": "CommunityPollCommentList"
964 },
965 "scopes": [
966 "https://www.googleapis.com/auth/orkut",
967 "https://www.googleapis.com/auth/orkut.readonly"
968 ]
969 }
970 }
971 },
972 "communityPollVotes": {
973 "methods": {
974 "insert": {
975 "description": "Votes on a community poll.",
976 "httpMethod": "POST",
977 "id": "orkut.communityPollVotes.insert",
978 "parameterOrder": [
979 "communityId",
980 "pollId"
981 ],
982 "parameters": {
983 "communityId": {
984 "description": "The ID of the community whose poll i s being voted.",
985 "format": "int32",
986 "location": "path",
987 "required": true,
988 "type": "integer"
989 },
990 "pollId": {
991 "description": "The ID of the poll being voted.",
992 "location": "path",
993 "required": true,
994 "type": "string"
995 }
996 },
997 "path": "communities/{communityId}/polls/{pollId}/votes",
998 "request": {
999 "$ref": "CommunityPollVote"
1000 },
1001 "response": {
1002 "$ref": "CommunityPollVote"
1003 },
1004 "scopes": [
1005 "https://www.googleapis.com/auth/orkut"
1006 ]
1007 }
1008 }
1009 },
1010 "communityPolls": {
1011 "methods": {
1012 "get": {
1013 "description": "Retrieves one specific poll of a community." ,
1014 "httpMethod": "GET",
1015 "id": "orkut.communityPolls.get",
1016 "parameterOrder": [
1017 "communityId",
1018 "pollId"
1019 ],
1020 "parameters": {
1021 "communityId": {
1022 "description": "The ID of the community for whose po ll will be retrieved.",
1023 "format": "int32",
1024 "location": "path",
1025 "required": true,
1026 "type": "integer"
1027 },
1028 "hl": {
1029 "description": "Specifies the interface language (ho st language) of your user interface.",
1030 "location": "query",
1031 "type": "string"
1032 },
1033 "pollId": {
1034 "description": "The ID of the poll to get.",
1035 "location": "path",
1036 "required": true,
1037 "type": "string"
1038 }
1039 },
1040 "path": "communities/{communityId}/polls/{pollId}",
1041 "response": {
1042 "$ref": "CommunityPoll"
1043 },
1044 "scopes": [
1045 "https://www.googleapis.com/auth/orkut",
1046 "https://www.googleapis.com/auth/orkut.readonly"
1047 ]
1048 },
1049 "list": {
1050 "description": "Retrieves the polls of a community.",
1051 "httpMethod": "GET",
1052 "id": "orkut.communityPolls.list",
1053 "parameterOrder": [
1054 "communityId"
1055 ],
1056 "parameters": {
1057 "communityId": {
1058 "description": "The ID of the community which polls will be listed.",
1059 "format": "int32",
1060 "location": "path",
1061 "required": true,
1062 "type": "integer"
1063 },
1064 "hl": {
1065 "description": "Specifies the interface language (ho st language) of your user interface.",
1066 "location": "query",
1067 "type": "string"
1068 },
1069 "maxResults": {
1070 "description": "The maximum number of polls to inclu de in the response.",
1071 "format": "uint32",
1072 "location": "query",
1073 "minimum": "1",
1074 "type": "integer"
1075 },
1076 "pageToken": {
1077 "description": "A continuation token that allows pag ination.",
1078 "location": "query",
1079 "type": "string"
1080 }
1081 },
1082 "path": "communities/{communityId}/polls",
1083 "response": {
1084 "$ref": "CommunityPollList"
1085 },
1086 "scopes": [
1087 "https://www.googleapis.com/auth/orkut",
1088 "https://www.googleapis.com/auth/orkut.readonly"
1089 ]
1090 }
1091 }
1092 },
1093 "communityRelated": {
1094 "methods": {
1095 "list": {
1096 "description": "Retrieves the communities related to another one.",
1097 "httpMethod": "GET",
1098 "id": "orkut.communityRelated.list",
1099 "parameterOrder": [
1100 "communityId"
1101 ],
1102 "parameters": {
1103 "communityId": {
1104 "description": "The ID of the community whose relate d communities will be listed.",
1105 "format": "int32",
1106 "location": "path",
1107 "required": true,
1108 "type": "integer"
1109 },
1110 "hl": {
1111 "description": "Specifies the interface language (ho st language) of your user interface.",
1112 "location": "query",
1113 "type": "string"
1114 }
1115 },
1116 "path": "communities/{communityId}/related",
1117 "response": {
1118 "$ref": "CommunityList"
1119 },
1120 "scopes": [
1121 "https://www.googleapis.com/auth/orkut",
1122 "https://www.googleapis.com/auth/orkut.readonly"
1123 ]
1124 }
1125 }
1126 },
1127 "communityTopics": {
1128 "methods": {
1129 "delete": {
1130 "description": "Moves a topic of the community to the trash folder.",
1131 "httpMethod": "DELETE",
1132 "id": "orkut.communityTopics.delete",
1133 "parameterOrder": [
1134 "communityId",
1135 "topicId"
1136 ],
1137 "parameters": {
1138 "communityId": {
1139 "description": "The ID of the community whose topic will be moved to the trash folder.",
1140 "format": "int32",
1141 "location": "path",
1142 "required": true,
1143 "type": "integer"
1144 },
1145 "topicId": {
1146 "description": "The ID of the topic to be moved to t he trash folder.",
1147 "format": "int64",
1148 "location": "path",
1149 "required": true,
1150 "type": "string"
1151 }
1152 },
1153 "path": "communities/{communityId}/topics/{topicId}",
1154 "scopes": [
1155 "https://www.googleapis.com/auth/orkut"
1156 ]
1157 },
1158 "get": {
1159 "description": "Retrieves a topic of a community.",
1160 "httpMethod": "GET",
1161 "id": "orkut.communityTopics.get",
1162 "parameterOrder": [
1163 "communityId",
1164 "topicId"
1165 ],
1166 "parameters": {
1167 "communityId": {
1168 "description": "The ID of the community whose topic will be retrieved.",
1169 "format": "int32",
1170 "location": "path",
1171 "required": true,
1172 "type": "integer"
1173 },
1174 "hl": {
1175 "description": "Specifies the interface language (ho st language) of your user interface.",
1176 "location": "query",
1177 "type": "string"
1178 },
1179 "topicId": {
1180 "description": "The ID of the topic to get.",
1181 "format": "int64",
1182 "location": "path",
1183 "required": true,
1184 "type": "string"
1185 }
1186 },
1187 "path": "communities/{communityId}/topics/{topicId}",
1188 "response": {
1189 "$ref": "CommunityTopic"
1190 },
1191 "scopes": [
1192 "https://www.googleapis.com/auth/orkut",
1193 "https://www.googleapis.com/auth/orkut.readonly"
1194 ]
1195 },
1196 "insert": {
1197 "description": "Adds a topic to a given community.",
1198 "httpMethod": "POST",
1199 "id": "orkut.communityTopics.insert",
1200 "parameterOrder": [
1201 "communityId"
1202 ],
1203 "parameters": {
1204 "communityId": {
1205 "description": "The ID of the community the topic sh ould be added to.",
1206 "format": "int32",
1207 "location": "path",
1208 "required": true,
1209 "type": "integer"
1210 },
1211 "isShout": {
1212 "description": "Whether this topic is a shout.",
1213 "location": "query",
1214 "type": "boolean"
1215 }
1216 },
1217 "path": "communities/{communityId}/topics",
1218 "request": {
1219 "$ref": "CommunityTopic"
1220 },
1221 "response": {
1222 "$ref": "CommunityTopic"
1223 },
1224 "scopes": [
1225 "https://www.googleapis.com/auth/orkut"
1226 ]
1227 },
1228 "list": {
1229 "description": "Retrieves the topics of a community.",
1230 "httpMethod": "GET",
1231 "id": "orkut.communityTopics.list",
1232 "parameterOrder": [
1233 "communityId"
1234 ],
1235 "parameters": {
1236 "communityId": {
1237 "description": "The ID of the community which topics will be listed.",
1238 "format": "int32",
1239 "location": "path",
1240 "required": true,
1241 "type": "integer"
1242 },
1243 "hl": {
1244 "description": "Specifies the interface language (ho st language) of your user interface.",
1245 "location": "query",
1246 "type": "string"
1247 },
1248 "maxResults": {
1249 "description": "The maximum number of topics to incl ude in the response.",
1250 "format": "uint32",
1251 "location": "query",
1252 "maximum": "100",
1253 "minimum": "1",
1254 "type": "integer"
1255 },
1256 "pageToken": {
1257 "description": "A continuation token that allows pag ination.",
1258 "location": "query",
1259 "type": "string"
1260 }
1261 },
1262 "path": "communities/{communityId}/topics",
1263 "response": {
1264 "$ref": "CommunityTopicList"
1265 },
1266 "scopes": [
1267 "https://www.googleapis.com/auth/orkut",
1268 "https://www.googleapis.com/auth/orkut.readonly"
1269 ]
1270 }
1271 }
1272 },
1273 "counters": {
1274 "methods": {
1275 "list": {
1276 "description": "Retrieves the counters of a user.",
1277 "httpMethod": "GET",
1278 "id": "orkut.counters.list",
1279 "parameterOrder": [
1280 "userId"
1281 ],
1282 "parameters": {
1283 "userId": {
1284 "description": "The ID of the user whose counters wi ll be listed. Can be me to refer to caller.",
1285 "location": "path",
1286 "required": true,
1287 "type": "string"
1288 }
1289 },
1290 "path": "people/{userId}/counters",
1291 "response": {
1292 "$ref": "Counters"
1293 },
1294 "scopes": [
1295 "https://www.googleapis.com/auth/orkut",
1296 "https://www.googleapis.com/auth/orkut.readonly"
1297 ]
1298 }
1299 }
1300 },
1301 "scraps": {
1302 "methods": {
1303 "insert": {
1304 "description": "Creates a new scrap.",
1305 "httpMethod": "POST",
1306 "id": "orkut.scraps.insert",
1307 "path": "activities/scraps",
1308 "request": {
1309 "$ref": "Activity"
1310 },
1311 "response": {
1312 "$ref": "Activity"
1313 },
1314 "scopes": [
1315 "https://www.googleapis.com/auth/orkut"
1316 ]
1317 }
1318 }
1319 }
1320 },
1321 "revision": "20120223",
1322 "rootUrl": "https://www.googleapis.com/",
1323 "schemas": {
1324 "Acl": {
1325 "id": "Acl",
1326 "properties": {
1327 "description": {
1328 "description": "Human readable description of the access gra nted.",
1329 "type": "string"
1330 },
1331 "items": {
1332 "description": "The list of ACL entries.",
1333 "items": {
1334 "properties": {
1335 "id": {
1336 "description": "The ID of the entity. For entiti es of type \"person\" or \"circle\", this is the ID of the resource. For other t ypes, this will be unset.",
1337 "type": "string"
1338 },
1339 "type": {
1340 "description": "The type of entity to whom acces s is granted.",
1341 "type": "string"
1342 }
1343 },
1344 "type": "object"
1345 },
1346 "type": "array"
1347 },
1348 "kind": {
1349 "default": "orkut#acl",
1350 "description": "Identifies this resource as an access contro l list. Value: \"orkut#acl\"",
1351 "type": "string"
1352 },
1353 "totalParticipants": {
1354 "description": "The total count of participants of the paren t resource.",
1355 "format": "int32",
1356 "type": "integer"
1357 }
1358 },
1359 "type": "object"
1360 },
1361 "Activity": {
1362 "id": "Activity",
1363 "properties": {
1364 "access": {
1365 "$ref": "Acl",
1366 "description": "Identifies who has access to see this activi ty."
1367 },
1368 "actor": {
1369 "$ref": "OrkutAuthorResource",
1370 "description": "The person who performed the activity."
1371 },
1372 "id": {
1373 "description": "The ID for the activity.",
1374 "type": "string"
1375 },
1376 "kind": {
1377 "default": "orkut#activity",
1378 "description": "The kind of activity. Always orkut#activity. ",
1379 "type": "string"
1380 },
1381 "links": {
1382 "description": "Links to resources related to this activity. ",
1383 "items": {
1384 "$ref": "OrkutLinkResource"
1385 },
1386 "type": "array"
1387 },
1388 "object": {
1389 "description": "The activity's object.",
1390 "properties": {
1391 "content": {
1392 "description": "The HTML-formatted content, suitable for display. When updating an activity's content, post the changes to this prop erty, using the value of originalContent as a starting point. If the update is s uccessful, the server adds HTML formatting and responds with this formatted cont ent.",
1393 "type": "string"
1394 },
1395 "items": {
1396 "description": "The list of additional items.",
1397 "items": {
1398 "$ref": "OrkutActivityobjectsResource"
1399 },
1400 "type": "array"
1401 },
1402 "objectType": {
1403 "description": "The type of the object affected by t he activity. Clients can use this information to style the rendered activity obj ect differently depending on the content.",
1404 "type": "string"
1405 },
1406 "replies": {
1407 "description": "Comments in reply to this activity." ,
1408 "properties": {
1409 "items": {
1410 "description": "The list of comments.",
1411 "items": {
1412 "$ref": "Comment"
1413 },
1414 "type": "array"
1415 },
1416 "totalItems": {
1417 "description": "Total number of comments.",
1418 "format": "uint64",
1419 "type": "string"
1420 },
1421 "url": {
1422 "description": "URL for the collection of co mments in reply to this activity.",
1423 "type": "string"
1424 }
1425 },
1426 "type": "object"
1427 }
1428 },
1429 "type": "object"
1430 },
1431 "published": {
1432 "description": "The time at which the activity was initially published.",
1433 "format": "date-time",
1434 "type": "string"
1435 },
1436 "title": {
1437 "description": "Title of the activity.",
1438 "type": "string"
1439 },
1440 "updated": {
1441 "description": "The time at which the activity was last upda ted.",
1442 "format": "date-time",
1443 "type": "string"
1444 },
1445 "verb": {
1446 "description": "This activity's verb, indicating what action was performed. Possible values are: \n- add - User added new content to profil e or album, e.g. video, photo. \n- post - User publish content to the stream, e. g. status, scrap. \n- update - User commented on an activity. \n- make-friend - User added a new friend. \n- birthday - User has a birthday.",
1447 "type": "string"
1448 }
1449 },
1450 "type": "object"
1451 },
1452 "ActivityList": {
1453 "id": "ActivityList",
1454 "properties": {
1455 "items": {
1456 "description": "List of activities retrieved.",
1457 "items": {
1458 "$ref": "Activity"
1459 },
1460 "type": "array"
1461 },
1462 "kind": {
1463 "default": "orkut#activityList",
1464 "description": "Identifies this resource as a collection of activities. Value: \"orkut#activityList\"",
1465 "type": "string"
1466 },
1467 "nextPageToken": {
1468 "description": "The value of pageToken query parameter in ac tivities.list request to get the next page, if there are more to retrieve.",
1469 "type": "string"
1470 }
1471 },
1472 "type": "object"
1473 },
1474 "Badge": {
1475 "id": "Badge",
1476 "properties": {
1477 "badgeLargeLogo": {
1478 "description": "The URL for the 64x64 badge logo.",
1479 "type": "string"
1480 },
1481 "badgeSmallLogo": {
1482 "description": "The URL for the 24x24 badge logo.",
1483 "type": "string"
1484 },
1485 "caption": {
1486 "description": "The name of the badge, suitable for display. ",
1487 "type": "string"
1488 },
1489 "description": {
1490 "description": "The description for the badge, suitable for display.",
1491 "type": "string"
1492 },
1493 "id": {
1494 "description": "The unique ID for the badge.",
1495 "format": "int64",
1496 "type": "string"
1497 },
1498 "kind": {
1499 "default": "orkut#badge",
1500 "description": "Identifies this resource as a badge. Value: \"orkut#badge\"",
1501 "type": "string"
1502 },
1503 "sponsorLogo": {
1504 "description": "The URL for the 32x32 badge sponsor logo.",
1505 "type": "string"
1506 },
1507 "sponsorName": {
1508 "description": "The name of the badge sponsor, suitable for display.",
1509 "type": "string"
1510 },
1511 "sponsorUrl": {
1512 "description": "The URL for the badge sponsor.",
1513 "type": "string"
1514 }
1515 },
1516 "type": "object"
1517 },
1518 "BadgeList": {
1519 "id": "BadgeList",
1520 "properties": {
1521 "items": {
1522 "description": "List of badges retrieved.",
1523 "items": {
1524 "$ref": "Badge"
1525 },
1526 "type": "array"
1527 },
1528 "kind": {
1529 "default": "orkut#badgeList",
1530 "description": "Identifies this resource as a collection of badges. Value: \"orkut#badgeList\"",
1531 "type": "string"
1532 }
1533 },
1534 "type": "object"
1535 },
1536 "Comment": {
1537 "id": "Comment",
1538 "properties": {
1539 "actor": {
1540 "$ref": "OrkutAuthorResource",
1541 "description": "The person who posted the comment."
1542 },
1543 "content": {
1544 "description": "The content of the comment in text/html",
1545 "type": "string"
1546 },
1547 "id": {
1548 "description": "The unique ID for the comment.",
1549 "type": "string"
1550 },
1551 "inReplyTo": {
1552 "description": "Link to the original activity where this com ment was posted.",
1553 "properties": {
1554 "href": {
1555 "description": "Link to the post on activity stream being commented.",
1556 "type": "string"
1557 },
1558 "ref": {
1559 "description": "Unique identifier of the post on act ivity stream being commented.",
1560 "type": "string"
1561 },
1562 "rel": {
1563 "default": "inReplyTo",
1564 "description": "Relationship between the comment and the post on activity stream being commented. Always inReplyTo.",
1565 "type": "string"
1566 },
1567 "type": {
1568 "description": "Type of the post on activity stream being commented. Always text/html.",
1569 "type": "string"
1570 }
1571 },
1572 "type": "object"
1573 },
1574 "kind": {
1575 "default": "orkut#comment",
1576 "description": "Identifies this resource as a comment. Value : \"orkut#comment\"",
1577 "type": "string"
1578 },
1579 "links": {
1580 "description": "List of resources for the comment.",
1581 "items": {
1582 "$ref": "OrkutLinkResource"
1583 },
1584 "type": "array"
1585 },
1586 "published": {
1587 "description": "The time the comment was initially published , in RFC 3339 format.",
1588 "format": "date-time",
1589 "type": "string"
1590 }
1591 },
1592 "type": "object"
1593 },
1594 "CommentList": {
1595 "id": "CommentList",
1596 "properties": {
1597 "items": {
1598 "description": "List of comments retrieved.",
1599 "items": {
1600 "$ref": "Comment"
1601 },
1602 "type": "array"
1603 },
1604 "kind": {
1605 "default": "orkut#commentList",
1606 "description": "Identifies this resource as a collection of comments. Value: \"orkut#commentList\"",
1607 "type": "string"
1608 },
1609 "nextPageToken": {
1610 "description": "The value of pageToken query parameter in co mments.list request to get the next page, if there are more to retrieve.",
1611 "type": "string"
1612 },
1613 "previousPageToken": {
1614 "description": "The value of pageToken query parameter in co mments.list request to get the previous page, if there are more to retrieve.",
1615 "type": "string"
1616 }
1617 },
1618 "type": "object"
1619 },
1620 "Community": {
1621 "id": "Community",
1622 "properties": {
1623 "category": {
1624 "description": "The category of the community.",
1625 "type": "string"
1626 },
1627 "co_owners": {
1628 "description": "The co-owners of the community.",
1629 "items": {
1630 "$ref": "OrkutAuthorResource"
1631 },
1632 "type": "array"
1633 },
1634 "creation_date": {
1635 "description": "The time the community was created, in RFC 3 339 format.",
1636 "format": "date-time",
1637 "type": "string"
1638 },
1639 "description": {
1640 "description": "The description of the community.",
1641 "type": "string"
1642 },
1643 "id": {
1644 "description": "The id of the community.",
1645 "format": "int32",
1646 "type": "integer"
1647 },
1648 "kind": {
1649 "default": "orkut#community",
1650 "description": "Identifies this resource as a community. Val ue: \"orkut#community\"",
1651 "type": "string"
1652 },
1653 "language": {
1654 "description": "The official language of the community.",
1655 "type": "string"
1656 },
1657 "links": {
1658 "description": "List of resources for the community.",
1659 "items": {
1660 "$ref": "OrkutLinkResource"
1661 },
1662 "type": "array"
1663 },
1664 "location": {
1665 "description": "The location of the community.",
1666 "type": "string"
1667 },
1668 "member_count": {
1669 "description": "The number of users who are part of the comm unity. This number may be approximate, so do not rely on it for iteration.",
1670 "format": "int32",
1671 "type": "integer"
1672 },
1673 "moderators": {
1674 "description": "The list of moderators of the community.",
1675 "items": {
1676 "$ref": "OrkutAuthorResource"
1677 },
1678 "type": "array"
1679 },
1680 "name": {
1681 "description": "The name of the community.",
1682 "type": "string"
1683 },
1684 "owner": {
1685 "$ref": "OrkutAuthorResource",
1686 "description": "The person who owns the community."
1687 },
1688 "photo_url": {
1689 "description": "The photo of the community.",
1690 "type": "string"
1691 }
1692 },
1693 "type": "object"
1694 },
1695 "CommunityList": {
1696 "id": "CommunityList",
1697 "properties": {
1698 "items": {
1699 "description": "List of communities retrieved.",
1700 "items": {
1701 "$ref": "Community"
1702 },
1703 "type": "array"
1704 },
1705 "kind": {
1706 "default": "orkut#communityList",
1707 "description": "Identifies this resource as a collection of communities. Value: \"orkut#communityList\"",
1708 "type": "string"
1709 }
1710 },
1711 "type": "object"
1712 },
1713 "CommunityMembers": {
1714 "id": "CommunityMembers",
1715 "properties": {
1716 "communityMembershipStatus": {
1717 "$ref": "CommunityMembershipStatus",
1718 "description": "Status and permissions of the user related t o the community."
1719 },
1720 "kind": {
1721 "default": "orkut#communityMembers",
1722 "description": "Kind of this item. Always orkut#communityMem bers.",
1723 "type": "string"
1724 },
1725 "person": {
1726 "$ref": "OrkutActivitypersonResource",
1727 "description": "Description of the community member."
1728 }
1729 },
1730 "type": "object"
1731 },
1732 "CommunityMembersList": {
1733 "id": "CommunityMembersList",
1734 "properties": {
1735 "firstPageToken": {
1736 "description": "The value of pageToken query parameter in co mmunity_members.list request to get the first page.",
1737 "type": "string"
1738 },
1739 "items": {
1740 "description": "List of community members retrieved.",
1741 "items": {
1742 "$ref": "CommunityMembers"
1743 },
1744 "type": "array"
1745 },
1746 "kind": {
1747 "default": "orkut#communityMembersList",
1748 "description": "Kind of this item. Always orkut#communityMem bersList.",
1749 "type": "string"
1750 },
1751 "lastPageToken": {
1752 "description": "The value of pageToken query parameter in co mmunity_members.list request to get the last page.",
1753 "type": "string"
1754 },
1755 "nextPageToken": {
1756 "description": "The value of pageToken query parameter in co mmunity_members.list request to get the next page, if there are more to retrieve .",
1757 "type": "string"
1758 },
1759 "prevPageToken": {
1760 "description": "The value of pageToken query parameter in co mmunity_members.list request to get the previous page, if there are more to retr ieve.",
1761 "type": "string"
1762 }
1763 },
1764 "type": "object"
1765 },
1766 "CommunityMembershipStatus": {
1767 "id": "CommunityMembershipStatus",
1768 "properties": {
1769 "canCreatePoll": {
1770 "description": "Whether the user can create a poll in this c ommunity.",
1771 "type": "boolean"
1772 },
1773 "canCreateTopic": {
1774 "description": "Whether the user can create a topic in this community.",
1775 "type": "boolean"
1776 },
1777 "canShout": {
1778 "description": "Whether the user can perform a shout operati on in this community.",
1779 "type": "boolean"
1780 },
1781 "isCoOwner": {
1782 "description": "Whether the session user is a community co-o wner.",
1783 "type": "boolean"
1784 },
1785 "isFollowing": {
1786 "description": "Whether the user is following this community .",
1787 "type": "boolean"
1788 },
1789 "isModerator": {
1790 "description": "Whether the session user is a community mode rator.",
1791 "type": "boolean"
1792 },
1793 "isOwner": {
1794 "description": "Whether the session user is the community ow ner.",
1795 "type": "boolean"
1796 },
1797 "isRestoreAvailable": {
1798 "description": "Whether the restore operation is available f or the community.",
1799 "type": "boolean"
1800 },
1801 "isTakebackAvailable": {
1802 "description": "Whether the take-back operation is available for the community.",
1803 "type": "boolean"
1804 },
1805 "kind": {
1806 "default": "orkut#communityMembershipStatus",
1807 "description": "Kind of this item. Always orkut#communityMem bershipStatus.",
1808 "type": "string"
1809 },
1810 "status": {
1811 "description": "The status of the current link between the c ommunity and the user.",
1812 "type": "string"
1813 }
1814 },
1815 "type": "object"
1816 },
1817 "CommunityMessage": {
1818 "id": "CommunityMessage",
1819 "properties": {
1820 "addedDate": {
1821 "description": "The timestamp of the date when the message w as added, in RFC 3339 format.",
1822 "format": "date-time",
1823 "type": "string"
1824 },
1825 "author": {
1826 "$ref": "OrkutAuthorResource",
1827 "description": "The creator of the message. If ommited, the message is annonimous."
1828 },
1829 "body": {
1830 "description": "The body of the message.",
1831 "type": "string"
1832 },
1833 "id": {
1834 "description": "The ID of the message.",
1835 "format": "int64",
1836 "type": "string"
1837 },
1838 "isSpam": {
1839 "description": "Whether this post was marked as spam by the viewer, when he/she is not the community owner or one of its moderators.",
1840 "type": "boolean"
1841 },
1842 "kind": {
1843 "default": "orkut#communityMessage",
1844 "description": "Identifies this resource as a community mess age. Value: \"orkut#communityMessage\"",
1845 "type": "string"
1846 },
1847 "links": {
1848 "description": "List of resources for the community message. ",
1849 "items": {
1850 "$ref": "OrkutLinkResource"
1851 },
1852 "type": "array"
1853 },
1854 "subject": {
1855 "description": "The subject of the message.",
1856 "type": "string"
1857 }
1858 },
1859 "type": "object"
1860 },
1861 "CommunityMessageList": {
1862 "id": "CommunityMessageList",
1863 "properties": {
1864 "firstPageToken": {
1865 "description": "The value of pageToken query parameter in co mmunity_messages.list request to get the first page.",
1866 "type": "string"
1867 },
1868 "items": {
1869 "description": "List of messages retrieved.",
1870 "items": {
1871 "$ref": "CommunityMessage"
1872 },
1873 "type": "array"
1874 },
1875 "kind": {
1876 "default": "orkut#communityMessageList",
1877 "description": "Identifies this resource as a collection of community messages. Value: \"orkut#communityMessageList\"",
1878 "type": "string"
1879 },
1880 "lastPageToken": {
1881 "description": "The value of pageToken query parameter in co mmunity_messages.list request to get the last page.",
1882 "type": "string"
1883 },
1884 "nextPageToken": {
1885 "description": "The value of pageToken query parameter in co mmunity_messages.list request to get the next page, if there are more to retriev e.",
1886 "type": "string"
1887 },
1888 "prevPageToken": {
1889 "description": "The value of pageToken query parameter in co mmunity_messages.list request to get the previous page, if there are more to ret rieve.",
1890 "type": "string"
1891 }
1892 },
1893 "type": "object"
1894 },
1895 "CommunityPoll": {
1896 "id": "CommunityPoll",
1897 "properties": {
1898 "author": {
1899 "$ref": "OrkutAuthorResource",
1900 "description": "The person who created the poll."
1901 },
1902 "communityId": {
1903 "description": "The ID of the community.",
1904 "format": "int32",
1905 "type": "integer"
1906 },
1907 "creationTime": {
1908 "description": "The date of creation of this poll",
1909 "format": "date-time",
1910 "type": "string"
1911 },
1912 "description": {
1913 "description": "The poll description.",
1914 "type": "string"
1915 },
1916 "endingTime": {
1917 "description": "The ending date of this poll or empty if the poll doesn't have one.",
1918 "format": "date-time",
1919 "type": "string"
1920 },
1921 "hasVoted": {
1922 "description": "Whether the user has voted on this poll.",
1923 "type": "boolean"
1924 },
1925 "id": {
1926 "description": "The poll ID.",
1927 "type": "string"
1928 },
1929 "image": {
1930 "description": "The image representing the poll. Field is om itted if no image exists.",
1931 "properties": {
1932 "url": {
1933 "description": "A URL that points to an image of the poll.",
1934 "type": "string"
1935 }
1936 },
1937 "type": "object"
1938 },
1939 "isClosed": {
1940 "description": "Whether the poll is not expired if there is an expiration date. A poll is open (that is, not closed for voting) if it either is not expired or doesn't have an expiration date at all. Note that just becaus e a poll is open, it doesn't mean that the requester can vote on it.",
1941 "type": "boolean"
1942 },
1943 "isMultipleAnswers": {
1944 "description": "Whether this poll allows voting for more tha n one option.",
1945 "type": "boolean"
1946 },
1947 "isOpenForVoting": {
1948 "description": "Whether this poll is still opened for voting . A poll is open for voting if it is not closed, the user has not yet voted on i t and the user has the permission to do so, which happens if he/she is either a community member or the poll is open for everybody.",
1949 "type": "boolean"
1950 },
1951 "isRestricted": {
1952 "description": "Whether this poll is restricted for members only. If a poll is open but the user can't vote on it, it's been restricted to m embers only. This information is important to tell this case apart from the one where the user can't vote simply because the poll is already closed.",
1953 "type": "boolean"
1954 },
1955 "isSpam": {
1956 "description": "Whether the user has marked this poll as spa m. This only affects the poll for this user, not globally.",
1957 "type": "boolean"
1958 },
1959 "isUsersVotePublic": {
1960 "description": "If user has already voted, whether his vote is publicly visible.",
1961 "type": "boolean"
1962 },
1963 "isVotingAllowedForNonMembers": {
1964 "description": "Whether non-members of the community can vot e on the poll.",
1965 "type": "boolean"
1966 },
1967 "kind": {
1968 "default": "orkut#communityPoll",
1969 "description": "Identifies this resource as a community poll . Value: \"orkut#communityPoll\"",
1970 "type": "string"
1971 },
1972 "lastUpdate": {
1973 "description": "The date of the last update of this poll.",
1974 "format": "date-time",
1975 "type": "string"
1976 },
1977 "links": {
1978 "description": "List of resources for the community poll.",
1979 "items": {
1980 "$ref": "OrkutLinkResource"
1981 },
1982 "type": "array"
1983 },
1984 "options": {
1985 "description": "List of options of this poll.",
1986 "items": {
1987 "$ref": "OrkutCommunitypolloptionResource"
1988 },
1989 "type": "array"
1990 },
1991 "question": {
1992 "description": "The poll question.",
1993 "type": "string"
1994 },
1995 "totalNumberOfVotes": {
1996 "description": "The total number of votes this poll has rece ived.",
1997 "format": "int32",
1998 "type": "integer"
1999 },
2000 "votedOptions": {
2001 "description": "List of options the user has voted on, if th ere are any.",
2002 "items": {
2003 "format": "int32",
2004 "type": "integer"
2005 },
2006 "type": "array"
2007 }
2008 },
2009 "type": "object"
2010 },
2011 "CommunityPollComment": {
2012 "id": "CommunityPollComment",
2013 "properties": {
2014 "addedDate": {
2015 "description": "The date when the message was added, in RFC 3339 format.",
2016 "format": "date-time",
2017 "type": "string"
2018 },
2019 "author": {
2020 "$ref": "OrkutAuthorResource",
2021 "description": "The creator of the comment."
2022 },
2023 "body": {
2024 "description": "The body of the message.",
2025 "type": "string"
2026 },
2027 "id": {
2028 "description": "The ID of the comment.",
2029 "format": "int32",
2030 "type": "integer"
2031 },
2032 "kind": {
2033 "default": "orkut#communityPollComment",
2034 "description": "Identifies this resource as a community poll comment. Value: \"orkut#communityPollComment\"",
2035 "type": "string"
2036 }
2037 },
2038 "type": "object"
2039 },
2040 "CommunityPollCommentList": {
2041 "id": "CommunityPollCommentList",
2042 "properties": {
2043 "firstPageToken": {
2044 "description": "The value of pageToken query parameter in co mmunity_poll_comments.list request to get the first page.",
2045 "type": "string"
2046 },
2047 "items": {
2048 "description": "List of community poll comments retrieved.",
2049 "items": {
2050 "$ref": "CommunityPollComment"
2051 },
2052 "type": "array"
2053 },
2054 "kind": {
2055 "default": "orkut#CommunityPollCommentList",
2056 "description": "Identifies this resource as a collection of community poll comments. Value: \"orkut#CommunityPollCommentList\"",
2057 "type": "string"
2058 },
2059 "lastPageToken": {
2060 "description": "The value of pageToken query parameter in co mmunity_poll_comments.list request to get the last page.",
2061 "type": "string"
2062 },
2063 "nextPageToken": {
2064 "description": "The value of pageToken query parameter in co mmunity_poll_comments.list request to get the next page, if there are more to re trieve.",
2065 "type": "string"
2066 },
2067 "prevPageToken": {
2068 "description": "The value of pageToken query parameter in co mmunity_poll_comments.list request to get the previous page, if there are more t o retrieve.",
2069 "type": "string"
2070 }
2071 },
2072 "type": "object"
2073 },
2074 "CommunityPollList": {
2075 "id": "CommunityPollList",
2076 "properties": {
2077 "firstPageToken": {
2078 "description": "The value of pageToken query parameter in co mmunity_polls.list request to get the first page.",
2079 "type": "string"
2080 },
2081 "items": {
2082 "description": "List of community polls retrieved.",
2083 "items": {
2084 "$ref": "CommunityPoll"
2085 },
2086 "type": "array"
2087 },
2088 "kind": {
2089 "default": "orkut#communityPollList",
2090 "description": "Identifies this resource as a collection of community polls. Value: \"orkut#communityPollList\"",
2091 "type": "string"
2092 },
2093 "lastPageToken": {
2094 "description": "The value of pageToken query parameter in co mmunity_polls.list request to get the last page.",
2095 "type": "string"
2096 },
2097 "nextPageToken": {
2098 "description": "The value of pageToken query parameter in co mmunity_polls.list request to get the next page, if there are more to retrieve." ,
2099 "type": "string"
2100 },
2101 "prevPageToken": {
2102 "description": "The value of pageToken query parameter in co mmunity_polls.list request to get the previous page, if there are more to retrie ve.",
2103 "type": "string"
2104 }
2105 },
2106 "type": "object"
2107 },
2108 "CommunityPollVote": {
2109 "id": "CommunityPollVote",
2110 "properties": {
2111 "isVotevisible": {
2112 "description": "Whether this vote is visible to other users or not.",
2113 "type": "boolean"
2114 },
2115 "kind": {
2116 "default": "orkut#communityPollVote",
2117 "description": "Identifies this resource as a community poll vote. Value: \"orkut#communityPollVote\"",
2118 "type": "string"
2119 },
2120 "optionIds": {
2121 "description": "The ids of the voted options.",
2122 "items": {
2123 "format": "int32",
2124 "type": "integer"
2125 },
2126 "type": "array"
2127 }
2128 },
2129 "type": "object"
2130 },
2131 "CommunityTopic": {
2132 "id": "CommunityTopic",
2133 "properties": {
2134 "author": {
2135 "$ref": "OrkutAuthorResource",
2136 "description": "The creator of the topic."
2137 },
2138 "body": {
2139 "description": "The body of the topic.",
2140 "type": "string"
2141 },
2142 "id": {
2143 "description": "The ID of the topic.",
2144 "format": "int64",
2145 "type": "string"
2146 },
2147 "isClosed": {
2148 "description": "Whether the topic is closed for new messages .",
2149 "type": "boolean"
2150 },
2151 "kind": {
2152 "default": "orkut#communityTopic",
2153 "description": "Identifies this resource as a community topi c. Value: \"orkut#communityTopic\"",
2154 "type": "string"
2155 },
2156 "lastUpdate": {
2157 "description": "The timestamp of the last update, in RFC 333 9 format.",
2158 "format": "date-time",
2159 "type": "string"
2160 },
2161 "latestMessageSnippet": {
2162 "description": "Snippet of the last message posted on this t opic.",
2163 "type": "string"
2164 },
2165 "links": {
2166 "description": "List of resources for the community.",
2167 "items": {
2168 "$ref": "OrkutLinkResource"
2169 },
2170 "type": "array"
2171 },
2172 "messages": {
2173 "description": "Most recent messages.",
2174 "items": {
2175 "$ref": "CommunityMessage"
2176 },
2177 "type": "array"
2178 },
2179 "numberOfReplies": {
2180 "description": "The total number of replies this topic has r eceived.",
2181 "format": "int32",
2182 "type": "integer"
2183 },
2184 "title": {
2185 "description": "The title of the topic.",
2186 "type": "string"
2187 }
2188 },
2189 "type": "object"
2190 },
2191 "CommunityTopicList": {
2192 "id": "CommunityTopicList",
2193 "properties": {
2194 "firstPageToken": {
2195 "description": "The value of pageToken query parameter in co mmunity_topic.list request to get the first page.",
2196 "type": "string"
2197 },
2198 "items": {
2199 "description": "List of topics retrieved.",
2200 "items": {
2201 "$ref": "CommunityTopic"
2202 },
2203 "type": "array"
2204 },
2205 "kind": {
2206 "default": "orkut#communityTopicList",
2207 "description": "Identifies this resource as a collection of community topics. Value: \"orkut#communityTopicList\"",
2208 "type": "string"
2209 },
2210 "lastPageToken": {
2211 "description": "The value of pageToken query parameter in co mmunity_topic.list request to get the last page.",
2212 "type": "string"
2213 },
2214 "nextPageToken": {
2215 "description": "The value of pageToken query parameter in co mmunity_topic.list request to get the next page, if there are more to retrieve." ,
2216 "type": "string"
2217 },
2218 "prevPageToken": {
2219 "description": "The value of pageToken query parameter in co mmunity_topic.list request to get the previous page, if there are more to retrie ve.",
2220 "type": "string"
2221 }
2222 },
2223 "type": "object"
2224 },
2225 "Counters": {
2226 "id": "Counters",
2227 "properties": {
2228 "items": {
2229 "description": "List of counters retrieved.",
2230 "items": {
2231 "$ref": "OrkutCounterResource"
2232 },
2233 "type": "array"
2234 },
2235 "kind": {
2236 "default": "orkut#counters",
2237 "description": "Identifies this resource as a collection of counters. Value: \"orkut#counters\"",
2238 "type": "string"
2239 }
2240 },
2241 "type": "object"
2242 },
2243 "OrkutActivityobjectsResource": {
2244 "id": "OrkutActivityobjectsResource",
2245 "properties": {
2246 "community": {
2247 "$ref": "Community",
2248 "description": "The community which is related with this act ivity, e.g. a joined community."
2249 },
2250 "content": {
2251 "description": "The HTML-formatted content, suitable for dis play. When updating an activity's content, post the changes to this property, us ing the value of originalContent as a starting point. If the update is successfu l, the server adds HTML formatting and responds with this formatted content.",
2252 "type": "string"
2253 },
2254 "displayName": {
2255 "description": "The title of the object.",
2256 "type": "string"
2257 },
2258 "id": {
2259 "description": "The ID for the object.",
2260 "type": "string"
2261 },
2262 "links": {
2263 "description": "Links to other resources related to this obj ect.",
2264 "items": {
2265 "$ref": "OrkutLinkResource"
2266 },
2267 "type": "array"
2268 },
2269 "objectType": {
2270 "description": "The object type.",
2271 "type": "string"
2272 },
2273 "person": {
2274 "$ref": "OrkutActivitypersonResource",
2275 "description": "The person who is related with this activity , e.g. an Added User."
2276 }
2277 },
2278 "type": "object"
2279 },
2280 "OrkutActivitypersonResource": {
2281 "id": "OrkutActivitypersonResource",
2282 "properties": {
2283 "birthday": {
2284 "description": "The person's date of birth, represented as Y YYY-MM-DD.",
2285 "type": "string"
2286 },
2287 "gender": {
2288 "description": "The person's gender. Values include \"male\" , \"female\", and \"other\".",
2289 "type": "string"
2290 },
2291 "id": {
2292 "description": "The person's opensocial ID.",
2293 "type": "string"
2294 },
2295 "image": {
2296 "description": "The person's profile photo. This is adapted from Google+ and was originaly introduced as extra OpenSocial convenience fields .",
2297 "properties": {
2298 "url": {
2299 "description": "The URL of the person's profile phot o.",
2300 "type": "string"
2301 }
2302 },
2303 "type": "object"
2304 },
2305 "name": {
2306 "description": "An object that encapsulates the individual c omponents of a person's name.",
2307 "properties": {
2308 "familyName": {
2309 "description": "The family name (last name) of this person.",
2310 "type": "string"
2311 },
2312 "givenName": {
2313 "description": "The given name (first name) of this person.",
2314 "type": "string"
2315 }
2316 },
2317 "type": "object"
2318 },
2319 "url": {
2320 "description": "The person's profile url. This is adapted fr om Google+ and was originaly introduced as extra OpenSocial convenience fields." ,
2321 "type": "string"
2322 }
2323 },
2324 "type": "object"
2325 },
2326 "OrkutAuthorResource": {
2327 "id": "OrkutAuthorResource",
2328 "properties": {
2329 "displayName": {
2330 "description": "The name of the author, suitable for display .",
2331 "type": "string"
2332 },
2333 "id": {
2334 "description": "Unique identifier of the person who posted t he comment. This is the person's OpenSocial ID.",
2335 "type": "string"
2336 },
2337 "image": {
2338 "description": "Image data about the author.",
2339 "properties": {
2340 "url": {
2341 "description": "A URL that points to a thumbnail pho to of the author.",
2342 "type": "string"
2343 }
2344 },
2345 "type": "object"
2346 },
2347 "url": {
2348 "description": "The URL of the author who posted the comment [not yet implemented]",
2349 "type": "string"
2350 }
2351 },
2352 "type": "object"
2353 },
2354 "OrkutCommunitypolloptionResource": {
2355 "id": "OrkutCommunitypolloptionResource",
2356 "properties": {
2357 "description": {
2358 "description": "The option description.",
2359 "type": "string"
2360 },
2361 "image": {
2362 "description": "Image data about the poll option. Field is o mitted if no image exists.",
2363 "properties": {
2364 "url": {
2365 "description": "A URL that points to an image of the poll question.",
2366 "type": "string"
2367 }
2368 },
2369 "type": "object"
2370 },
2371 "numberOfVotes": {
2372 "description": "The total number of votes that this option r eceived.",
2373 "format": "int32",
2374 "type": "integer"
2375 },
2376 "optionId": {
2377 "description": "The poll option ID",
2378 "format": "int32",
2379 "type": "integer"
2380 }
2381 },
2382 "type": "object"
2383 },
2384 "OrkutCounterResource": {
2385 "id": "OrkutCounterResource",
2386 "properties": {
2387 "link": {
2388 "$ref": "OrkutLinkResource",
2389 "description": "Link to the collection being counted."
2390 },
2391 "name": {
2392 "description": "The name of the counted collection. Currentl y supported collections are: \n- scraps - The scraps of the user. \n- photos - The photos of the user. \n- videos - The videos of the user. \n- pendingTestimon ials - The pending testimonials of the user.",
2393 "type": "string"
2394 },
2395 "total": {
2396 "description": "The number of resources on the counted colle ction.",
2397 "format": "int32",
2398 "type": "integer"
2399 }
2400 },
2401 "type": "object"
2402 },
2403 "OrkutLinkResource": {
2404 "description": "Links to resources related to the parent object.",
2405 "id": "OrkutLinkResource",
2406 "properties": {
2407 "href": {
2408 "description": "URL of the link.",
2409 "type": "string"
2410 },
2411 "rel": {
2412 "description": "Relation between the resource and the parent object.",
2413 "type": "string"
2414 },
2415 "title": {
2416 "description": "Title of the link.",
2417 "type": "string"
2418 },
2419 "type": {
2420 "description": "Media type of the link.",
2421 "type": "string"
2422 }
2423 },
2424 "type": "object"
2425 },
2426 "Visibility": {
2427 "id": "Visibility",
2428 "properties": {
2429 "kind": {
2430 "default": "orkut#visibility",
2431 "description": "Identifies this resource as a visibility ite m. Value: \"orkut#visibility\"",
2432 "type": "string"
2433 },
2434 "links": {
2435 "description": "List of resources for the visibility item.",
2436 "items": {
2437 "$ref": "OrkutLinkResource"
2438 },
2439 "type": "array"
2440 },
2441 "visibility": {
2442 "description": "The visibility of the resource. Possible val ues are: \n- default: not hidden by the user \n- hidden: hidden",
2443 "type": "string"
2444 }
2445 },
2446 "type": "object"
2447 }
2448 },
2449 "servicePath": "orkut/v2/",
2450 "title": "Orkut API",
2451 "version": "v2"
2452 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698