OLD | NEW |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex t that sent a message or request.", | 9 "description": "An object containing information about the script contex t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 6617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6628 "enum": ["device", "file", "network"], | 6628 "enum": ["device", "file", "network"], |
6629 "description": "Type of the mount." | 6629 "description": "Type of the mount." |
6630 }, | 6630 }, |
6631 "mountCondition": { | 6631 "mountCondition": { |
6632 "type": "string", | 6632 "type": "string", |
6633 "description": "Additional data about mount, for example, that the f ilesystem is not supported." | 6633 "description": "Additional data about mount, for example, that the f ilesystem is not supported." |
6634 } | 6634 } |
6635 } | 6635 } |
6636 }, | 6636 }, |
6637 { | 6637 { |
6638 "id": "MountPointSizeStats", | |
6639 "type": "object", | |
6640 "description": "Information about total and remaining size on the mount point.", | |
6641 "properties": { | |
6642 "totalSizeKB": { | |
6643 "type": "integer", | |
rginda
2011/09/06 21:20:02
Can we get integer bytes instead of kilobytes?
tbarzic
2011/09/06 21:31:45
I'm not sure... can we pass int64 here? (if we can
| |
6644 "description": "Total available size on the mount point." | |
6645 }, | |
6646 "remainingSizeKB": { | |
6647 "type": "integer", | |
6648 "description": "Remaining available size on the mount point." | |
6649 } | |
6650 } | |
6651 }, | |
6652 { | |
6638 "id": "VolumeMetadata", | 6653 "id": "VolumeMetadata", |
6639 "type": "object", | 6654 "type": "object", |
6640 "description": "Mounted disk volume metadata.", | 6655 "description": "Mounted disk volume metadata.", |
6641 "properties": { | 6656 "properties": { |
6642 "mountPath": { | 6657 "mountPath": { |
6643 "type": "string", | 6658 "type": "string", |
6644 "description": "Disk volume mount point path." | 6659 "description": "Disk volume mount point path." |
6645 }, | 6660 }, |
6646 "devicePath": { | 6661 "devicePath": { |
6647 "type": "string", | 6662 "type": "string", |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7019 "name" : "mountPoints", | 7034 "name" : "mountPoints", |
7020 "type": "array", | 7035 "type": "array", |
7021 "items": {"$ref": "MountPointInfo"}, | 7036 "items": {"$ref": "MountPointInfo"}, |
7022 "description": "The list of MountPointInfo representing mounted devices." | 7037 "description": "The list of MountPointInfo representing mounted devices." |
7023 } | 7038 } |
7024 ] | 7039 ] |
7025 } | 7040 } |
7026 ] | 7041 ] |
7027 }, | 7042 }, |
7028 { | 7043 { |
7044 "name": "getSizeStats", | |
7045 "description": "Retrieves total and remaining size of a mount point.", | |
7046 "parameters": [ | |
7047 { | |
7048 "name": "mountPath", | |
7049 "type": "string", | |
7050 "description": "Mount point path." | |
7051 }, | |
7052 { | |
7053 "name": "callback", | |
7054 "type": "function", | |
7055 "optional": false, | |
7056 "parameters": [ | |
7057 { | |
7058 "name" : "sizeStats", | |
7059 "$ref": "MountPointSizeStats", | |
7060 "description": "Name/value pairs of size stats." | |
7061 } | |
7062 ] | |
7063 } | |
7064 ] | |
7065 }, | |
7066 { | |
7029 "name": "formatDevice", | 7067 "name": "formatDevice", |
7030 "description": "Formats a mounted device", | 7068 "description": "Formats a mounted device", |
7031 "parameters": [ | 7069 "parameters": [ |
7032 { | 7070 { |
7033 "name": "mountPath", | 7071 "name": "mountPath", |
7034 "type": "string", | 7072 "type": "string", |
7035 "description": "Device's mount path." | 7073 "description": "Device's mount path." |
7036 } | 7074 } |
7037 ] | 7075 ] |
7038 } | 7076 } |
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8325 "type": "function", | 8363 "type": "function", |
8326 "description": "Called when the browser's passwords have been cleare d.", | 8364 "description": "Called when the browser's passwords have been cleare d.", |
8327 "optional": true, | 8365 "optional": true, |
8328 "parameters": [] | 8366 "parameters": [] |
8329 } | 8367 } |
8330 ] | 8368 ] |
8331 } | 8369 } |
8332 ] | 8370 ] |
8333 } | 8371 } |
8334 ] | 8372 ] |
OLD | NEW |