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

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

Issue 1078053002: Roll of googleapis as of 4/7/2015. (Closed) Base URL: https://github.com/dart-lang/googleapis.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « discovery/googleapis/games__v1.json ('k') | discovery/googleapis/groupsmigration__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://mail.google.com/": { 5 "https://mail.google.com/": {
6 "description": "View and manage your mail" 6 "description": "View and manage your mail"
7 }, 7 },
8 "https://www.googleapis.com/auth/gmail.compose": { 8 "https://www.googleapis.com/auth/gmail.compose": {
9 "description": "Manage drafts and send emails" 9 "description": "Manage drafts and send emails"
10 }, 10 },
11 "https://www.googleapis.com/auth/gmail.insert": {
12 "description": "Insert mail into your mailbox"
13 },
14 "https://www.googleapis.com/auth/gmail.labels": {
15 "description": "Manage mailbox labels"
16 },
11 "https://www.googleapis.com/auth/gmail.modify": { 17 "https://www.googleapis.com/auth/gmail.modify": {
12 "description": "View and modify but not delete your email" 18 "description": "View and modify but not delete your email"
13 }, 19 },
14 "https://www.googleapis.com/auth/gmail.readonly": { 20 "https://www.googleapis.com/auth/gmail.readonly": {
15 "description": "View your emails messages and settings" 21 "description": "View your emails messages and settings"
16 } 22 }
17 } 23 }
18 } 24 }
19 }, 25 },
20 "basePath": "/gmail/v1/users/", 26 "basePath": "/gmail/v1/users/",
21 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", 27 "baseUrl": "https://www.googleapis.com/gmail/v1/users/",
22 "batchPath": "batch", 28 "batchPath": "batch",
23 "description": "The Gmail REST API.", 29 "description": "The Gmail REST API.",
24 "discoveryVersion": "v1", 30 "discoveryVersion": "v1",
25 "documentationLink": "https://developers.google.com/gmail/api/", 31 "documentationLink": "https://developers.google.com/gmail/api/",
26 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Z8EmGyPlhp7KjhJWnQbLacCZ3G8\"", 32 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/hFGSutIVQj0PQfQgMG3Y44JNJU0\"",
27 "icons": { 33 "icons": {
28 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", 34 "x16": "https://www.google.com/images/icons/product/googlemail-16.png",
29 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" 35 "x32": "https://www.google.com/images/icons/product/googlemail-32.png"
30 }, 36 },
31 "id": "gmail:v1", 37 "id": "gmail:v1",
32 "kind": "discovery#restDescription", 38 "kind": "discovery#restDescription",
33 "name": "gmail", 39 "name": "gmail",
34 "ownerDomain": "google.com", 40 "ownerDomain": "google.com",
35 "ownerName": "Google", 41 "ownerName": "Google",
36 "parameters": { 42 "parameters": {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 }, 460 },
455 "path": "{userId}/labels", 461 "path": "{userId}/labels",
456 "request": { 462 "request": {
457 "$ref": "Label" 463 "$ref": "Label"
458 }, 464 },
459 "response": { 465 "response": {
460 "$ref": "Label" 466 "$ref": "Label"
461 }, 467 },
462 "scopes": [ 468 "scopes": [
463 "https://mail.google.com/", 469 "https://mail.google.com/",
470 "https://www.googleapis.com/auth/gmail.labels",
464 "https://www.googleapis.com/auth/gmail.modify" 471 "https://www.googleapis.com/auth/gmail.modify"
465 ] 472 ]
466 }, 473 },
467 "delete": { 474 "delete": {
468 "description": "Immediately and permanently deletes the specified label and removes it from any messages and threads that it is appl ied to.", 475 "description": "Immediately and permanently deletes the specified label and removes it from any messages and threads that it is appl ied to.",
469 "httpMethod": "DELETE", 476 "httpMethod": "DELETE",
470 "id": "gmail.users.labels.delete", 477 "id": "gmail.users.labels.delete",
471 "parameterOrder": [ 478 "parameterOrder": [
472 "userId", 479 "userId",
473 "id" 480 "id"
474 ], 481 ],
475 "parameters": { 482 "parameters": {
476 "id": { 483 "id": {
477 "description": "The ID of the label to delet e.", 484 "description": "The ID of the label to delet e.",
478 "location": "path", 485 "location": "path",
479 "required": true, 486 "required": true,
480 "type": "string" 487 "type": "string"
481 }, 488 },
482 "userId": { 489 "userId": {
483 "default": "me", 490 "default": "me",
484 "description": "The user's email address. Th e special value me can be used to indicate the authenticated user.", 491 "description": "The user's email address. Th e special value me can be used to indicate the authenticated user.",
485 "location": "path", 492 "location": "path",
486 "required": true, 493 "required": true,
487 "type": "string" 494 "type": "string"
488 } 495 }
489 }, 496 },
490 "path": "{userId}/labels/{id}", 497 "path": "{userId}/labels/{id}",
491 "scopes": [ 498 "scopes": [
492 "https://mail.google.com/", 499 "https://mail.google.com/",
500 "https://www.googleapis.com/auth/gmail.labels",
493 "https://www.googleapis.com/auth/gmail.modify" 501 "https://www.googleapis.com/auth/gmail.modify"
494 ] 502 ]
495 }, 503 },
496 "get": { 504 "get": {
497 "description": "Gets the specified label.", 505 "description": "Gets the specified label.",
498 "httpMethod": "GET", 506 "httpMethod": "GET",
499 "id": "gmail.users.labels.get", 507 "id": "gmail.users.labels.get",
500 "parameterOrder": [ 508 "parameterOrder": [
501 "userId", 509 "userId",
502 "id" 510 "id"
(...skipping 12 matching lines...) Expand all
515 "required": true, 523 "required": true,
516 "type": "string" 524 "type": "string"
517 } 525 }
518 }, 526 },
519 "path": "{userId}/labels/{id}", 527 "path": "{userId}/labels/{id}",
520 "response": { 528 "response": {
521 "$ref": "Label" 529 "$ref": "Label"
522 }, 530 },
523 "scopes": [ 531 "scopes": [
524 "https://mail.google.com/", 532 "https://mail.google.com/",
533 "https://www.googleapis.com/auth/gmail.labels",
525 "https://www.googleapis.com/auth/gmail.modify", 534 "https://www.googleapis.com/auth/gmail.modify",
526 "https://www.googleapis.com/auth/gmail.readonly" 535 "https://www.googleapis.com/auth/gmail.readonly"
527 ] 536 ]
528 }, 537 },
529 "list": { 538 "list": {
530 "description": "Lists all labels in the user's mailb ox.", 539 "description": "Lists all labels in the user's mailb ox.",
531 "httpMethod": "GET", 540 "httpMethod": "GET",
532 "id": "gmail.users.labels.list", 541 "id": "gmail.users.labels.list",
533 "parameterOrder": [ 542 "parameterOrder": [
534 "userId" 543 "userId"
535 ], 544 ],
536 "parameters": { 545 "parameters": {
537 "userId": { 546 "userId": {
538 "default": "me", 547 "default": "me",
539 "description": "The user's email address. Th e special value me can be used to indicate the authenticated user.", 548 "description": "The user's email address. Th e special value me can be used to indicate the authenticated user.",
540 "location": "path", 549 "location": "path",
541 "required": true, 550 "required": true,
542 "type": "string" 551 "type": "string"
543 } 552 }
544 }, 553 },
545 "path": "{userId}/labels", 554 "path": "{userId}/labels",
546 "response": { 555 "response": {
547 "$ref": "ListLabelsResponse" 556 "$ref": "ListLabelsResponse"
548 }, 557 },
549 "scopes": [ 558 "scopes": [
550 "https://mail.google.com/", 559 "https://mail.google.com/",
560 "https://www.googleapis.com/auth/gmail.labels",
551 "https://www.googleapis.com/auth/gmail.modify", 561 "https://www.googleapis.com/auth/gmail.modify",
552 "https://www.googleapis.com/auth/gmail.readonly" 562 "https://www.googleapis.com/auth/gmail.readonly"
553 ] 563 ]
554 }, 564 },
555 "patch": { 565 "patch": {
556 "description": "Updates the specified label. This me thod supports patch semantics.", 566 "description": "Updates the specified label. This me thod supports patch semantics.",
557 "httpMethod": "PATCH", 567 "httpMethod": "PATCH",
558 "id": "gmail.users.labels.patch", 568 "id": "gmail.users.labels.patch",
559 "parameterOrder": [ 569 "parameterOrder": [
560 "userId", 570 "userId",
(...skipping 16 matching lines...) Expand all
577 }, 587 },
578 "path": "{userId}/labels/{id}", 588 "path": "{userId}/labels/{id}",
579 "request": { 589 "request": {
580 "$ref": "Label" 590 "$ref": "Label"
581 }, 591 },
582 "response": { 592 "response": {
583 "$ref": "Label" 593 "$ref": "Label"
584 }, 594 },
585 "scopes": [ 595 "scopes": [
586 "https://mail.google.com/", 596 "https://mail.google.com/",
597 "https://www.googleapis.com/auth/gmail.labels",
587 "https://www.googleapis.com/auth/gmail.modify" 598 "https://www.googleapis.com/auth/gmail.modify"
588 ] 599 ]
589 }, 600 },
590 "update": { 601 "update": {
591 "description": "Updates the specified label.", 602 "description": "Updates the specified label.",
592 "httpMethod": "PUT", 603 "httpMethod": "PUT",
593 "id": "gmail.users.labels.update", 604 "id": "gmail.users.labels.update",
594 "parameterOrder": [ 605 "parameterOrder": [
595 "userId", 606 "userId",
596 "id" 607 "id"
(...skipping 15 matching lines...) Expand all
612 }, 623 },
613 "path": "{userId}/labels/{id}", 624 "path": "{userId}/labels/{id}",
614 "request": { 625 "request": {
615 "$ref": "Label" 626 "$ref": "Label"
616 }, 627 },
617 "response": { 628 "response": {
618 "$ref": "Label" 629 "$ref": "Label"
619 }, 630 },
620 "scopes": [ 631 "scopes": [
621 "https://mail.google.com/", 632 "https://mail.google.com/",
633 "https://www.googleapis.com/auth/gmail.labels",
622 "https://www.googleapis.com/auth/gmail.modify" 634 "https://www.googleapis.com/auth/gmail.modify"
623 ] 635 ]
624 } 636 }
625 } 637 }
626 }, 638 },
627 "messages": { 639 "messages": {
628 "methods": { 640 "methods": {
629 "delete": { 641 "delete": {
630 "description": "Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash in stead.", 642 "description": "Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash in stead.",
631 "httpMethod": "DELETE", 643 "httpMethod": "DELETE",
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 }, 789 },
778 "path": "{userId}/messages/import", 790 "path": "{userId}/messages/import",
779 "request": { 791 "request": {
780 "$ref": "Message" 792 "$ref": "Message"
781 }, 793 },
782 "response": { 794 "response": {
783 "$ref": "Message" 795 "$ref": "Message"
784 }, 796 },
785 "scopes": [ 797 "scopes": [
786 "https://mail.google.com/", 798 "https://mail.google.com/",
799 "https://www.googleapis.com/auth/gmail.insert",
787 "https://www.googleapis.com/auth/gmail.modify" 800 "https://www.googleapis.com/auth/gmail.modify"
788 ], 801 ],
789 "supportsMediaUpload": true 802 "supportsMediaUpload": true
790 }, 803 },
791 "insert": { 804 "insert": {
792 "description": "Directly inserts a message into only this user's mailbox similar to IMAP APPEND, bypassing most scanning and classif ication. Does not send a message.", 805 "description": "Directly inserts a message into only this user's mailbox similar to IMAP APPEND, bypassing most scanning and classif ication. Does not send a message.",
793 "httpMethod": "POST", 806 "httpMethod": "POST",
794 "id": "gmail.users.messages.insert", 807 "id": "gmail.users.messages.insert",
795 "mediaUpload": { 808 "mediaUpload": {
796 "accept": [ 809 "accept": [
797 "message/rfc822" 810 "message/rfc822"
798 ], 811 ],
799 "maxSize": "35MB", 812 "maxSize": "35MB",
800 "protocols": { 813 "protocols": {
801 "resumable": { 814 "resumable": {
802 "multipart": true, 815 "multipart": true,
803 "path": "/resumable/upload/gmail/v1/user s/{userId}/messages" 816 "path": "/resumable/upload/gmail/v1/user s/{userId}/messages"
804 }, 817 },
805 "simple": { 818 "simple": {
806 "multipart": true, 819 "multipart": true,
807 "path": "/upload/gmail/v1/users/{userId} /messages" 820 "path": "/upload/gmail/v1/users/{userId} /messages"
808 } 821 }
809 } 822 }
810 }, 823 },
811 "parameterOrder": [ 824 "parameterOrder": [
812 "userId" 825 "userId"
813 ], 826 ],
814 "parameters": { 827 "parameters": {
828 "deleted": {
829 "default": "false",
830 "description": "Mark the email as permanentl y deleted (not TRASH) and only visible in Google Apps Vault to a Vault administr ator. Only used for Google Apps for Work accounts.",
831 "location": "query",
832 "type": "boolean"
833 },
815 "internalDateSource": { 834 "internalDateSource": {
816 "default": "receivedTime", 835 "default": "receivedTime",
817 "description": "Source for Gmail's internal date of the message.", 836 "description": "Source for Gmail's internal date of the message.",
818 "enum": [ 837 "enum": [
819 "dateHeader", 838 "dateHeader",
820 "receivedTime" 839 "receivedTime"
821 ], 840 ],
822 "enumDescriptions": [ 841 "enumDescriptions": [
823 "", 842 "",
824 "" 843 ""
(...skipping 11 matching lines...) Expand all
836 }, 855 },
837 "path": "{userId}/messages", 856 "path": "{userId}/messages",
838 "request": { 857 "request": {
839 "$ref": "Message" 858 "$ref": "Message"
840 }, 859 },
841 "response": { 860 "response": {
842 "$ref": "Message" 861 "$ref": "Message"
843 }, 862 },
844 "scopes": [ 863 "scopes": [
845 "https://mail.google.com/", 864 "https://mail.google.com/",
865 "https://www.googleapis.com/auth/gmail.insert",
846 "https://www.googleapis.com/auth/gmail.modify" 866 "https://www.googleapis.com/auth/gmail.modify"
847 ], 867 ],
848 "supportsMediaUpload": true 868 "supportsMediaUpload": true
849 }, 869 },
850 "list": { 870 "list": {
851 "description": "Lists the messages in the user's mai lbox.", 871 "description": "Lists the messages in the user's mai lbox.",
852 "httpMethod": "GET", 872 "httpMethod": "GET",
853 "id": "gmail.users.messages.list", 873 "id": "gmail.users.messages.list",
854 "parameterOrder": [ 874 "parameterOrder": [
855 "userId" 875 "userId"
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 "scopes": [ 1352 "scopes": [
1333 "https://mail.google.com/", 1353 "https://mail.google.com/",
1334 "https://www.googleapis.com/auth/gmail.modify" 1354 "https://www.googleapis.com/auth/gmail.modify"
1335 ] 1355 ]
1336 } 1356 }
1337 } 1357 }
1338 } 1358 }
1339 } 1359 }
1340 } 1360 }
1341 }, 1361 },
1342 "revision": "20150218", 1362 "revision": "20150303",
1343 "rootUrl": "https://www.googleapis.com/", 1363 "rootUrl": "https://www.googleapis.com/",
1344 "schemas": { 1364 "schemas": {
1345 "Draft": { 1365 "Draft": {
1346 "description": "A draft email in the user's mailbox.", 1366 "description": "A draft email in the user's mailbox.",
1347 "id": "Draft", 1367 "id": "Draft",
1348 "properties": { 1368 "properties": {
1349 "id": { 1369 "id": {
1350 "annotations": { 1370 "annotations": {
1351 "required": [ 1371 "required": [
1352 "gmail.users.drafts.send" 1372 "gmail.users.drafts.send"
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 "type": "string" 1892 "type": "string"
1873 } 1893 }
1874 }, 1894 },
1875 "type": "object" 1895 "type": "object"
1876 } 1896 }
1877 }, 1897 },
1878 "servicePath": "gmail/v1/users/", 1898 "servicePath": "gmail/v1/users/",
1879 "title": "Gmail API", 1899 "title": "Gmail API",
1880 "version": "v1" 1900 "version": "v1"
1881 } 1901 }
OLDNEW
« no previous file with comments | « discovery/googleapis/games__v1.json ('k') | discovery/googleapis/groupsmigration__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698