blob: 32cb13d6b1db772b6e9172493fbabb849822a060 [file] [log] [blame]
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/androidpublisher": {
"description": "View and manage your Google Play Developer account"
}
}
}
},
"basePath": "",
"baseUrl": "https://androidpublisher.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Android Publisher",
"description": "Lets Android application developers access their Google Play accounts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android-publisher",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "androidpublisher:v3",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://androidpublisher.mtls.googleapis.com/",
"name": "androidpublisher",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"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.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"edits": {
"methods": {
"commit": {
"description": "Commits an app edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
"httpMethod": "POST",
"id": "androidpublisher.edits.commit",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:commit",
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"delete": {
"description": "Deletes an app edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.delete",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Gets an app edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"httpMethod": "GET",
"id": "androidpublisher.edits.get",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}",
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"insert": {
"description": "Creates a new edit for an app.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits",
"httpMethod": "POST",
"id": "androidpublisher.edits.insert",
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits",
"request": {
"$ref": "AppEdit"
},
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"validate": {
"description": "Validates an app edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
"httpMethod": "POST",
"id": "androidpublisher.edits.validate",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}:validate",
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
},
"resources": {
"apks": {
"methods": {
"addexternallyhosted": {
"description": "Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
"httpMethod": "POST",
"id": "androidpublisher.edits.apks.addexternallyhosted",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted",
"request": {
"$ref": "ApksAddExternallyHostedRequest"
},
"response": {
"$ref": "ApksAddExternallyHostedResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all current APKs of the app and edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"httpMethod": "GET",
"id": "androidpublisher.edits.apks.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"response": {
"$ref": "ApksListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"description": "Uploads an APK and adds to the current edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"httpMethod": "POST",
"id": "androidpublisher.edits.apks.upload",
"mediaUpload": {
"accept": [
"application/octet-stream",
"application/vnd.android.package-archive"
],
"maxSize": "10737418240",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks"
}
}
},
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks",
"response": {
"$ref": "Apk"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"bundles": {
"methods": {
"list": {
"description": "Lists all current Android App Bundles of the app and edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"httpMethod": "GET",
"id": "androidpublisher.edits.bundles.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"response": {
"$ref": "BundlesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"description": "Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"httpMethod": "POST",
"id": "androidpublisher.edits.bundles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "10737418240",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles"
}
}
},
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"ackBundleInstallationWarning": {
"description": "Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).",
"location": "query",
"type": "boolean"
},
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles",
"response": {
"$ref": "Bundle"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"deobfuscationfiles": {
"methods": {
"upload": {
"description": "Uploads a new deobfuscation file and attaches to the specified APK.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
"httpMethod": "POST",
"id": "androidpublisher.edits.deobfuscationfiles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "314572800",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
}
}
},
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"deobfuscationFileType"
],
"parameters": {
"apkVersionCode": {
"description": "The version code of the APK whose Deobfuscation File is being uploaded.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"deobfuscationFileType": {
"description": "The type of the deobfuscation file.",
"enum": [
"deobfuscationFileTypeUnspecified",
"proguard",
"nativeCode"
],
"enumDescriptions": [
"Unspecified deobfuscation file type.",
"Proguard deobfuscation file type.",
"Native debugging symbols file type."
],
"location": "path",
"required": true,
"type": "string"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
"response": {
"$ref": "DeobfuscationFilesUploadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"details": {
"methods": {
"get": {
"description": "Gets details of an app.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"httpMethod": "GET",
"id": "androidpublisher.edits.details.get",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"response": {
"$ref": "AppDetails"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Patches details of an app.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.details.patch",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"request": {
"$ref": "AppDetails"
},
"response": {
"$ref": "AppDetails"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates details of an app.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"httpMethod": "PUT",
"id": "androidpublisher.edits.details.update",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/details",
"request": {
"$ref": "AppDetails"
},
"response": {
"$ref": "AppDetails"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"expansionfiles": {
"methods": {
"get": {
"description": "Fetches the expansion file configuration for the specified APK.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "GET",
"id": "androidpublisher.edits.expansionfiles.get",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"expansionFileType"
],
"parameters": {
"apkVersionCode": {
"description": "The version code of the APK whose expansion file configuration is being read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"description": "The file type of the file configuration which is being read or modified.",
"enum": [
"expansionFileTypeUnspecified",
"main",
"patch"
],
"enumDescriptions": [
"Unspecified expansion file type.",
"Main expansion file.",
"Patch expansion file."
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"response": {
"$ref": "ExpansionFile"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.expansionfiles.patch",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"expansionFileType"
],
"parameters": {
"apkVersionCode": {
"description": "The version code of the APK whose expansion file configuration is being read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"description": "The file type of the expansion file configuration which is being updated.",
"enum": [
"expansionFileTypeUnspecified",
"main",
"patch"
],
"enumDescriptions": [
"Unspecified expansion file type.",
"Main expansion file.",
"Patch expansion file."
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"request": {
"$ref": "ExpansionFile"
},
"response": {
"$ref": "ExpansionFile"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.expansionfiles.update",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"expansionFileType"
],
"parameters": {
"apkVersionCode": {
"description": "The version code of the APK whose expansion file configuration is being read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"description": "The file type of the file configuration which is being read or modified.",
"enum": [
"expansionFileTypeUnspecified",
"main",
"patch"
],
"enumDescriptions": [
"Unspecified expansion file type.",
"Main expansion file.",
"Patch expansion file."
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"request": {
"$ref": "ExpansionFile"
},
"response": {
"$ref": "ExpansionFile"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"description": "Uploads a new expansion file and attaches to the specified APK.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"httpMethod": "POST",
"id": "androidpublisher.edits.expansionfiles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "2147483648",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
}
}
},
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"expansionFileType"
],
"parameters": {
"apkVersionCode": {
"description": "The version code of the APK whose expansion file configuration is being read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"description": "The file type of the expansion file configuration which is being updated.",
"enum": [
"expansionFileTypeUnspecified",
"main",
"patch"
],
"enumDescriptions": [
"Unspecified expansion file type.",
"Main expansion file.",
"Patch expansion file."
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"response": {
"$ref": "ExpansionFilesUploadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"images": {
"methods": {
"delete": {
"description": "Deletes the image (specified by id) from the edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.images.delete",
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType",
"imageId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageId": {
"description": "Unique identifier an image within the set of images attached to this edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"description": "Type of the Image.",
"enum": [
"appImageTypeUnspecified",
"phoneScreenshots",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvScreenshots",
"wearScreenshots",
"icon",
"featureGraphic",
"tvBanner"
],
"enumDescriptions": [
"Unspecified type. Do not use.",
"Phone screenshot.",
"Seven inch screenshot.",
"Ten inch screenshot.",
"TV screenshot.",
"Wear screenshot.",
"Icon.",
"Feature graphic.",
"TV banner."
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"deleteall": {
"description": "Deletes all images for the specified language and image type. Returns an empty response if no images are found.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.images.deleteall",
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"description": "Type of the Image. Providing an image type that refers to no images is a no-op.",
"enum": [
"appImageTypeUnspecified",
"phoneScreenshots",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvScreenshots",
"wearScreenshots",
"icon",
"featureGraphic",
"tvBanner"
],
"enumDescriptions": [
"Unspecified type. Do not use.",
"Phone screenshot.",
"Seven inch screenshot.",
"Ten inch screenshot.",
"TV screenshot.",
"Wear screenshot.",
"Icon.",
"Feature graphic.",
"TV banner."
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). Providing a language that is not supported by the App is a no-op.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesDeleteAllResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all images. The response may be empty.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"httpMethod": "GET",
"id": "androidpublisher.edits.images.list",
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"description": "Type of the Image. Providing an image type that refers to no images will return an empty response.",
"enum": [
"appImageTypeUnspecified",
"phoneScreenshots",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvScreenshots",
"wearScreenshots",
"icon",
"featureGraphic",
"tvBanner"
],
"enumDescriptions": [
"Unspecified type. Do not use.",
"Phone screenshot.",
"Seven inch screenshot.",
"Ten inch screenshot.",
"TV screenshot.",
"Wear screenshot.",
"Icon.",
"Feature graphic.",
"TV banner."
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). There must be a store listing for the specified language.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"description": "Uploads an image of the specified language and image type, and adds to the edit.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"httpMethod": "POST",
"id": "androidpublisher.edits.images.upload",
"mediaUpload": {
"accept": [
"image/*"
],
"maxSize": "15728640",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
}
}
},
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"description": "Type of the Image.",
"enum": [
"appImageTypeUnspecified",
"phoneScreenshots",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvScreenshots",
"wearScreenshots",
"icon",
"featureGraphic",
"tvBanner"
],
"enumDescriptions": [
"Unspecified type. Do not use.",
"Phone screenshot.",
"Seven inch screenshot.",
"Ten inch screenshot.",
"TV screenshot.",
"Wear screenshot.",
"Icon.",
"Feature graphic.",
"TV banner."
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). Providing a language that is not supported by the App is a no-op.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesUploadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"listings": {
"methods": {
"delete": {
"description": "Deletes a localized store listing.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.listings.delete",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"deleteall": {
"description": "Deletes all store listings.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.listings.deleteall",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Gets a localized store listing.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "GET",
"id": "androidpublisher.edits.listings.get",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"response": {
"$ref": "Listing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all localized store listings.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"httpMethod": "GET",
"id": "androidpublisher.edits.listings.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings",
"response": {
"$ref": "ListingsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Patches a localized store listing.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.listings.patch",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"request": {
"$ref": "Listing"
},
"response": {
"$ref": "Listing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Creates or updates a localized store listing.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.listings.update",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German).",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}",
"request": {
"$ref": "Listing"
},
"response": {
"$ref": "Listing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"testers": {
"methods": {
"get": {
"description": "Gets testers.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"httpMethod": "GET",
"id": "androidpublisher.edits.testers.get",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read from.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"response": {
"$ref": "Testers"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Patches testers.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.testers.patch",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to update.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"request": {
"$ref": "Testers"
},
"response": {
"$ref": "Testers"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates testers.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.testers.update",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to update.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}",
"request": {
"$ref": "Testers"
},
"response": {
"$ref": "Testers"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"tracks": {
"methods": {
"get": {
"description": "Gets a track.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"httpMethod": "GET",
"id": "androidpublisher.edits.tracks.get",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "Identifier of the track.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"response": {
"$ref": "Track"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all tracks.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
"httpMethod": "GET",
"id": "androidpublisher.edits.tracks.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks",
"response": {
"$ref": "TracksListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Patches a track.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.tracks.patch",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "Identifier of the track.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"request": {
"$ref": "Track"
},
"response": {
"$ref": "Track"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates a track.",
"flatPath": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"httpMethod": "PUT",
"id": "androidpublisher.edits.tracks.update",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Identifier of the edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "Identifier of the track.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}",
"request": {
"$ref": "Track"
},
"response": {
"$ref": "Track"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
},
"inappproducts": {
"methods": {
"delete": {
"description": "Deletes an in-app product (i.e. a managed product or a subscriptions).",
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "DELETE",
"id": "androidpublisher.inappproducts.delete",
"parameterOrder": [
"packageName",
"sku"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Gets an in-app product, which can be a managed product or a subscription.",
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "GET",
"id": "androidpublisher.inappproducts.get",
"parameterOrder": [
"packageName",
"sku"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"insert": {
"description": "Creates an in-app product (i.e. a managed product or a subscriptions).",
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
"httpMethod": "POST",
"id": "androidpublisher.inappproducts.insert",
"parameterOrder": [
"packageName"
],
"parameters": {
"autoConvertMissingPrices": {
"description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
"location": "query",
"type": "boolean"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/inappproducts",
"request": {
"$ref": "InAppProduct"
},
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all in-app products - both managed products and subscriptions.",
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
"httpMethod": "GET",
"id": "androidpublisher.inappproducts.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"maxResults": {
"description": "How many results the list operation should return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
"description": "The index of the first element to return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"token": {
"description": "Pagination token. If empty, list starts at the first product.",
"location": "query",
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/inappproducts",
"response": {
"$ref": "InappproductsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Patches an in-app product (i.e. a managed product or a subscriptions).",
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "PATCH",
"id": "androidpublisher.inappproducts.patch",
"parameterOrder": [
"packageName",
"sku"
],
"parameters": {
"autoConvertMissingPrices": {
"description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
"location": "query",
"type": "boolean"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"request": {
"$ref": "InAppProduct"
},
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates an in-app product (i.e. a managed product or a subscriptions).",
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"httpMethod": "PUT",
"id": "androidpublisher.inappproducts.update",
"parameterOrder": [
"packageName",
"sku"
],
"parameters": {
"autoConvertMissingPrices": {
"description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
"location": "query",
"type": "boolean"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
"request": {
"$ref": "InAppProduct"
},
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"internalappsharingartifacts": {
"methods": {
"uploadapk": {
"description": "Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.",
"flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
"httpMethod": "POST",
"id": "androidpublisher.internalappsharingartifacts.uploadapk",
"mediaUpload": {
"accept": [
"application/octet-stream",
"application/vnd.android.package-archive"
],
"maxSize": "1073741824",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk"
}
}
},
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk",
"response": {
"$ref": "InternalAppSharingArtifact"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
},
"uploadbundle": {
"description": "Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.",
"flatPath": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
"httpMethod": "POST",
"id": "androidpublisher.internalappsharingartifacts.uploadbundle",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "10737418240",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle"
}
}
},
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle",
"response": {
"$ref": "InternalAppSharingArtifact"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"orders": {
"methods": {
"refund": {
"description": "Refund a user's subscription or in-app purchase order.",
"flatPath": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
"httpMethod": "POST",
"id": "androidpublisher.orders.refund",
"parameterOrder": [
"packageName",
"orderId"
],
"parameters": {
"orderId": {
"description": "The order ID provided to the user when the subscription or in-app order was purchased.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"revoke": {
"description": "Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional).",
"location": "query",
"type": "boolean"
}
},
"path": "androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"purchases": {
"resources": {
"products": {
"methods": {
"acknowledge": {
"description": "Acknowledges a purchase of an inapp item.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
"httpMethod": "POST",
"id": "androidpublisher.purchases.products.acknowledge",
"parameterOrder": [
"packageName",
"productId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the inapp product was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge",
"request": {
"$ref": "ProductPurchasesAcknowledgeRequest"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Checks the purchase and consumption status of an inapp item.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
"httpMethod": "GET",
"id": "androidpublisher.purchases.products.get",
"parameterOrder": [
"packageName",
"productId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"productId": {
"description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the inapp product was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}",
"response": {
"$ref": "ProductPurchase"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"subscriptions": {
"methods": {
"acknowledge": {
"description": "Acknowledges a subscription purchase.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.acknowledge",
"parameterOrder": [
"packageName",
"subscriptionId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
"description": "The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the subscription was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge",
"request": {
"$ref": "SubscriptionPurchasesAcknowledgeRequest"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"cancel": {
"description": "Cancels a user's subscription purchase. The subscription remains valid until its expiration time.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.cancel",
"parameterOrder": [
"packageName",
"subscriptionId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
"description": "The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the subscription was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"defer": {
"description": "Defers a user's subscription purchase until a specified future expiration time.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.defer",
"parameterOrder": [
"packageName",
"subscriptionId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
"description": "The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the subscription was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
"request": {
"$ref": "SubscriptionPurchasesDeferRequest"
},
"response": {
"$ref": "SubscriptionPurchasesDeferResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Checks whether a user's subscription purchase is valid and returns its expiry time.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
"httpMethod": "GET",
"id": "androidpublisher.purchases.subscriptions.get",
"parameterOrder": [
"packageName",
"subscriptionId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
"description": "The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the subscription was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
"response": {
"$ref": "SubscriptionPurchase"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"refund": {
"description": "Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.refund",
"parameterOrder": [
"packageName",
"subscriptionId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
"description": "\"The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the subscription was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"revoke": {
"description": "Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
"httpMethod": "POST",
"id": "androidpublisher.purchases.subscriptions.revoke",
"parameterOrder": [
"packageName",
"subscriptionId",
"token"
],
"parameters": {
"packageName": {
"description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"subscriptionId": {
"description": "The purchased subscription ID (for example, 'monthly001').",
"location": "path",
"required": true,
"type": "string"
},
"token": {
"description": "The token provided to the user's device when the subscription was purchased.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"voidedpurchases": {
"methods": {
"list": {
"description": "Lists the purchases that were canceled, refunded or charged-back.",
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
"httpMethod": "GET",
"id": "androidpublisher.purchases.voidedpurchases.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"endTime": {
"description": "The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.",
"format": "int64",
"location": "query",
"type": "string"
},
"maxResults": {
"description": "Defines how many results the list operation should return. The default number depends on the resource collection.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
"description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
"description": "Defines the index of the first element to return. This can only be used if indexed paging is enabled.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"startTime": {
"description": "The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.",
"format": "int64",
"location": "query",
"type": "string"
},
"token": {
"description": "Defines the token of the page to return, usually taken from TokenPagination. This can only be used if token paging is enabled.",
"location": "query",
"type": "string"
},
"type": {
"description": "The type of voided purchases that you want to see in the response. Possible values are: 0. Only voided in-app product purchases will be returned in the response. This is the default value. 1. Both voided in-app purchases and voided subscription purchases will be returned in the response. Note: Before requesting to receive voided subscription purchases, you must switch to use orderId in the response which uniquely identifies one-time purchases and subscriptions. Otherwise, you will receive multiple subscription orders with the same PurchaseToken, because subscription renewal orders share the same PurchaseToken.",
"format": "int32",
"location": "query",
"type": "integer"
}
},
"path": "androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases",
"response": {
"$ref": "VoidedPurchasesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
},
"reviews": {
"methods": {
"get": {
"description": "Gets a single review.",
"flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
"httpMethod": "GET",
"id": "androidpublisher.reviews.get",
"parameterOrder": [
"packageName",
"reviewId"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"reviewId": {
"description": "Unique identifier for a review.",
"location": "path",
"required": true,
"type": "string"
},
"translationLanguage": {
"description": "Language localization code.",
"location": "query",
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}",
"response": {
"$ref": "Review"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all reviews.",
"flatPath": "androidpublisher/v3/applications/{packageName}/reviews",
"httpMethod": "GET",
"id": "androidpublisher.reviews.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"maxResults": {
"description": "How many results the list operation should return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
"description": "The index of the first element to return.",
"format": "uint32",
"location": "query",
"type": "integer"
},
"token": {
"description": "Pagination token. If empty, list starts at the first review.",
"location": "query",
"type": "string"
},
"translationLanguage": {
"description": "Language localization code.",
"location": "query",
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/reviews",
"response": {
"$ref": "ReviewsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"reply": {
"description": "Replies to a single review, or updates an existing reply.",
"flatPath": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
"httpMethod": "POST",
"id": "androidpublisher.reviews.reply",
"parameterOrder": [
"packageName",
"reviewId"
],
"parameters": {
"packageName": {
"description": "Package name of the app.",
"location": "path",
"required": true,
"type": "string"
},
"reviewId": {
"description": "Unique identifier for a review.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply",
"request": {
"$ref": "ReviewsReplyRequest"
},
"response": {
"$ref": "ReviewsReplyResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"systemapks": {
"resources": {
"variants": {
"methods": {
"create": {
"description": "Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.",
"flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"httpMethod": "POST",
"id": "androidpublisher.systemapks.variants.create",
"parameterOrder": [
"packageName",
"versionCode"
],
"parameters": {
"packageName": {
"description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
},
"versionCode": {
"description": "The version code of the App Bundle.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"request": {
"$ref": "Variant"
},
"response": {
"$ref": "Variant"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"download": {
"description": "Downloads a previously created system APK which is suitable for inclusion in a system image.",
"flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
"httpMethod": "GET",
"id": "androidpublisher.systemapks.variants.download",
"parameterOrder": [
"packageName",
"versionCode",
"variantId"
],
"parameters": {
"packageName": {
"description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
},
"variantId": {
"description": "The ID of a previously created system APK variant.",
"format": "uint32",
"location": "path",
"required": true,
"type": "integer"
},
"versionCode": {
"description": "The version code of the App Bundle.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaDownload": true,
"useMediaDownloadService": true
},
"get": {
"description": "Returns a previously created system APK variant.",
"flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
"httpMethod": "GET",
"id": "androidpublisher.systemapks.variants.get",
"parameterOrder": [
"packageName",
"versionCode",
"variantId"
],
"parameters": {
"packageName": {
"description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
},
"variantId": {
"description": "The ID of a previously created system APK variant.",
"format": "uint32",
"location": "path",
"required": true,
"type": "integer"
},
"versionCode": {
"description": "The version code of the App Bundle.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}",
"response": {
"$ref": "Variant"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Returns the list of previously created system APK variants.",
"flatPath": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"httpMethod": "GET",
"id": "androidpublisher.systemapks.variants.list",
"parameterOrder": [
"packageName",
"versionCode"
],
"parameters": {
"packageName": {
"description": "Unique identifier of the Android app.",
"location": "path",
"required": true,
"type": "string"
},
"versionCode": {
"description": "The version code of the App Bundle.",
"format": "int64",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants",
"response": {
"$ref": "SystemApksListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
}
},
"revision": "20200930",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Apk": {
"description": "Information about an APK. The resource for ApksService.",
"id": "Apk",
"properties": {
"binary": {
"$ref": "ApkBinary",
"description": "Information about the binary payload of this APK."
},
"versionCode": {
"description": "The version code of the APK, as specified in the manifest file.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ApkBinary": {
"description": "Represents the binary payload of an APK.",
"id": "ApkBinary",
"properties": {
"sha1": {
"description": "A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command.",
"type": "string"
},
"sha256": {
"description": "A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command.",
"type": "string"
}
},
"type": "object"
},
"ApksAddExternallyHostedRequest": {
"description": "Request to create a new externally hosted APK.",