OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/androidpublisher": { |
| 6 "description": "View and manage your Google Play Developer a
ccount" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
| 11 "basePath": "/playcustomapp/v1/accounts/", |
| 12 "baseUrl": "https://www.googleapis.com/playcustomapp/v1/accounts/", |
| 13 "batchPath": "batch", |
| 14 "description": "An API to publish custom Android apps.", |
| 15 "discoveryVersion": "v1", |
| 16 "documentationLink": "https://developers.google.com/android/work/play/custom
-app-api", |
| 17 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/S9A8Fvkyeh8EMNMlBREkvuFfFUI\"", |
| 18 "icons": { |
| 19 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
| 20 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
| 21 }, |
| 22 "id": "playcustomapp:v1", |
| 23 "kind": "discovery#restDescription", |
| 24 "name": "playcustomapp", |
| 25 "ownerDomain": "google.com", |
| 26 "ownerName": "Google", |
| 27 "parameters": { |
| 28 "alt": { |
| 29 "default": "json", |
| 30 "description": "Data format for the response.", |
| 31 "enum": [ |
| 32 "json" |
| 33 ], |
| 34 "enumDescriptions": [ |
| 35 "Responses with Content-Type of application/json" |
| 36 ], |
| 37 "location": "query", |
| 38 "type": "string" |
| 39 }, |
| 40 "fields": { |
| 41 "description": "Selector specifying which fields to include in a par
tial response.", |
| 42 "location": "query", |
| 43 "type": "string" |
| 44 }, |
| 45 "key": { |
| 46 "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.", |
| 47 "location": "query", |
| 48 "type": "string" |
| 49 }, |
| 50 "oauth_token": { |
| 51 "description": "OAuth 2.0 token for the current user.", |
| 52 "location": "query", |
| 53 "type": "string" |
| 54 }, |
| 55 "prettyPrint": { |
| 56 "default": "true", |
| 57 "description": "Returns response with indentations and line breaks."
, |
| 58 "location": "query", |
| 59 "type": "boolean" |
| 60 }, |
| 61 "quotaUser": { |
| 62 "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.", |
| 63 "location": "query", |
| 64 "type": "string" |
| 65 }, |
| 66 "userIp": { |
| 67 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 68 "location": "query", |
| 69 "type": "string" |
| 70 } |
| 71 }, |
| 72 "protocol": "rest", |
| 73 "resources": { |
| 74 "accounts": { |
| 75 "resources": { |
| 76 "customApps": { |
| 77 "methods": { |
| 78 "create": { |
| 79 "description": "Create and publish a new custom app.
", |
| 80 "httpMethod": "POST", |
| 81 "id": "playcustomapp.accounts.customApps.create", |
| 82 "mediaUpload": { |
| 83 "accept": [ |
| 84 "*/*" |
| 85 ], |
| 86 "maxSize": "100MB", |
| 87 "protocols": { |
| 88 "resumable": { |
| 89 "multipart": true, |
| 90 "path": "/resumable/upload/playcustomapp
/v1/accounts/{account}/customApps" |
| 91 }, |
| 92 "simple": { |
| 93 "multipart": true, |
| 94 "path": "/upload/playcustomapp/v1/accoun
ts/{account}/customApps" |
| 95 } |
| 96 } |
| 97 }, |
| 98 "parameterOrder": [ |
| 99 "account" |
| 100 ], |
| 101 "parameters": { |
| 102 "account": { |
| 103 "description": "Developer account ID.", |
| 104 "format": "int64", |
| 105 "location": "path", |
| 106 "required": true, |
| 107 "type": "string" |
| 108 } |
| 109 }, |
| 110 "path": "{account}/customApps", |
| 111 "request": { |
| 112 "$ref": "CustomApp" |
| 113 }, |
| 114 "response": { |
| 115 "$ref": "CustomApp" |
| 116 }, |
| 117 "scopes": [ |
| 118 "https://www.googleapis.com/auth/androidpublishe
r" |
| 119 ], |
| 120 "supportsMediaUpload": true |
| 121 } |
| 122 } |
| 123 } |
| 124 } |
| 125 } |
| 126 }, |
| 127 "revision": "20170622", |
| 128 "rootUrl": "https://www.googleapis.com/", |
| 129 "schemas": { |
| 130 "CustomApp": { |
| 131 "description": "This resource represents a custom app.", |
| 132 "id": "CustomApp", |
| 133 "properties": { |
| 134 "languageCode": { |
| 135 "description": "Default listing language in BCP 47 format.", |
| 136 "type": "string" |
| 137 }, |
| 138 "title": { |
| 139 "description": "Title for the Android app.", |
| 140 "type": "string" |
| 141 } |
| 142 }, |
| 143 "type": "object" |
| 144 } |
| 145 }, |
| 146 "servicePath": "playcustomapp/v1/accounts/", |
| 147 "title": "Google Play Custom App Publishing API", |
| 148 "version": "v1" |
| 149 } |
OLD | NEW |