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

Side by Side Diff: discovery/googleapis/tasks__v1.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/tasks": {
6 "description": "Manage your tasks"
7 },
8 "https://www.googleapis.com/auth/tasks.readonly": {
9 "description": "View your tasks"
10 }
11 }
12 }
13 },
14 "basePath": "/tasks/v1/",
15 "baseUrl": "https://www.googleapis.com/tasks/v1/",
16 "batchPath": "batch",
17 "description": "Lets you manage your tasks and task lists.",
18 "discoveryVersion": "v1",
19 "documentationLink": "https://developers.google.com/google-apps/tasks/firsta pp",
20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2OzpktTyb8G1n0lJqDrsLrojoIY\"",
21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/tasks-16.png",
23 "x32": "http://www.google.com/images/icons/product/tasks-32.png"
24 },
25 "id": "tasks:v1",
26 "kind": "discovery#restDescription",
27 "name": "tasks",
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 "tasklists": {
78 "methods": {
79 "delete": {
80 "description": "Deletes the authenticated user's specified t ask list.",
81 "httpMethod": "DELETE",
82 "id": "tasks.tasklists.delete",
83 "parameterOrder": [
84 "tasklist"
85 ],
86 "parameters": {
87 "tasklist": {
88 "description": "Task list identifier.",
89 "location": "path",
90 "required": true,
91 "type": "string"
92 }
93 },
94 "path": "users/@me/lists/{tasklist}",
95 "scopes": [
96 "https://www.googleapis.com/auth/tasks"
97 ]
98 },
99 "get": {
100 "description": "Returns the authenticated user's specified t ask list.",
101 "httpMethod": "GET",
102 "id": "tasks.tasklists.get",
103 "parameterOrder": [
104 "tasklist"
105 ],
106 "parameters": {
107 "tasklist": {
108 "description": "Task list identifier.",
109 "location": "path",
110 "required": true,
111 "type": "string"
112 }
113 },
114 "path": "users/@me/lists/{tasklist}",
115 "response": {
116 "$ref": "TaskList"
117 },
118 "scopes": [
119 "https://www.googleapis.com/auth/tasks",
120 "https://www.googleapis.com/auth/tasks.readonly"
121 ]
122 },
123 "insert": {
124 "description": "Creates a new task list and adds it to the a uthenticated user's task lists.",
125 "httpMethod": "POST",
126 "id": "tasks.tasklists.insert",
127 "path": "users/@me/lists",
128 "request": {
129 "$ref": "TaskList"
130 },
131 "response": {
132 "$ref": "TaskList"
133 },
134 "scopes": [
135 "https://www.googleapis.com/auth/tasks"
136 ]
137 },
138 "list": {
139 "description": "Returns all the authenticated user's task li sts.",
140 "httpMethod": "GET",
141 "id": "tasks.tasklists.list",
142 "parameters": {
143 "maxResults": {
144 "description": "Maximum number of task lists returne d on one page. Optional. The default is 100.",
145 "format": "int64",
146 "location": "query",
147 "type": "string"
148 },
149 "pageToken": {
150 "description": "Token specifying the result page to return. Optional.",
151 "location": "query",
152 "type": "string"
153 }
154 },
155 "path": "users/@me/lists",
156 "response": {
157 "$ref": "TaskLists"
158 },
159 "scopes": [
160 "https://www.googleapis.com/auth/tasks",
161 "https://www.googleapis.com/auth/tasks.readonly"
162 ]
163 },
164 "patch": {
165 "description": "Updates the authenticated user's specified t ask list. This method supports patch semantics.",
166 "httpMethod": "PATCH",
167 "id": "tasks.tasklists.patch",
168 "parameterOrder": [
169 "tasklist"
170 ],
171 "parameters": {
172 "tasklist": {
173 "description": "Task list identifier.",
174 "location": "path",
175 "required": true,
176 "type": "string"
177 }
178 },
179 "path": "users/@me/lists/{tasklist}",
180 "request": {
181 "$ref": "TaskList"
182 },
183 "response": {
184 "$ref": "TaskList"
185 },
186 "scopes": [
187 "https://www.googleapis.com/auth/tasks"
188 ]
189 },
190 "update": {
191 "description": "Updates the authenticated user's specified t ask list.",
192 "httpMethod": "PUT",
193 "id": "tasks.tasklists.update",
194 "parameterOrder": [
195 "tasklist"
196 ],
197 "parameters": {
198 "tasklist": {
199 "description": "Task list identifier.",
200 "location": "path",
201 "required": true,
202 "type": "string"
203 }
204 },
205 "path": "users/@me/lists/{tasklist}",
206 "request": {
207 "$ref": "TaskList"
208 },
209 "response": {
210 "$ref": "TaskList"
211 },
212 "scopes": [
213 "https://www.googleapis.com/auth/tasks"
214 ]
215 }
216 }
217 },
218 "tasks": {
219 "methods": {
220 "clear": {
221 "description": "Clears all completed tasks from the specifie d task list. The affected tasks will be marked as 'hidden' and no longer be retu rned by default when retrieving all tasks for a task list.",
222 "httpMethod": "POST",
223 "id": "tasks.tasks.clear",
224 "parameterOrder": [
225 "tasklist"
226 ],
227 "parameters": {
228 "tasklist": {
229 "description": "Task list identifier.",
230 "location": "path",
231 "required": true,
232 "type": "string"
233 }
234 },
235 "path": "lists/{tasklist}/clear",
236 "scopes": [
237 "https://www.googleapis.com/auth/tasks"
238 ]
239 },
240 "delete": {
241 "description": "Deletes the specified task from the task lis t.",
242 "httpMethod": "DELETE",
243 "id": "tasks.tasks.delete",
244 "parameterOrder": [
245 "tasklist",
246 "task"
247 ],
248 "parameters": {
249 "task": {
250 "description": "Task identifier.",
251 "location": "path",
252 "required": true,
253 "type": "string"
254 },
255 "tasklist": {
256 "description": "Task list identifier.",
257 "location": "path",
258 "required": true,
259 "type": "string"
260 }
261 },
262 "path": "lists/{tasklist}/tasks/{task}",
263 "scopes": [
264 "https://www.googleapis.com/auth/tasks"
265 ]
266 },
267 "get": {
268 "description": "Returns the specified task.",
269 "httpMethod": "GET",
270 "id": "tasks.tasks.get",
271 "parameterOrder": [
272 "tasklist",
273 "task"
274 ],
275 "parameters": {
276 "task": {
277 "description": "Task identifier.",
278 "location": "path",
279 "required": true,
280 "type": "string"
281 },
282 "tasklist": {
283 "description": "Task list identifier.",
284 "location": "path",
285 "required": true,
286 "type": "string"
287 }
288 },
289 "path": "lists/{tasklist}/tasks/{task}",
290 "response": {
291 "$ref": "Task"
292 },
293 "scopes": [
294 "https://www.googleapis.com/auth/tasks",
295 "https://www.googleapis.com/auth/tasks.readonly"
296 ]
297 },
298 "insert": {
299 "description": "Creates a new task on the specified task lis t.",
300 "httpMethod": "POST",
301 "id": "tasks.tasks.insert",
302 "parameterOrder": [
303 "tasklist"
304 ],
305 "parameters": {
306 "parent": {
307 "description": "Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional.",
308 "location": "query",
309 "type": "string"
310 },
311 "previous": {
312 "description": "Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.",
313 "location": "query",
314 "type": "string"
315 },
316 "tasklist": {
317 "description": "Task list identifier.",
318 "location": "path",
319 "required": true,
320 "type": "string"
321 }
322 },
323 "path": "lists/{tasklist}/tasks",
324 "request": {
325 "$ref": "Task"
326 },
327 "response": {
328 "$ref": "Task"
329 },
330 "scopes": [
331 "https://www.googleapis.com/auth/tasks"
332 ]
333 },
334 "list": {
335 "description": "Returns all tasks in the specified task list .",
336 "httpMethod": "GET",
337 "id": "tasks.tasks.list",
338 "parameterOrder": [
339 "tasklist"
340 ],
341 "parameters": {
342 "completedMax": {
343 "description": "Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to fil ter by completion date.",
344 "location": "query",
345 "type": "string"
346 },
347 "completedMin": {
348 "description": "Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to fil ter by completion date.",
349 "location": "query",
350 "type": "string"
351 },
352 "dueMax": {
353 "description": "Upper bound for a task's due date (a s a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.",
354 "location": "query",
355 "type": "string"
356 },
357 "dueMin": {
358 "description": "Lower bound for a task's due date (a s a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.",
359 "location": "query",
360 "type": "string"
361 },
362 "maxResults": {
363 "description": "Maximum number of task lists returne d on one page. Optional. The default is 100.",
364 "format": "int64",
365 "location": "query",
366 "type": "string"
367 },
368 "pageToken": {
369 "description": "Token specifying the result page to return. Optional.",
370 "location": "query",
371 "type": "string"
372 },
373 "showCompleted": {
374 "description": "Flag indicating whether completed ta sks are returned in the result. Optional. The default is True.",
375 "location": "query",
376 "type": "boolean"
377 },
378 "showDeleted": {
379 "description": "Flag indicating whether deleted task s are returned in the result. Optional. The default is False.",
380 "location": "query",
381 "type": "boolean"
382 },
383 "showHidden": {
384 "description": "Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.",
385 "location": "query",
386 "type": "boolean"
387 },
388 "tasklist": {
389 "description": "Task list identifier.",
390 "location": "path",
391 "required": true,
392 "type": "string"
393 },
394 "updatedMin": {
395 "description": "Lower bound for a task's last modifi cation time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.",
396 "location": "query",
397 "type": "string"
398 }
399 },
400 "path": "lists/{tasklist}/tasks",
401 "response": {
402 "$ref": "Tasks"
403 },
404 "scopes": [
405 "https://www.googleapis.com/auth/tasks",
406 "https://www.googleapis.com/auth/tasks.readonly"
407 ]
408 },
409 "move": {
410 "description": "Moves the specified task to another position in the task list. This can include putting it as a child task under a new paren t and/or move it to a different position among its sibling tasks.",
411 "httpMethod": "POST",
412 "id": "tasks.tasks.move",
413 "parameterOrder": [
414 "tasklist",
415 "task"
416 ],
417 "parameters": {
418 "parent": {
419 "description": "New parent task identifier. If the t ask is moved to the top level, this parameter is omitted. Optional.",
420 "location": "query",
421 "type": "string"
422 },
423 "previous": {
424 "description": "New previous sibling task identifier . If the task is moved to the first position among its siblings, this parameter is omitted. Optional.",
425 "location": "query",
426 "type": "string"
427 },
428 "task": {
429 "description": "Task identifier.",
430 "location": "path",
431 "required": true,
432 "type": "string"
433 },
434 "tasklist": {
435 "description": "Task list identifier.",
436 "location": "path",
437 "required": true,
438 "type": "string"
439 }
440 },
441 "path": "lists/{tasklist}/tasks/{task}/move",
442 "response": {
443 "$ref": "Task"
444 },
445 "scopes": [
446 "https://www.googleapis.com/auth/tasks"
447 ]
448 },
449 "patch": {
450 "description": "Updates the specified task. This method supp orts patch semantics.",
451 "httpMethod": "PATCH",
452 "id": "tasks.tasks.patch",
453 "parameterOrder": [
454 "tasklist",
455 "task"
456 ],
457 "parameters": {
458 "task": {
459 "description": "Task identifier.",
460 "location": "path",
461 "required": true,
462 "type": "string"
463 },
464 "tasklist": {
465 "description": "Task list identifier.",
466 "location": "path",
467 "required": true,
468 "type": "string"
469 }
470 },
471 "path": "lists/{tasklist}/tasks/{task}",
472 "request": {
473 "$ref": "Task"
474 },
475 "response": {
476 "$ref": "Task"
477 },
478 "scopes": [
479 "https://www.googleapis.com/auth/tasks"
480 ]
481 },
482 "update": {
483 "description": "Updates the specified task.",
484 "httpMethod": "PUT",
485 "id": "tasks.tasks.update",
486 "parameterOrder": [
487 "tasklist",
488 "task"
489 ],
490 "parameters": {
491 "task": {
492 "description": "Task identifier.",
493 "location": "path",
494 "required": true,
495 "type": "string"
496 },
497 "tasklist": {
498 "description": "Task list identifier.",
499 "location": "path",
500 "required": true,
501 "type": "string"
502 }
503 },
504 "path": "lists/{tasklist}/tasks/{task}",
505 "request": {
506 "$ref": "Task"
507 },
508 "response": {
509 "$ref": "Task"
510 },
511 "scopes": [
512 "https://www.googleapis.com/auth/tasks"
513 ]
514 }
515 }
516 }
517 },
518 "revision": "20130403",
519 "rootUrl": "https://www.googleapis.com/",
520 "schemas": {
521 "Task": {
522 "id": "Task",
523 "properties": {
524 "completed": {
525 "description": "Completion date of the task (as a RFC 3339 t imestamp). This field is omitted if the task has not been completed.",
526 "format": "date-time",
527 "type": "string"
528 },
529 "deleted": {
530 "description": "Flag indicating whether the task has been de leted. The default if False.",
531 "type": "boolean"
532 },
533 "due": {
534 "description": "Due date of the task (as a RFC 3339 timestam p). Optional.",
535 "format": "date-time",
536 "type": "string"
537 },
538 "etag": {
539 "description": "ETag of the resource.",
540 "type": "string"
541 },
542 "hidden": {
543 "description": "Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was la st cleared. The default is False. This field is read-only.",
544 "type": "boolean"
545 },
546 "id": {
547 "description": "Task identifier.",
548 "type": "string"
549 },
550 "kind": {
551 "default": "tasks#task",
552 "description": "Type of the resource. This is always \"tasks #task\".",
553 "type": "string"
554 },
555 "links": {
556 "description": "Collection of links. This collection is read -only.",
557 "items": {
558 "properties": {
559 "description": {
560 "description": "The description. In HTML speak: Everything between <a> and </a>.",
561 "type": "string"
562 },
563 "link": {
564 "description": "The URL.",
565 "type": "string"
566 },
567 "type": {
568 "description": "Type of the link, e.g. \"email\" .",
569 "type": "string"
570 }
571 },
572 "type": "object"
573 },
574 "type": "array"
575 },
576 "notes": {
577 "description": "Notes describing the task. Optional.",
578 "type": "string"
579 },
580 "parent": {
581 "description": "Parent task identifier. This field is omitte d if it is a top-level task. This field is read-only. Use the \"move\" method to move the task under a different parent or to the top level.",
582 "type": "string"
583 },
584 "position": {
585 "description": "String indicating the position of the task a mong its sibling tasks under the same parent task or at the top level. If this s tring is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the \"move\ " method to move the task to another position.",
586 "type": "string"
587 },
588 "selfLink": {
589 "description": "URL pointing to this task. Used to retrieve, update, or delete this task.",
590 "type": "string"
591 },
592 "status": {
593 "description": "Status of the task. This is either \"needsAc tion\" or \"completed\".",
594 "type": "string"
595 },
596 "title": {
597 "description": "Title of the task.",
598 "type": "string"
599 },
600 "updated": {
601 "description": "Last modification time of the task (as a RFC 3339 timestamp).",
602 "format": "date-time",
603 "type": "string"
604 }
605 },
606 "type": "object"
607 },
608 "TaskList": {
609 "id": "TaskList",
610 "properties": {
611 "etag": {
612 "description": "ETag of the resource.",
613 "type": "string"
614 },
615 "id": {
616 "description": "Task list identifier.",
617 "type": "string"
618 },
619 "kind": {
620 "default": "tasks#taskList",
621 "description": "Type of the resource. This is always \"tasks #taskList\".",
622 "type": "string"
623 },
624 "selfLink": {
625 "description": "URL pointing to this task list. Used to retr ieve, update, or delete this task list.",
626 "type": "string"
627 },
628 "title": {
629 "description": "Title of the task list.",
630 "type": "string"
631 },
632 "updated": {
633 "description": "Last modification time of the task list (as a RFC 3339 timestamp).",
634 "format": "date-time",
635 "type": "string"
636 }
637 },
638 "type": "object"
639 },
640 "TaskLists": {
641 "id": "TaskLists",
642 "properties": {
643 "etag": {
644 "description": "ETag of the resource.",
645 "type": "string"
646 },
647 "items": {
648 "description": "Collection of task lists.",
649 "items": {
650 "$ref": "TaskList"
651 },
652 "type": "array"
653 },
654 "kind": {
655 "default": "tasks#taskLists",
656 "description": "Type of the resource. This is always \"tasks #taskLists\".",
657 "type": "string"
658 },
659 "nextPageToken": {
660 "description": "Token that can be used to request the next p age of this result.",
661 "type": "string"
662 }
663 },
664 "type": "object"
665 },
666 "Tasks": {
667 "id": "Tasks",
668 "properties": {
669 "etag": {
670 "description": "ETag of the resource.",
671 "type": "string"
672 },
673 "items": {
674 "description": "Collection of tasks.",
675 "items": {
676 "$ref": "Task"
677 },
678 "type": "array"
679 },
680 "kind": {
681 "default": "tasks#tasks",
682 "description": "Type of the resource. This is always \"tasks #tasks\".",
683 "type": "string"
684 },
685 "nextPageToken": {
686 "description": "Token used to access the next page of this r esult.",
687 "type": "string"
688 }
689 },
690 "type": "object"
691 }
692 },
693 "servicePath": "tasks/v1/",
694 "title": "Tasks API",
695 "version": "v1"
696 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698