restic/vendor/google.golang.org/api/androidpublisher/v2/androidpublisher-api.json

3435 lines
126 KiB
JSON

{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/androidpublisher": {
"description": "View and manage your Google Play Developer account"
}
}
}
},
"basePath": "/androidpublisher/v2/applications/",
"baseUrl": "https://www.googleapis.com/androidpublisher/v2/applications/",
"batchPath": "batch/androidpublisher/v2",
"canonicalName": "Android Publisher",
"description": "Lets Android application developers access their Google Play accounts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android-publisher",
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/eJTlhAFjCoKr6Jd4MPFAfd8JyPA\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
},
"id": "androidpublisher:v2",
"kind": "discovery#restDescription",
"name": "androidpublisher",
"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": {
"edits": {
"methods": {
"commit": {
"description": "Commits/applies the changes made in this edit back to the app.",
"httpMethod": "POST",
"id": "androidpublisher.edits.commit",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}:commit",
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"delete": {
"description": "Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.delete",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).",
"httpMethod": "GET",
"id": "androidpublisher.edits.get",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}",
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"insert": {
"description": "Creates a new edit for an app, populated with the app's current state.",
"httpMethod": "POST",
"id": "androidpublisher.edits.insert",
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits",
"request": {
"$ref": "AppEdit"
},
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"validate": {
"description": "Checks that the edit can be successfully committed. The edit's changes are not applied to the live app.",
"httpMethod": "POST",
"id": "androidpublisher.edits.validate",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}:validate",
"response": {
"$ref": "AppEdit"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
},
"resources": {
"apklistings": {
"methods": {
"delete": {
"description": "Deletes the APK-specific localized listing for a specified APK and language code.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.apklistings.delete",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"language"
],
"parameters": {
"apkVersionCode": {
"description": "The APK version code whose APK-specific listings should be read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"deleteall": {
"description": "Deletes all the APK-specific localized listings for a specified APK.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.apklistings.deleteall",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode"
],
"parameters": {
"apkVersionCode": {
"description": "The APK version code whose APK-specific listings should be read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Fetches the APK-specific localized listing for a specified APK and language code.",
"httpMethod": "GET",
"id": "androidpublisher.edits.apklistings.get",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"language"
],
"parameters": {
"apkVersionCode": {
"description": "The APK version code whose APK-specific listings should be read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
"response": {
"$ref": "ApkListing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all the APK-specific localized listings for a specified APK.",
"httpMethod": "GET",
"id": "androidpublisher.edits.apklistings.list",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode"
],
"parameters": {
"apkVersionCode": {
"description": "The APK version code whose APK-specific listings should be read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings",
"response": {
"$ref": "ApkListingsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.apklistings.patch",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"language"
],
"parameters": {
"apkVersionCode": {
"description": "The APK version code whose APK-specific listings should be read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
"request": {
"$ref": "ApkListing"
},
"response": {
"$ref": "ApkListing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates or creates the APK-specific localized listing for a specified APK and language code.",
"httpMethod": "PUT",
"id": "androidpublisher.edits.apklistings.update",
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"language"
],
"parameters": {
"apkVersionCode": {
"description": "The APK version code whose APK-specific listings should be read or modified.",
"format": "int32",
"location": "path",
"required": true,
"type": "integer"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
"request": {
"$ref": "ApkListing"
},
"response": {
"$ref": "ApkListing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"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 enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.",
"httpMethod": "POST",
"id": "androidpublisher.edits.apks.addexternallyhosted",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/externallyHosted",
"request": {
"$ref": "ApksAddExternallyHostedRequest"
},
"response": {
"$ref": "ApksAddExternallyHostedResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"httpMethod": "GET",
"id": "androidpublisher.edits.apks.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks",
"response": {
"$ref": "ApksListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"httpMethod": "POST",
"id": "androidpublisher.edits.apks.upload",
"mediaUpload": {
"accept": [
"application/octet-stream",
"application/vnd.android.package-archive"
],
"maxSize": "1GB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks"
}
}
},
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks",
"response": {
"$ref": "Apk"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"deobfuscationfiles": {
"methods": {
"upload": {
"description": "Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.",
"httpMethod": "POST",
"id": "androidpublisher.edits.deobfuscationfiles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "300MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v2/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": {
"enum": [
"proguard"
],
"enumDescriptions": [
""
],
"location": "path",
"required": true,
"type": "string"
},
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
"response": {
"$ref": "DeobfuscationFilesUploadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"details": {
"methods": {
"get": {
"description": "Fetches app details for this edit. This includes the default language and developer support contact information.",
"httpMethod": "GET",
"id": "androidpublisher.edits.details.get",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/details",
"response": {
"$ref": "AppDetails"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Updates app details for this edit. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.details.patch",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/details",
"request": {
"$ref": "AppDetails"
},
"response": {
"$ref": "AppDetails"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates app details for this edit.",
"httpMethod": "PUT",
"id": "androidpublisher.edits.details.update",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{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 APK specified.",
"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": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"enum": [
"main",
"patch"
],
"enumDescriptions": [
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"response": {
"$ref": "ExpansionFile"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.",
"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": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"enum": [
"main",
"patch"
],
"enumDescriptions": [
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{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 Files. To add a new Expansion File use the Upload method.",
"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": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"enum": [
"main",
"patch"
],
"enumDescriptions": [
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
"request": {
"$ref": "ExpansionFile"
},
"response": {
"$ref": "ExpansionFile"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"description": "Uploads and attaches a new Expansion File to the APK specified.",
"httpMethod": "POST",
"id": "androidpublisher.edits.expansionfiles.upload",
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "2048MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v2/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": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"expansionFileType": {
"enum": [
"main",
"patch"
],
"enumDescriptions": [
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{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.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.images.delete",
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType",
"imageId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this 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": {
"enum": [
"featureGraphic",
"icon",
"phoneScreenshots",
"promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{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.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.images.deleteall",
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"enum": [
"featureGraphic",
"icon",
"phoneScreenshots",
"promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesDeleteAllResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all images for the specified language and image type.",
"httpMethod": "GET",
"id": "androidpublisher.edits.images.list",
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"enum": [
"featureGraphic",
"icon",
"phoneScreenshots",
"promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"upload": {
"description": "Uploads a new image and adds it to the list of images for the specified language and image type.",
"httpMethod": "POST",
"id": "androidpublisher.edits.images.upload",
"mediaUpload": {
"accept": [
"image/*"
],
"maxSize": "15MB",
"protocols": {
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
},
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
}
}
},
"parameterOrder": [
"packageName",
"editId",
"language",
"imageType"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"imageType": {
"enum": [
"featureGraphic",
"icon",
"phoneScreenshots",
"promoGraphic",
"sevenInchScreenshots",
"tenInchScreenshots",
"tvBanner",
"tvScreenshots",
"wearScreenshots"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
"response": {
"$ref": "ImagesUploadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true
}
}
},
"listings": {
"methods": {
"delete": {
"description": "Deletes the specified localized store listing from an edit.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.listings.delete",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings/{language}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"deleteall": {
"description": "Deletes all localized listings from an edit.",
"httpMethod": "DELETE",
"id": "androidpublisher.edits.listings.deleteall",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Fetches information about a localized store listing.",
"httpMethod": "GET",
"id": "androidpublisher.edits.listings.get",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings/{language}",
"response": {
"$ref": "Listing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Returns all of the localized store listings attached to this edit.",
"httpMethod": "GET",
"id": "androidpublisher.edits.listings.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings",
"response": {
"$ref": "ListingsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Creates or updates a localized store listing. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.listings.patch",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{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.",
"httpMethod": "PUT",
"id": "androidpublisher.edits.listings.update",
"parameterOrder": [
"packageName",
"editId",
"language"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"language": {
"description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/listings/{language}",
"request": {
"$ref": "Listing"
},
"response": {
"$ref": "Listing"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"testers": {
"methods": {
"get": {
"httpMethod": "GET",
"id": "androidpublisher.edits.testers.get",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read or modify. Acceptable values are: \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"location": "path",
"pattern": "(alpha|beta|production|rollout|internal)",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/testers/{track}",
"response": {
"$ref": "Testers"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"httpMethod": "PATCH",
"id": "androidpublisher.edits.testers.patch",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read or modify. Acceptable values are: \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"location": "path",
"pattern": "(alpha|beta|production|rollout|internal)",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/testers/{track}",
"request": {
"$ref": "Testers"
},
"response": {
"$ref": "Testers"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"httpMethod": "PUT",
"id": "androidpublisher.edits.testers.update",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read or modify. Acceptable values are: \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"location": "path",
"pattern": "(alpha|beta|production|rollout|internal)",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/testers/{track}",
"request": {
"$ref": "Testers"
},
"response": {
"$ref": "Testers"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"tracks": {
"methods": {
"get": {
"description": "Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.",
"httpMethod": "GET",
"id": "androidpublisher.edits.tracks.get",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read or modify. Acceptable values are: \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"location": "path",
"pattern": "(alpha|beta|production|rollout|internal)",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/tracks/{track}",
"response": {
"$ref": "Track"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Lists all the track configurations for this edit.",
"httpMethod": "GET",
"id": "androidpublisher.edits.tracks.list",
"parameterOrder": [
"packageName",
"editId"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/tracks",
"response": {
"$ref": "TracksListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume. This method supports patch semantics.",
"httpMethod": "PATCH",
"id": "androidpublisher.edits.tracks.patch",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read or modify. Acceptable values are: \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"location": "path",
"pattern": "(alpha|beta|production|rollout|internal)",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/tracks/{track}",
"request": {
"$ref": "Track"
},
"response": {
"$ref": "Track"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume.",
"httpMethod": "PUT",
"id": "androidpublisher.edits.tracks.update",
"parameterOrder": [
"packageName",
"editId",
"track"
],
"parameters": {
"editId": {
"description": "Unique identifier for this edit.",
"location": "path",
"required": true,
"type": "string"
},
"packageName": {
"description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"track": {
"description": "The track to read or modify. Acceptable values are: \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"location": "path",
"pattern": "(alpha|beta|production|rollout|internal)",
"required": true,
"type": "string"
}
},
"path": "{packageName}/edits/{editId}/tracks/{track}",
"request": {
"$ref": "Track"
},
"response": {
"$ref": "Track"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
},
"inappproducts": {
"methods": {
"delete": {
"description": "Delete an in-app product for an app.",
"httpMethod": "DELETE",
"id": "androidpublisher.inappproducts.delete",
"parameterOrder": [
"packageName",
"sku"
],
"parameters": {
"packageName": {
"description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/inappproducts/{sku}",
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"get": {
"description": "Returns information about the in-app product specified.",
"httpMethod": "GET",
"id": "androidpublisher.inappproducts.get",
"parameterOrder": [
"packageName",
"sku"
],
"parameters": {
"packageName": {
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/inappproducts/{sku}",
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"insert": {
"description": "Creates a new in-app product for an app.",
"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": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/inappproducts",
"request": {
"$ref": "InAppProduct"
},
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "List all the in-app products for an Android app, both subscriptions and managed in-app products..",
"httpMethod": "GET",
"id": "androidpublisher.inappproducts.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"maxResults": {
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
"description": "Unique identifier for the Android app with in-app products; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
"format": "uint32",
"location": "query",
"type": "integer"
},
"token": {
"location": "query",
"type": "string"
}
},
"path": "{packageName}/inappproducts",
"response": {
"$ref": "InappproductsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"patch": {
"description": "Updates the details of an in-app product. This method supports patch semantics.",
"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": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/inappproducts/{sku}",
"request": {
"$ref": "InAppProduct"
},
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"update": {
"description": "Updates the details of an in-app product.",
"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": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"sku": {
"description": "Unique identifier for the in-app product.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/inappproducts/{sku}",
"request": {
"$ref": "InAppProduct"
},
"response": {
"$ref": "InAppProduct"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"purchases": {
"resources": {
"products": {
"methods": {
"get": {
"description": "Checks the purchase and consumption status of an inapp item.",
"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": "{packageName}/purchases/products/{productId}/tokens/{token}",
"response": {
"$ref": "ProductPurchase"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
},
"subscriptions": {
"methods": {
"cancel": {
"description": "Cancels a user's subscription purchase. The subscription remains valid until its expiration time.",
"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": "{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.",
"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": "{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.",
"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": "{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.",
"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": "{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.",
"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": "{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.",
"httpMethod": "GET",
"id": "androidpublisher.purchases.voidedpurchases.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"endTime": {
"description": "The time, in milliseconds since the Epoch, of the newest voided in-app product 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": {
"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": {
"format": "uint32",
"location": "query",
"type": "integer"
},
"startTime": {
"description": "The time, in milliseconds since the Epoch, of the oldest voided in-app product 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": {
"location": "query",
"type": "string"
}
},
"path": "{packageName}/purchases/voidedpurchases",
"response": {
"$ref": "VoidedPurchasesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
},
"reviews": {
"methods": {
"get": {
"description": "Returns a single review.",
"httpMethod": "GET",
"id": "androidpublisher.reviews.get",
"parameterOrder": [
"packageName",
"reviewId"
],
"parameters": {
"packageName": {
"description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"reviewId": {
"location": "path",
"required": true,
"type": "string"
},
"translationLanguage": {
"location": "query",
"type": "string"
}
},
"path": "{packageName}/reviews/{reviewId}",
"response": {
"$ref": "Review"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"description": "Returns a list of reviews. Only reviews from last week will be returned.",
"httpMethod": "GET",
"id": "androidpublisher.reviews.list",
"parameterOrder": [
"packageName"
],
"parameters": {
"maxResults": {
"format": "uint32",
"location": "query",
"type": "integer"
},
"packageName": {
"description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"startIndex": {
"format": "uint32",
"location": "query",
"type": "integer"
},
"token": {
"location": "query",
"type": "string"
},
"translationLanguage": {
"location": "query",
"type": "string"
}
},
"path": "{packageName}/reviews",
"response": {
"$ref": "ReviewsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"reply": {
"description": "Reply to a single review, or update an existing reply.",
"httpMethod": "POST",
"id": "androidpublisher.reviews.reply",
"parameterOrder": [
"packageName",
"reviewId"
],
"parameters": {
"packageName": {
"description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
"location": "path",
"required": true,
"type": "string"
},
"reviewId": {
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{packageName}/reviews/{reviewId}:reply",
"request": {
"$ref": "ReviewsReplyRequest"
},
"response": {
"$ref": "ReviewsReplyResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
},
"revision": "20180327",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Apk": {
"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 APK's 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"
},
"ApkListing": {
"id": "ApkListing",
"properties": {
"language": {
"description": "The language code, in BCP 47 format (eg \"en-US\").",
"type": "string"
},
"recentChanges": {
"description": "Describe what's new in your APK.",
"type": "string"
}
},
"type": "object"
},
"ApkListingsListResponse": {
"id": "ApkListingsListResponse",
"properties": {
"kind": {
"default": "androidpublisher#apkListingsListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#apkListingsListResponse\".",
"type": "string"
},
"listings": {
"items": {
"$ref": "ApkListing"
},
"type": "array"
}
},
"type": "object"
},
"ApksAddExternallyHostedRequest": {
"id": "ApksAddExternallyHostedRequest",
"properties": {
"externallyHostedApk": {
"$ref": "ExternallyHostedApk",
"description": "The definition of the externally-hosted APK and where it is located."
}
},
"type": "object"
},
"ApksAddExternallyHostedResponse": {
"id": "ApksAddExternallyHostedResponse",
"properties": {
"externallyHostedApk": {
"$ref": "ExternallyHostedApk",
"description": "The definition of the externally-hosted APK and where it is located."
}
},
"type": "object"
},
"ApksListResponse": {
"id": "ApksListResponse",
"properties": {
"apks": {
"items": {
"$ref": "Apk"
},
"type": "array"
},
"kind": {
"default": "androidpublisher#apksListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#apksListResponse\".",
"type": "string"
}
},
"type": "object"
},
"AppDetails": {
"id": "AppDetails",
"properties": {
"contactEmail": {
"description": "The user-visible support email for this app.",
"type": "string"
},
"contactPhone": {
"description": "The user-visible support telephone number for this app.",
"type": "string"
},
"contactWebsite": {
"description": "The user-visible website for this app.",
"type": "string"
},
"defaultLanguage": {
"description": "Default language code, in BCP 47 format (eg \"en-US\").",
"type": "string"
}
},
"type": "object"
},
"AppEdit": {
"description": "Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.",
"id": "AppEdit",
"properties": {
"expiryTimeSeconds": {
"description": "The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch).",
"type": "string"
},
"id": {
"description": "The ID of the edit that can be used in subsequent API calls.",
"type": "string"
}
},
"type": "object"
},
"Comment": {
"id": "Comment",
"properties": {
"developerComment": {
"$ref": "DeveloperComment",
"description": "A comment from a developer."
},
"userComment": {
"$ref": "UserComment",
"description": "A comment from a user."
}
},
"type": "object"
},
"DeobfuscationFile": {
"description": "Represents a deobfuscation file.",
"id": "DeobfuscationFile",
"properties": {
"symbolType": {
"description": "The type of the deobfuscation file.",
"type": "string"
}
},
"type": "object"
},
"DeobfuscationFilesUploadResponse": {
"id": "DeobfuscationFilesUploadResponse",
"properties": {
"deobfuscationFile": {
"$ref": "DeobfuscationFile"
}
},
"type": "object"
},
"DeveloperComment": {
"id": "DeveloperComment",
"properties": {
"lastModified": {
"$ref": "Timestamp",
"description": "The last time at which this comment was updated."
},
"text": {
"description": "The content of the comment, i.e. reply body.",
"type": "string"
}
},
"type": "object"
},
"DeviceMetadata": {
"id": "DeviceMetadata",
"properties": {
"cpuMake": {
"description": "Device CPU make e.g. \"Qualcomm\"",
"type": "string"
},
"cpuModel": {
"description": "Device CPU model e.g. \"MSM8974\"",
"type": "string"
},
"deviceClass": {
"description": "Device class (e.g. tablet)",
"type": "string"
},
"glEsVersion": {
"description": "OpenGL version",
"format": "int32",
"type": "integer"
},
"manufacturer": {
"description": "Device manufacturer (e.g. Motorola)",
"type": "string"
},
"nativePlatform": {
"description": "Comma separated list of native platforms (e.g. \"arm\", \"arm7\")",
"type": "string"
},
"productName": {
"description": "Device model name (e.g. Droid)",
"type": "string"
},
"ramMb": {
"description": "Device RAM in Megabytes e.g. \"2048\"",
"format": "int32",
"type": "integer"
},
"screenDensityDpi": {
"description": "Screen density in DPI",
"format": "int32",
"type": "integer"
},
"screenHeightPx": {
"description": "Screen height in pixels",
"format": "int32",
"type": "integer"
},
"screenWidthPx": {
"description": "Screen width in pixels",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ExpansionFile": {
"id": "ExpansionFile",
"properties": {
"fileSize": {
"description": "If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.",
"format": "int64",
"type": "string"
},
"referencesVersion": {
"description": "If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ExpansionFilesUploadResponse": {
"id": "ExpansionFilesUploadResponse",
"properties": {
"expansionFile": {
"$ref": "ExpansionFile"
}
},
"type": "object"
},
"ExternallyHostedApk": {
"description": "Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to enterprises who are using Google Play for Work, and whos application is restricted to the enterprise private channel",
"id": "ExternallyHostedApk",
"properties": {
"applicationLabel": {
"description": "The application label.",
"type": "string"
},
"certificateBase64s": {
"description": "A certificate (or array of certificates if a certificate-chain is used) used to signed this APK, represented as a base64 encoded byte array.",
"items": {
"type": "string"
},
"type": "array"
},
"externallyHostedUrl": {
"description": "The URL at which the APK is hosted. This must be an https URL.",
"type": "string"
},
"fileSha1Base64": {
"description": "The SHA1 checksum of this APK, represented as a base64 encoded byte array.",
"type": "string"
},
"fileSha256Base64": {
"description": "The SHA256 checksum of this APK, represented as a base64 encoded byte array.",
"type": "string"
},
"fileSize": {
"description": "The file size in bytes of this APK.",
"format": "int64",
"type": "string"
},
"iconBase64": {
"description": "The icon image from the APK, as a base64 encoded byte array.",
"type": "string"
},
"maximumSdk": {
"description": "The maximum SDK supported by this APK (optional).",
"format": "int32",
"type": "integer"
},
"minimumSdk": {
"description": "The minimum SDK targeted by this APK.",
"format": "int32",
"type": "integer"
},
"nativeCodes": {
"description": "The native code environments supported by this APK (optional).",
"items": {
"type": "string"
},
"type": "array"
},
"packageName": {
"description": "The package name.",
"type": "string"
},
"usesFeatures": {
"description": "The features required by this APK (optional).",
"items": {
"type": "string"
},
"type": "array"
},
"usesPermissions": {
"description": "The permissions requested by this APK.",
"items": {
"$ref": "ExternallyHostedApkUsesPermission"
},
"type": "array"
},
"versionCode": {
"description": "The version code of this APK.",
"format": "int32",
"type": "integer"
},
"versionName": {
"description": "The version name of this APK.",
"type": "string"
}
},
"type": "object"
},
"ExternallyHostedApkUsesPermission": {
"description": "A permission used by this APK.",
"id": "ExternallyHostedApkUsesPermission",
"properties": {
"maxSdkVersion": {
"description": "Optionally, the maximum SDK version for which the permission is required.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "The name of the permission requested.",
"type": "string"
}
},
"type": "object"
},
"Image": {
"id": "Image",
"properties": {
"id": {
"description": "A unique id representing this image.",
"type": "string"
},
"sha1": {
"description": "A sha1 hash of the image that was uploaded.",
"type": "string"
},
"url": {
"description": "A URL that will serve a preview of the image.",
"type": "string"
}
},
"type": "object"
},
"ImagesDeleteAllResponse": {
"id": "ImagesDeleteAllResponse",
"properties": {
"deleted": {
"items": {
"$ref": "Image"
},
"type": "array"
}
},
"type": "object"
},
"ImagesListResponse": {
"id": "ImagesListResponse",
"properties": {
"images": {
"items": {
"$ref": "Image"
},
"type": "array"
}
},
"type": "object"
},
"ImagesUploadResponse": {
"id": "ImagesUploadResponse",
"properties": {
"image": {
"$ref": "Image"
}
},
"type": "object"
},
"InAppProduct": {
"id": "InAppProduct",
"properties": {
"defaultLanguage": {
"description": "The default language of the localized data, as defined by BCP 47. e.g. \"en-US\", \"en-GB\".",
"type": "string"
},
"defaultPrice": {
"$ref": "Price",
"description": "Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency."
},
"listings": {
"additionalProperties": {
"$ref": "InAppProductListing",
"description": "The language of the localized data, as defined by BCP 47. i.e.: \"en-US\", \"en-GB\"."
},
"description": "List of localized title and description data.",
"type": "object"
},
"packageName": {
"description": "The package name of the parent app.",
"type": "string"
},
"prices": {
"additionalProperties": {
"$ref": "Price",
"description": "Region code, as defined by ISO 3166-2."
},
"description": "Prices per buyer region. None of these prices should be zero. In-app products can never be free.",
"type": "object"
},
"purchaseType": {
"description": "Purchase type enum value. Unmodifiable after creation.",
"type": "string"
},
"season": {
"$ref": "Season",
"description": "Definition of a season for a seasonal subscription. Can be defined only for yearly subscriptions."
},
"sku": {
"description": "The stock-keeping-unit (SKU) of the product, unique within an app.",
"type": "string"
},
"status": {
"type": "string"
},
"subscriptionPeriod": {
"description": "Subscription period, specified in ISO 8601 format. Acceptable values are \"P1W\" (one week), \"P1M\" (one month), \"P3M\" (three months), \"P6M\" (six months), and \"P1Y\" (one year).",
"type": "string"
},
"trialPeriod": {
"description": "Trial period, specified in ISO 8601 format. Acceptable values are anything between \"P7D\" (seven days) and \"P999D\" (999 days). Seasonal subscriptions cannot have a trial period.",
"type": "string"
}
},
"type": "object"
},
"InAppProductListing": {
"id": "InAppProductListing",
"properties": {
"description": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
},
"InappproductsListResponse": {
"id": "InappproductsListResponse",
"properties": {
"inappproduct": {
"items": {
"$ref": "InAppProduct"
},
"type": "array"
},
"kind": {
"default": "androidpublisher#inappproductsListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#inappproductsListResponse\".",
"type": "string"
},
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
}
},
"type": "object"
},
"Listing": {
"id": "Listing",
"properties": {
"fullDescription": {
"description": "Full description of the app; this may be up to 4000 characters in length.",
"type": "string"
},
"language": {
"description": "Language localization code (for example, \"de-AT\" for Austrian German).",
"type": "string"
},
"shortDescription": {
"description": "Short description of the app (previously known as promo text); this may be up to 80 characters in length.",
"type": "string"
},
"title": {
"description": "App's localized title.",
"type": "string"
},
"video": {
"description": "URL of a promotional YouTube video for the app.",
"type": "string"
}
},
"type": "object"
},
"ListingsListResponse": {
"id": "ListingsListResponse",
"properties": {
"kind": {
"default": "androidpublisher#listingsListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#listingsListResponse\".",
"type": "string"
},
"listings": {
"items": {
"$ref": "Listing"
},
"type": "array"
}
},
"type": "object"
},
"MonthDay": {
"id": "MonthDay",
"properties": {
"day": {
"description": "Day of a month, value in [1, 31] range. Valid range depends on the specified month.",
"format": "uint32",
"type": "integer"
},
"month": {
"description": "Month of a year. e.g. 1 = JAN, 2 = FEB etc.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"PageInfo": {
"id": "PageInfo",
"properties": {
"resultPerPage": {
"format": "int32",
"type": "integer"
},
"startIndex": {
"format": "int32",
"type": "integer"
},
"totalResults": {
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Price": {
"id": "Price",
"properties": {
"currency": {
"description": "3 letter Currency code, as defined by ISO 4217.",
"type": "string"
},
"priceMicros": {
"description": "The price in millionths of the currency base unit represented as a string.",
"type": "string"
}
},
"type": "object"
},
"ProductPurchase": {
"description": "A ProductPurchase resource indicates the status of a user's inapp product purchase.",
"id": "ProductPurchase",
"properties": {
"consumptionState": {
"description": "The consumption state of the inapp product. Possible values are: \n- Yet to be consumed \n- Consumed",
"format": "int32",
"type": "integer"
},
"developerPayload": {
"description": "A developer-specified string that contains supplemental information about an order.",
"type": "string"
},
"kind": {
"default": "androidpublisher#productPurchase",
"description": "This kind represents an inappPurchase object in the androidpublisher service.",
"type": "string"
},
"orderId": {
"description": "The order id associated with the purchase of the inapp product.",
"type": "string"
},
"purchaseState": {
"description": "The purchase state of the order. Possible values are: \n- Purchased \n- Canceled",
"format": "int32",
"type": "integer"
},
"purchaseTimeMillis": {
"description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
},
"purchaseType": {
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account) \n- Promo (i.e. purchased using a promo code)",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Prorate": {
"id": "Prorate",
"properties": {
"defaultPrice": {
"$ref": "Price",
"description": "Default price cannot be zero and must be less than the full subscription price. Default price is always in the developer's Checkout merchant currency. Targeted countries have their prices set automatically based on the default_price."
},
"start": {
"$ref": "MonthDay",
"description": "Defines the first day on which the price takes effect."
}
},
"type": "object"
},
"Review": {
"id": "Review",
"properties": {
"authorName": {
"description": "The name of the user who wrote the review.",
"type": "string"
},
"comments": {
"description": "A repeated field containing comments for the review.",
"items": {
"$ref": "Comment"
},
"type": "array"
},
"reviewId": {
"description": "Unique identifier for this review.",
"type": "string"
}
},
"type": "object"
},
"ReviewReplyResult": {
"id": "ReviewReplyResult",
"properties": {
"lastEdited": {
"$ref": "Timestamp",
"description": "The time at which the reply took effect."
},
"replyText": {
"description": "The reply text that was applied.",
"type": "string"
}
},
"type": "object"
},
"ReviewsListResponse": {
"id": "ReviewsListResponse",
"properties": {
"pageInfo": {
"$ref": "PageInfo"
},
"reviews": {
"items": {
"$ref": "Review"
},
"type": "array"
},
"tokenPagination": {
"$ref": "TokenPagination"
}
},
"type": "object"
},
"ReviewsReplyRequest": {
"id": "ReviewsReplyRequest",
"properties": {
"replyText": {
"description": "The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped.",
"type": "string"
}
},
"type": "object"
},
"ReviewsReplyResponse": {
"id": "ReviewsReplyResponse",
"properties": {
"result": {
"$ref": "ReviewReplyResult"
}
},
"type": "object"
},
"Season": {
"id": "Season",
"properties": {
"end": {
"$ref": "MonthDay",
"description": "Inclusive end date of the recurrence period."
},
"prorations": {
"description": "Optionally present list of prorations for the season. Each proration is a one-off discounted entry into a subscription. Each proration contains the first date on which the discount is available and the new pricing information.",
"items": {
"$ref": "Prorate"
},
"type": "array"
},
"start": {
"$ref": "MonthDay",
"description": "Inclusive start date of the recurrence period."
}
},
"type": "object"
},
"SubscriptionDeferralInfo": {
"description": "A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.",
"id": "SubscriptionDeferralInfo",
"properties": {
"desiredExpiryTimeMillis": {
"description": "The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current expiry time for the subscription.",
"format": "int64",
"type": "string"
},
"expectedExpiryTimeMillis": {
"description": "The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not occur.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"SubscriptionPurchase": {
"description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.",
"id": "SubscriptionPurchase",
"properties": {
"autoRenewing": {
"description": "Whether the subscription will automatically be renewed when it reaches its current expiry time.",
"type": "boolean"
},
"cancelReason": {
"description": "The reason why a subscription was canceled or is not auto-renewing. Possible values are: \n- User canceled the subscription \n- Subscription was canceled by the system, for example because of a billing problem \n- Subscription was replaced with a new subscription \n- Subscription was canceled by the developer",
"format": "int32",
"type": "integer"
},
"countryCode": {
"description": "ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted.",
"type": "string"
},
"developerPayload": {
"description": "A developer-specified string that contains supplemental information about an order.",
"type": "string"
},
"emailAddress": {
"description": "The email address of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"expiryTimeMillis": {
"description": "Time at which the subscription will expire, in milliseconds since the Epoch.",
"format": "int64",
"type": "string"
},
"familyName": {
"description": "The family name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"givenName": {
"description": "The given name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"kind": {
"default": "androidpublisher#subscriptionPurchase",
"description": "This kind represents a subscriptionPurchase object in the androidpublisher service.",
"type": "string"
},
"linkedPurchaseToken": {
"description": "The purchase token of the originating purchase if this subscription is one of the following: \n- Re-signup of a canceled but non-lapsed subscription \n- Upgrade/downgrade from a previous subscription For example, suppose a user originally signs up and you receive purchase token X, then the user cancels and goes through the resignup flow (before their subscription lapses) and you receive purchase token Y, and finally the user upgrades their subscription and you receive purchase token Z. If you call this API with purchase token Z, this field will be set to Y. If you call this API with purchase token Y, this field will be set to X. If you call this API with purchase token X, this field will not be set.",
"type": "string"
},
"orderId": {
"description": "The order id of the latest recurring order associated with the purchase of the subscription.",
"type": "string"
},
"paymentState": {
"description": "The payment state of the subscription. Possible values are: \n- Payment pending \n- Payment received \n- Free trial",
"format": "int32",
"type": "integer"
},
"priceAmountMicros": {
"description": "Price of the subscription, not including tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.",
"format": "int64",
"type": "string"
},
"priceCurrencyCode": {
"description": "ISO 4217 currency code for the subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is \"GBP\".",
"type": "string"
},
"profileId": {
"description": "The profile id of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"profileName": {
"description": "The profile name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.",
"type": "string"
},
"purchaseType": {
"description": "The type of purchase of the subscription. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: \n- Test (i.e. purchased from a license testing account)",
"format": "int32",
"type": "integer"
},
"startTimeMillis": {
"description": "Time at which the subscription was granted, in milliseconds since the Epoch.",
"format": "int64",
"type": "string"
},
"userCancellationTimeMillis": {
"description": "The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"SubscriptionPurchasesDeferRequest": {
"id": "SubscriptionPurchasesDeferRequest",
"properties": {
"deferralInfo": {
"$ref": "SubscriptionDeferralInfo",
"description": "The information about the new desired expiry time for the subscription."
}
},
"type": "object"
},
"SubscriptionPurchasesDeferResponse": {
"id": "SubscriptionPurchasesDeferResponse",
"properties": {
"newExpiryTimeMillis": {
"description": "The new expiry time for the subscription in milliseconds since the Epoch.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"Testers": {
"id": "Testers",
"properties": {
"googleGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"googlePlusCommunities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Timestamp": {
"id": "Timestamp",
"properties": {
"nanos": {
"format": "int32",
"type": "integer"
},
"seconds": {
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"TokenPagination": {
"id": "TokenPagination",
"properties": {
"nextPageToken": {
"type": "string"
},
"previousPageToken": {
"type": "string"
}
},
"type": "object"
},
"Track": {
"id": "Track",
"properties": {
"track": {
"description": "Identifier for this track. One of \"alpha\", \"beta\", \"production\", \"rollout\" or \"internal\".",
"type": "string"
},
"userFraction": {
"format": "double",
"type": "number"
},
"versionCodes": {
"items": {
"format": "int32",
"type": "integer"
},
"type": "array"
}
},
"type": "object"
},
"TracksListResponse": {
"id": "TracksListResponse",
"properties": {
"kind": {
"default": "androidpublisher#tracksListResponse",
"description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#tracksListResponse\".",
"type": "string"
},
"tracks": {
"items": {
"$ref": "Track"
},
"type": "array"
}
},
"type": "object"
},
"UserComment": {
"id": "UserComment",
"properties": {
"androidOsVersion": {
"description": "Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent.",
"format": "int32",
"type": "integer"
},
"appVersionCode": {
"description": "Integer version code of the app as installed at the time the review was written. May be absent.",
"format": "int32",
"type": "integer"
},
"appVersionName": {
"description": "String version name of the app as installed at the time the review was written. May be absent.",
"type": "string"
},
"device": {
"description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent.",
"type": "string"
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
"description": "Some information about the characteristics of the user's device"
},
"lastModified": {
"$ref": "Timestamp",
"description": "The last time at which this comment was updated."
},
"originalText": {
"description": "Untranslated text of the review, in the case where the review has been translated. If the review has not been translated this is left blank.",
"type": "string"
},
"reviewerLanguage": {
"description": "Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent.",
"type": "string"
},
"starRating": {
"description": "The star rating associated with the review, from 1 to 5.",
"format": "int32",
"type": "integer"
},
"text": {
"description": "The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character.",
"type": "string"
},
"thumbsDownCount": {
"description": "Number of users who have given this review a thumbs down",
"format": "int32",
"type": "integer"
},
"thumbsUpCount": {
"description": "Number of users who have given this review a thumbs up",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"VoidedPurchase": {
"description": "A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.",
"id": "VoidedPurchase",
"properties": {
"kind": {
"default": "androidpublisher#voidedPurchase",
"description": "This kind represents a voided purchase object in the androidpublisher service.",
"type": "string"
},
"purchaseTimeMillis": {
"description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
},
"purchaseToken": {
"description": "The token that was generated when a purchase was made. This uniquely identifies a purchase.",
"type": "string"
},
"voidedTimeMillis": {
"description": "The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"VoidedPurchasesListResponse": {
"id": "VoidedPurchasesListResponse",
"properties": {
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"voidedPurchases": {
"items": {
"$ref": "VoidedPurchase"
},
"type": "array"
}
},
"type": "object"
}
},
"servicePath": "androidpublisher/v2/applications/",
"title": "Google Play Developer API",
"version": "v2"
}