restic/vendor/google.golang.org/api/playcustomapp/v1/playcustomapp-api.json
2018-03-30 12:51:18 +02:00

149 lines
No EOL
4.7 KiB
JSON

{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/androidpublisher": {
"description": "View and manage your Google Play Developer account"
}
}
}
},
"basePath": "/playcustomapp/v1/accounts/",
"baseUrl": "https://www.googleapis.com/playcustomapp/v1/accounts/",
"batchPath": "batch/playcustomapp/v1",
"description": "An API to publish custom Android apps.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android/work/play/custom-app-api",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/S9A8Fvkyeh8EMNMlBREkvuFfFUI\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"id": "playcustomapp:v1",
"kind": "discovery#restDescription",
"name": "playcustomapp",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"alt": {
"default": "json",
"description": "Data format for the response.",
"enum": [
"json"
],
"enumDescriptions": [
"Responses with Content-Type of application/json"
],
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"location": "query",
"type": "string"
},
"userIp": {
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"accounts": {
"resources": {
"customApps": {
"methods": {
"create": {
"description": "Create and publish a new custom app.",
"httpMethod": "POST",
"id": "playcustomapp.accounts.customApps.create",
"mediaUpload": {
"accept": [
"*/*"
],
"maxSize": "100MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/playcustomapp/v1/accounts/{account}/customApps"
},
"simple": {
"multipart": true,
"path": "/upload/playcustomapp/v1/accounts/{account}/customApps"
}
}
},
"parameterOrder": [
"account"
],
"parameters": {
"account": {
"description": "Developer account ID.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{account}/customApps",
"request": {
"$ref": "CustomApp"
},
"response": {
"$ref": "CustomApp"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
}
}
}
},
"revision": "20170622",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"CustomApp": {
"description": "This resource represents a custom app.",
"id": "CustomApp",
"properties": {
"languageCode": {
"description": "Default listing language in BCP 47 format.",
"type": "string"
},
"title": {
"description": "Title for the Android app.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "playcustomapp/v1/accounts/",
"title": "Google Play Custom App Publishing API",
"version": "v1"
}