OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/androidenterprise": { | 5 "https://www.googleapis.com/auth/androidenterprise": { |
6 "description": "Manage corporate Android devices" | 6 "description": "Manage corporate Android devices" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/androidenterprise/v1/", | 11 "basePath": "/androidenterprise/v1/", |
12 "baseUrl": "https://www.googleapis.com/androidenterprise/v1/", | 12 "baseUrl": "https://www.googleapis.com/androidenterprise/v1/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Android Enterprise", | 14 "canonicalName": "Android Enterprise", |
15 "description": "Manages the deployment of apps to Android for Work users.", | 15 "description": "Manages the deployment of apps to Android for Work users.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/android/work/play/emm-ap
i", | 17 "documentationLink": "https://developers.google.com/android/work/play/emm-ap
i", |
18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/AnvhsO1al4ataX8d07JiUi-38Ec\"", | 18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/qmu3g-0qIQB7C8meI8fD39oNLuA\"", |
19 "icons": { | 19 "icons": { |
20 "x16": "https://www.google.com/images/icons/product/android-16.png", | 20 "x16": "https://www.google.com/images/icons/product/android-16.png", |
21 "x32": "https://www.google.com/images/icons/product/android-32.png" | 21 "x32": "https://www.google.com/images/icons/product/android-32.png" |
22 }, | 22 }, |
23 "id": "androidenterprise:v1", | 23 "id": "androidenterprise:v1", |
24 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
25 "name": "androidenterprise", | 25 "name": "androidenterprise", |
26 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
27 "ownerName": "Google", | 27 "ownerName": "Google", |
28 "parameters": { | 28 "parameters": { |
(...skipping 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1786 "description": "The ID of the product.", | 1786 "description": "The ID of the product.", |
1787 "location": "path", | 1787 "location": "path", |
1788 "required": true, | 1788 "required": true, |
1789 "type": "string" | 1789 "type": "string" |
1790 } | 1790 } |
1791 }, | 1791 }, |
1792 "path": "enterprises/{enterpriseId}/products/{productId}/una
pprove", | 1792 "path": "enterprises/{enterpriseId}/products/{productId}/una
pprove", |
1793 "scopes": [ | 1793 "scopes": [ |
1794 "https://www.googleapis.com/auth/androidenterprise" | 1794 "https://www.googleapis.com/auth/androidenterprise" |
1795 ] | 1795 ] |
1796 }, | |
1797 "updatePermissions": { | |
1798 "description": "This method has been deprecated. To programm
atically approve applications, you must use the iframe mechanism via the genera
teApprovalUrl and approve methods of the Products resource. For more informatio
n, see the Play EMM API usage requirements.\n\nThe updatePermissions method (de
precated) updates the set of Android app permissions for this app that have been
accepted by the enterprise.", | |
1799 "httpMethod": "PUT", | |
1800 "id": "androidenterprise.products.updatePermissions", | |
1801 "parameterOrder": [ | |
1802 "enterpriseId", | |
1803 "productId" | |
1804 ], | |
1805 "parameters": { | |
1806 "enterpriseId": { | |
1807 "description": "The ID of the enterprise.", | |
1808 "location": "path", | |
1809 "required": true, | |
1810 "type": "string" | |
1811 }, | |
1812 "productId": { | |
1813 "description": "The ID of the product.", | |
1814 "location": "path", | |
1815 "required": true, | |
1816 "type": "string" | |
1817 } | |
1818 }, | |
1819 "path": "enterprises/{enterpriseId}/products/{productId}/per
missions", | |
1820 "request": { | |
1821 "$ref": "ProductPermissions" | |
1822 }, | |
1823 "response": { | |
1824 "$ref": "ProductPermissions" | |
1825 }, | |
1826 "scopes": [ | |
1827 "https://www.googleapis.com/auth/androidenterprise" | |
1828 ] | |
1829 } | 1796 } |
1830 } | 1797 } |
1831 }, | 1798 }, |
1832 "serviceaccountkeys": { | 1799 "serviceaccountkeys": { |
1833 "methods": { | 1800 "methods": { |
1834 "delete": { | 1801 "delete": { |
1835 "description": "Removes and invalidates the specified creden
tials for the service account associated with this enterprise. The calling servi
ce account must have been retrieved by calling Enterprises.GetServiceAccount and
must have been set as the enterprise service account by calling Enterprises.Set
Account.", | 1802 "description": "Removes and invalidates the specified creden
tials for the service account associated with this enterprise. The calling servi
ce account must have been retrieved by calling Enterprises.GetServiceAccount and
must have been set as the enterprise service account by calling Enterprises.Set
Account.", |
1836 "httpMethod": "DELETE", | 1803 "httpMethod": "DELETE", |
1837 "id": "androidenterprise.serviceaccountkeys.delete", | 1804 "id": "androidenterprise.serviceaccountkeys.delete", |
1838 "parameterOrder": [ | 1805 "parameterOrder": [ |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2562 "required": true, | 2529 "required": true, |
2563 "type": "string" | 2530 "type": "string" |
2564 } | 2531 } |
2565 }, | 2532 }, |
2566 "path": "enterprises/{enterpriseId}/users/{userId}/token", | 2533 "path": "enterprises/{enterpriseId}/users/{userId}/token", |
2567 "scopes": [ | 2534 "scopes": [ |
2568 "https://www.googleapis.com/auth/androidenterprise" | 2535 "https://www.googleapis.com/auth/androidenterprise" |
2569 ] | 2536 ] |
2570 }, | 2537 }, |
2571 "setAvailableProductSet": { | 2538 "setAvailableProductSet": { |
2572 "description": "Modifies the set of products a user is entit
led to access.", | 2539 "description": "Modifies the set of products that a user is
entitled to access (referred to as whitelisted products). Only products that are
approved or products that were previously approved (products with revoked appro
val) can be whitelisted.", |
2573 "httpMethod": "PUT", | 2540 "httpMethod": "PUT", |
2574 "id": "androidenterprise.users.setAvailableProductSet", | 2541 "id": "androidenterprise.users.setAvailableProductSet", |
2575 "parameterOrder": [ | 2542 "parameterOrder": [ |
2576 "enterpriseId", | 2543 "enterpriseId", |
2577 "userId" | 2544 "userId" |
2578 ], | 2545 ], |
2579 "parameters": { | 2546 "parameters": { |
2580 "enterpriseId": { | 2547 "enterpriseId": { |
2581 "description": "The ID of the enterprise.", | 2548 "description": "The ID of the enterprise.", |
2582 "location": "path", | 2549 "location": "path", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 "response": { | 2597 "response": { |
2631 "$ref": "User" | 2598 "$ref": "User" |
2632 }, | 2599 }, |
2633 "scopes": [ | 2600 "scopes": [ |
2634 "https://www.googleapis.com/auth/androidenterprise" | 2601 "https://www.googleapis.com/auth/androidenterprise" |
2635 ] | 2602 ] |
2636 } | 2603 } |
2637 } | 2604 } |
2638 } | 2605 } |
2639 }, | 2606 }, |
2640 "revision": "20170111", | 2607 "revision": "20170131", |
2641 "rootUrl": "https://www.googleapis.com/", | 2608 "rootUrl": "https://www.googleapis.com/", |
2642 "schemas": { | 2609 "schemas": { |
2643 "Administrator": { | 2610 "Administrator": { |
2644 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", | 2611 "description": "This represents an enterprise admin who can manage t
he enterprise in the managed Google Play store.", |
2645 "id": "Administrator", | 2612 "id": "Administrator", |
2646 "properties": { | 2613 "properties": { |
2647 "email": { | 2614 "email": { |
2648 "description": "The admin's email address.", | 2615 "description": "The admin's email address.", |
2649 "type": "string" | 2616 "type": "string" |
2650 } | 2617 } |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3572 "ProductPermissions": { | 3539 "ProductPermissions": { |
3573 "description": "Information about the permissions required by a spec
ific app and whether they have been accepted by the enterprise.", | 3540 "description": "Information about the permissions required by a spec
ific app and whether they have been accepted by the enterprise.", |
3574 "id": "ProductPermissions", | 3541 "id": "ProductPermissions", |
3575 "properties": { | 3542 "properties": { |
3576 "kind": { | 3543 "kind": { |
3577 "default": "androidenterprise#productPermissions", | 3544 "default": "androidenterprise#productPermissions", |
3578 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#productPermissions\".", | 3545 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"androidenterprise#productPermissions\".", |
3579 "type": "string" | 3546 "type": "string" |
3580 }, | 3547 }, |
3581 "permission": { | 3548 "permission": { |
3582 "annotations": { | |
3583 "required": [ | |
3584 "androidenterprise.products.updatePermissions" | |
3585 ] | |
3586 }, | |
3587 "description": "The permissions required by the app.", | 3549 "description": "The permissions required by the app.", |
3588 "items": { | 3550 "items": { |
3589 "$ref": "ProductPermission" | 3551 "$ref": "ProductPermission" |
3590 }, | 3552 }, |
3591 "type": "array" | 3553 "type": "array" |
3592 }, | 3554 }, |
3593 "productId": { | 3555 "productId": { |
3594 "description": "The ID of the app that the permissions relat
e to, e.g. \"app:com.google.android.gm\".", | 3556 "description": "The ID of the app that the permissions relat
e to, e.g. \"app:com.google.android.gm\".", |
3595 "type": "string" | 3557 "type": "string" |
3596 } | 3558 } |
(...skipping 10 matching lines...) Expand all Loading... |
3607 "type": "string" | 3569 "type": "string" |
3608 }, | 3570 }, |
3609 "productId": { | 3571 "productId": { |
3610 "description": "The list of product IDs making up the set of
products.", | 3572 "description": "The list of product IDs making up the set of
products.", |
3611 "items": { | 3573 "items": { |
3612 "type": "string" | 3574 "type": "string" |
3613 }, | 3575 }, |
3614 "type": "array" | 3576 "type": "array" |
3615 }, | 3577 }, |
3616 "productSetBehavior": { | 3578 "productSetBehavior": { |
3617 "description": "The interpretation of this product set. \"un
known\" should never be sent and ignored if received. \"whitelist\" means that t
his product set constitutes a whitelist. \"includeAll\" means that all products
are accessible, including products that are approved, not approved, and even pro
ducts where approval has been revoked. If the value is \"includeAll\", the value
of the productId field is therefore ignored. If a value is not supplied, it is
interpreted to be \"whitelist\" for backwards compatibility.", | 3579 "description": "The interpretation of this product set. \"un
known\" should never be sent and is ignored if received. \"whitelist\" means tha
t this product set constitutes a whitelist. \"includeAll\" means that all produc
ts are accessible, including products that are approved, products with revoked a
pproval, and products that have never been approved. If the value is \"includeAl
l\", the value of the productId field is therefore ignored. If a value is not su
pplied, it is interpreted to be \"whitelist\" for backwards compatibility.", |
3618 "type": "string" | 3580 "type": "string" |
3619 } | 3581 } |
3620 }, | 3582 }, |
3621 "type": "object" | 3583 "type": "object" |
3622 }, | 3584 }, |
3623 "ProductsApproveRequest": { | 3585 "ProductsApproveRequest": { |
3624 "id": "ProductsApproveRequest", | 3586 "id": "ProductsApproveRequest", |
3625 "properties": { | 3587 "properties": { |
3626 "approvalUrlInfo": { | 3588 "approvalUrlInfo": { |
3627 "$ref": "ApprovalUrlInfo", | 3589 "$ref": "ApprovalUrlInfo", |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3970 "type": "array" | 3932 "type": "array" |
3971 } | 3933 } |
3972 }, | 3934 }, |
3973 "type": "object" | 3935 "type": "object" |
3974 } | 3936 } |
3975 }, | 3937 }, |
3976 "servicePath": "androidenterprise/v1/", | 3938 "servicePath": "androidenterprise/v1/", |
3977 "title": "Google Play EMM API", | 3939 "title": "Google Play EMM API", |
3978 "version": "v1" | 3940 "version": "v1" |
3979 } | 3941 } |
OLD | NEW |