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

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

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 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
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/drive": { 5 "https://www.googleapis.com/auth/drive": {
6 "description": "View and manage the files in your Google Dri ve" 6 "description": "View and manage the files in your Google Dri ve"
7 }, 7 },
8 "https://www.googleapis.com/auth/drive.appdata": { 8 "https://www.googleapis.com/auth/drive.appdata": {
9 "description": "View and manage its own configuration data i n your Google Drive" 9 "description": "View and manage its own configuration data i n your Google Drive"
10 }, 10 },
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 } 32 }
33 } 33 }
34 }, 34 },
35 "basePath": "/drive/v2/", 35 "basePath": "/drive/v2/",
36 "baseUrl": "https://www.googleapis.com/drive/v2/", 36 "baseUrl": "https://www.googleapis.com/drive/v2/",
37 "batchPath": "batch", 37 "batchPath": "batch",
38 "description": "The API to interact with Drive.", 38 "description": "The API to interact with Drive.",
39 "discoveryVersion": "v1", 39 "discoveryVersion": "v1",
40 "documentationLink": "https://developers.google.com/drive/", 40 "documentationLink": "https://developers.google.com/drive/",
41 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bAPHf5F8Rbt2-sbWbBvk_7rc12E\"", 41 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/plQwzVIDWGtIGduRkjd1Yo9v3ps\"",
42 "icons": { 42 "icons": {
43 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", 43 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
44 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" 44 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
45 }, 45 },
46 "id": "drive:v2", 46 "id": "drive:v2",
47 "kind": "discovery#restDescription", 47 "kind": "discovery#restDescription",
48 "name": "drive", 48 "name": "drive",
49 "ownerDomain": "google.com", 49 "ownerDomain": "google.com",
50 "ownerName": "Google", 50 "ownerName": "Google",
51 "parameters": { 51 "parameters": {
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 }, 841 },
842 "emptyTrash": { 842 "emptyTrash": {
843 "description": "Permanently deletes all of the user's trashe d files.", 843 "description": "Permanently deletes all of the user's trashe d files.",
844 "httpMethod": "DELETE", 844 "httpMethod": "DELETE",
845 "id": "drive.files.emptyTrash", 845 "id": "drive.files.emptyTrash",
846 "path": "files/trash", 846 "path": "files/trash",
847 "scopes": [ 847 "scopes": [
848 "https://www.googleapis.com/auth/drive" 848 "https://www.googleapis.com/auth/drive"
849 ] 849 ]
850 }, 850 },
851 "generateIds": {
852 "description": "Generates a set of file IDs which can be pro vided in insert requests.",
853 "httpMethod": "GET",
854 "id": "drive.files.generateIds",
855 "parameters": {
856 "maxResults": {
857 "default": "10",
858 "description": "Maximum number of IDs to return.",
859 "format": "int32",
860 "location": "query",
861 "maximum": "1000",
862 "minimum": "1",
863 "type": "integer"
864 },
865 "space": {
866 "default": "drive",
867 "description": "The space in which the IDs can be us ed to create new files. Supported values are 'drive' and 'appDataFolder'.",
868 "location": "query",
869 "type": "string"
870 }
871 },
872 "path": "files/generateIds",
873 "response": {
874 "$ref": "GeneratedIds"
875 },
876 "scopes": [
877 "https://www.googleapis.com/auth/drive",
878 "https://www.googleapis.com/auth/drive.appdata",
879 "https://www.googleapis.com/auth/drive.file"
880 ]
881 },
851 "get": { 882 "get": {
852 "description": "Gets a file's metadata by ID.", 883 "description": "Gets a file's metadata by ID.",
853 "httpMethod": "GET", 884 "httpMethod": "GET",
854 "id": "drive.files.get", 885 "id": "drive.files.get",
855 "parameterOrder": [ 886 "parameterOrder": [
856 "fileId" 887 "fileId"
857 ], 888 ],
858 "parameters": { 889 "parameters": {
859 "acknowledgeAbuse": { 890 "acknowledgeAbuse": {
860 "default": "false", 891 "default": "false",
(...skipping 1695 matching lines...) Expand 10 before | Expand all | Expand 10 after
2556 }, 2587 },
2557 "scopes": [ 2588 "scopes": [
2558 "https://www.googleapis.com/auth/drive", 2589 "https://www.googleapis.com/auth/drive",
2559 "https://www.googleapis.com/auth/drive.appdata", 2590 "https://www.googleapis.com/auth/drive.appdata",
2560 "https://www.googleapis.com/auth/drive.file" 2591 "https://www.googleapis.com/auth/drive.file"
2561 ] 2592 ]
2562 } 2593 }
2563 } 2594 }
2564 } 2595 }
2565 }, 2596 },
2566 "revision": "20150716", 2597 "revision": "20150806",
2567 "rootUrl": "https://www.googleapis.com/", 2598 "rootUrl": "https://www.googleapis.com/",
2568 "schemas": { 2599 "schemas": {
2569 "About": { 2600 "About": {
2570 "description": "An item with user information and settings.", 2601 "description": "An item with user information and settings.",
2571 "id": "About", 2602 "id": "About",
2572 "properties": { 2603 "properties": {
2573 "additionalRoleInfo": { 2604 "additionalRoleInfo": {
2574 "description": "Information about supported additional roles per file type. The most specific type takes precedence.", 2605 "description": "Information about supported additional roles per file type. The most specific type takes precedence.",
2575 "items": { 2606 "items": {
2576 "properties": { 2607 "properties": {
(...skipping 20 matching lines...) Expand all
2597 "type": { 2628 "type": {
2598 "description": "The content type that this addit ional role info applies to.", 2629 "description": "The content type that this addit ional role info applies to.",
2599 "type": "string" 2630 "type": "string"
2600 } 2631 }
2601 }, 2632 },
2602 "type": "object" 2633 "type": "object"
2603 }, 2634 },
2604 "type": "array" 2635 "type": "array"
2605 }, 2636 },
2606 "domainSharingPolicy": { 2637 "domainSharingPolicy": {
2607 "description": "The domain sharing policy for the current us er. Possible values are: \n- ALLOWED \n- ALLOWED_WITH_WARNING \n- INCOMING_ONLY \n- DISALLOWED", 2638 "description": "The domain sharing policy for the current us er. Possible values are: \n- allowed \n- allowedWithWarning \n- incomingOnly \n - disallowed",
2608 "type": "string" 2639 "type": "string"
2609 }, 2640 },
2610 "etag": { 2641 "etag": {
2611 "description": "The ETag of the item.", 2642 "description": "The ETag of the item.",
2612 "type": "string" 2643 "type": "string"
2613 }, 2644 },
2614 "exportFormats": { 2645 "exportFormats": {
2615 "description": "The allowable export formats.", 2646 "description": "The allowable export formats.",
2616 "items": { 2647 "items": {
2617 "properties": { 2648 "properties": {
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
3401 }, 3432 },
3402 "exportLinks": { 3433 "exportLinks": {
3403 "additionalProperties": { 3434 "additionalProperties": {
3404 "description": "A mapping from export format to URL", 3435 "description": "A mapping from export format to URL",
3405 "type": "string" 3436 "type": "string"
3406 }, 3437 },
3407 "description": "Links for exporting Google Docs to specific formats.", 3438 "description": "Links for exporting Google Docs to specific formats.",
3408 "type": "object" 3439 "type": "object"
3409 }, 3440 },
3410 "fileExtension": { 3441 "fileExtension": {
3411 "description": "The file extension used when downloading thi s file. This field is read only. To set the extension, include it in the title w hen creating the file. This is only populated for files with content stored in D rive.", 3442 "description": "The final component of fullFileExtension wit h trailing text that does not appear to be part of the extension removed. This f ield is only populated for files with content stored in Drive; it is not populat ed for Google Docs or shortcut files.",
3412 "type": "string" 3443 "type": "string"
3413 }, 3444 },
3414 "fileSize": { 3445 "fileSize": {
3415 "description": "The size of the file in bytes. This is only populated for files with content stored in Drive.", 3446 "description": "The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.",
3416 "format": "int64", 3447 "format": "int64",
3417 "type": "string" 3448 "type": "string"
3418 }, 3449 },
3419 "folderColorRgb": { 3450 "folderColorRgb": {
3420 "description": "Folder color as an RGB hex string if the fil e is a folder. The list of supported colors is available in the folderColorPalet te field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.", 3451 "description": "Folder color as an RGB hex string if the fil e is a folder. The list of supported colors is available in the folderColorPalet te field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.",
3421 "type": "string" 3452 "type": "string"
3422 }, 3453 },
3454 "fullFileExtension": {
3455 "description": "The full file extension; extracted from the title. May contain multiple concatenated extensions, such as \"tar.gz\". Removin g an extension from the title does not clear this field; however, changing the e xtension on the title does update this field. This field is only populated for f iles with content stored in Drive; it is not populated for Google Docs or shortc ut files.",
3456 "type": "string"
3457 },
3423 "headRevisionId": { 3458 "headRevisionId": {
3424 "description": "The ID of the file's head revision. This wil l only be populated for files with content stored in Drive.", 3459 "description": "The ID of the file's head revision. This fie ld is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.",
3425 "type": "string" 3460 "type": "string"
3426 }, 3461 },
3427 "iconLink": { 3462 "iconLink": {
3428 "description": "A link to the file's icon.", 3463 "description": "A link to the file's icon.",
3429 "type": "string" 3464 "type": "string"
3430 }, 3465 },
3431 "id": { 3466 "id": {
3432 "description": "The ID of the file.", 3467 "description": "The ID of the file.",
3433 "type": "string" 3468 "type": "string"
3434 }, 3469 },
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
3602 "description": "Last time this file was viewed by the user ( formatted RFC 3339 timestamp).", 3637 "description": "Last time this file was viewed by the user ( formatted RFC 3339 timestamp).",
3603 "format": "date-time", 3638 "format": "date-time",
3604 "type": "string" 3639 "type": "string"
3605 }, 3640 },
3606 "markedViewedByMeDate": { 3641 "markedViewedByMeDate": {
3607 "description": "Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).", 3642 "description": "Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).",
3608 "format": "date-time", 3643 "format": "date-time",
3609 "type": "string" 3644 "type": "string"
3610 }, 3645 },
3611 "md5Checksum": { 3646 "md5Checksum": {
3612 "description": "An MD5 checksum for the content of this file . This is populated only for files with content stored in Drive.", 3647 "description": "An MD5 checksum for the content of this file . This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.",
3613 "type": "string" 3648 "type": "string"
3614 }, 3649 },
3615 "mimeType": { 3650 "mimeType": {
3616 "description": "The MIME type of the file. This is only muta ble on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.", 3651 "description": "The MIME type of the file. This is only muta ble on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.",
3617 "type": "string" 3652 "type": "string"
3618 }, 3653 },
3619 "modifiedByMeDate": { 3654 "modifiedByMeDate": {
3620 "description": "Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.", 3655 "description": "Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.",
3621 "format": "date-time", 3656 "format": "date-time",
3622 "type": "string" 3657 "type": "string"
3623 }, 3658 },
3624 "modifiedDate": { 3659 "modifiedDate": {
3625 "description": "Last time this file was modified by anyone ( formatted RFC 3339 timestamp). This is only mutable on update when the setModifi edDate parameter is set.", 3660 "description": "Last time this file was modified by anyone ( formatted RFC 3339 timestamp). This is only mutable on update when the setModifi edDate parameter is set.",
3626 "format": "date-time", 3661 "format": "date-time",
3627 "type": "string" 3662 "type": "string"
3628 }, 3663 },
3629 "openWithLinks": { 3664 "openWithLinks": {
3630 "additionalProperties": { 3665 "additionalProperties": {
3631 "type": "string" 3666 "type": "string"
3632 }, 3667 },
3633 "description": "A map of the id of each of the user's apps t o a link to open this file with that app. Only populated when the drive.apps.rea donly scope is used.", 3668 "description": "A map of the id of each of the user's apps t o a link to open this file with that app. Only populated when the drive.apps.rea donly scope is used.",
3634 "type": "object" 3669 "type": "object"
3635 }, 3670 },
3636 "originalFilename": { 3671 "originalFilename": {
3637 "description": "The original filename if the file was upload ed manually, or the original title if the file was inserted through the API. Not e that renames of the title will not change the original filename. This will onl y be populated on files with content stored in Drive.", 3672 "description": "The original filename if the file was upload ed manually, or the original title if the file was inserted through the API. Not e that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.",
3638 "type": "string" 3673 "type": "string"
3639 }, 3674 },
3640 "ownedByMe": { 3675 "ownedByMe": {
3641 "description": "Whether the file is owned by the current use r.", 3676 "description": "Whether the file is owned by the current use r.",
3642 "type": "boolean" 3677 "type": "boolean"
3643 }, 3678 },
3644 "ownerNames": { 3679 "ownerNames": {
3645 "description": "Name(s) of the owner(s) of this file.", 3680 "description": "Name(s) of the owner(s) of this file.",
3646 "items": { 3681 "items": {
3647 "type": "string" 3682 "type": "string"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
3805 "description": "The page token for the next page of files.", 3840 "description": "The page token for the next page of files.",
3806 "type": "string" 3841 "type": "string"
3807 }, 3842 },
3808 "selfLink": { 3843 "selfLink": {
3809 "description": "A link back to this list.", 3844 "description": "A link back to this list.",
3810 "type": "string" 3845 "type": "string"
3811 } 3846 }
3812 }, 3847 },
3813 "type": "object" 3848 "type": "object"
3814 }, 3849 },
3850 "GeneratedIds": {
3851 "description": "A list of generated IDs which can be provided in ins ert requests",
3852 "id": "GeneratedIds",
3853 "properties": {
3854 "ids": {
3855 "description": "The IDs generated for the requesting user in the specified space.",
3856 "items": {
3857 "type": "string"
3858 },
3859 "type": "array"
3860 },
3861 "kind": {
3862 "default": "drive#generatedIds",
3863 "description": "This is always drive#generatedIds",
3864 "type": "string"
3865 },
3866 "space": {
3867 "description": "The type of file that can be created with th ese IDs.",
3868 "type": "string"
3869 }
3870 },
3871 "type": "object"
3872 },
3815 "ParentList": { 3873 "ParentList": {
3816 "description": "A list of a file's parents.", 3874 "description": "A list of a file's parents.",
3817 "id": "ParentList", 3875 "id": "ParentList",
3818 "properties": { 3876 "properties": {
3819 "etag": { 3877 "etag": {
3820 "description": "The ETag of the list.", 3878 "description": "The ETag of the list.",
3821 "type": "string" 3879 "type": "string"
3822 }, 3880 },
3823 "items": { 3881 "items": {
3824 "description": "The actual list of parents.", 3882 "description": "The actual list of parents.",
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
4200 "type": "object" 4258 "type": "object"
4201 } 4259 }
4202 }, 4260 },
4203 "type": "object" 4261 "type": "object"
4204 } 4262 }
4205 }, 4263 },
4206 "servicePath": "drive/v2/", 4264 "servicePath": "drive/v2/",
4207 "title": "Drive API", 4265 "title": "Drive API",
4208 "version": "v2" 4266 "version": "v2"
4209 } 4267 }
OLDNEW
« no previous file with comments | « discovery/googleapis/doubleclicksearch__v2.json ('k') | discovery/googleapis/gamesConfiguration__v1configuration.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698