Skip to content

Commit

Permalink
feat(androidpublisher): update the API
Browse files Browse the repository at this point in the history
#### androidpublisher:v3
The following keys were added:
- resources.systemapks.resources.variants.methods.create.description
- resources.systemapks.resources.variants.methods.create.flatPath
- resources.systemapks.resources.variants.methods.create.httpMethod
- resources.systemapks.resources.variants.methods.create.id
- resources.systemapks.resources.variants.methods.create.parameterOrder
- resources.systemapks.resources.variants.methods.create.parameters.packageName.description
- resources.systemapks.resources.variants.methods.create.parameters.packageName.location
- resources.systemapks.resources.variants.methods.create.parameters.packageName.required
- resources.systemapks.resources.variants.methods.create.parameters.packageName.type
- resources.systemapks.resources.variants.methods.create.parameters.versionCode.description
- resources.systemapks.resources.variants.methods.create.parameters.versionCode.format
- resources.systemapks.resources.variants.methods.create.parameters.versionCode.location
- resources.systemapks.resources.variants.methods.create.parameters.versionCode.required
- resources.systemapks.resources.variants.methods.create.parameters.versionCode.type
- resources.systemapks.resources.variants.methods.create.path
- resources.systemapks.resources.variants.methods.create.request.$ref
- resources.systemapks.resources.variants.methods.create.response.$ref
- resources.systemapks.resources.variants.methods.create.scopes
- resources.systemapks.resources.variants.methods.download.description
- resources.systemapks.resources.variants.methods.download.flatPath
- resources.systemapks.resources.variants.methods.download.httpMethod
- resources.systemapks.resources.variants.methods.download.id
- resources.systemapks.resources.variants.methods.download.parameterOrder
- resources.systemapks.resources.variants.methods.download.parameters.packageName.description
- resources.systemapks.resources.variants.methods.download.parameters.packageName.location
- resources.systemapks.resources.variants.methods.download.parameters.packageName.required
- resources.systemapks.resources.variants.methods.download.parameters.packageName.type
- resources.systemapks.resources.variants.methods.download.parameters.variantId.description
- resources.systemapks.resources.variants.methods.download.parameters.variantId.format
- resources.systemapks.resources.variants.methods.download.parameters.variantId.location
- resources.systemapks.resources.variants.methods.download.parameters.variantId.required
- resources.systemapks.resources.variants.methods.download.parameters.variantId.type
- resources.systemapks.resources.variants.methods.download.parameters.versionCode.description
- resources.systemapks.resources.variants.methods.download.parameters.versionCode.format
- resources.systemapks.resources.variants.methods.download.parameters.versionCode.location
- resources.systemapks.resources.variants.methods.download.parameters.versionCode.required
- resources.systemapks.resources.variants.methods.download.parameters.versionCode.type
- resources.systemapks.resources.variants.methods.download.path
- resources.systemapks.resources.variants.methods.download.scopes
- resources.systemapks.resources.variants.methods.download.supportsMediaDownload
- resources.systemapks.resources.variants.methods.download.useMediaDownloadService
- resources.systemapks.resources.variants.methods.get.description
- resources.systemapks.resources.variants.methods.get.flatPath
- resources.systemapks.resources.variants.methods.get.httpMethod
- resources.systemapks.resources.variants.methods.get.id
- resources.systemapks.resources.variants.methods.get.parameterOrder
- resources.systemapks.resources.variants.methods.get.parameters.packageName.description
- resources.systemapks.resources.variants.methods.get.parameters.packageName.location
- resources.systemapks.resources.variants.methods.get.parameters.packageName.required
- resources.systemapks.resources.variants.methods.get.parameters.packageName.type
- resources.systemapks.resources.variants.methods.get.parameters.variantId.description
- resources.systemapks.resources.variants.methods.get.parameters.variantId.format
- resources.systemapks.resources.variants.methods.get.parameters.variantId.location
- resources.systemapks.resources.variants.methods.get.parameters.variantId.required
- resources.systemapks.resources.variants.methods.get.parameters.variantId.type
- resources.systemapks.resources.variants.methods.get.parameters.versionCode.description
- resources.systemapks.resources.variants.methods.get.parameters.versionCode.format
- resources.systemapks.resources.variants.methods.get.parameters.versionCode.location
- resources.systemapks.resources.variants.methods.get.parameters.versionCode.required
- resources.systemapks.resources.variants.methods.get.parameters.versionCode.type
- resources.systemapks.resources.variants.methods.get.path
- resources.systemapks.resources.variants.methods.get.response.$ref
- resources.systemapks.resources.variants.methods.get.scopes
- resources.systemapks.resources.variants.methods.list.description
- resources.systemapks.resources.variants.methods.list.flatPath
- resources.systemapks.resources.variants.methods.list.httpMethod
- resources.systemapks.resources.variants.methods.list.id
- resources.systemapks.resources.variants.methods.list.parameterOrder
- resources.systemapks.resources.variants.methods.list.parameters.packageName.description
- resources.systemapks.resources.variants.methods.list.parameters.packageName.location
- resources.systemapks.resources.variants.methods.list.parameters.packageName.required
- resources.systemapks.resources.variants.methods.list.parameters.packageName.type
- resources.systemapks.resources.variants.methods.list.parameters.versionCode.description
- resources.systemapks.resources.variants.methods.list.parameters.versionCode.format
- resources.systemapks.resources.variants.methods.list.parameters.versionCode.location
- resources.systemapks.resources.variants.methods.list.parameters.versionCode.required
- resources.systemapks.resources.variants.methods.list.parameters.versionCode.type
- resources.systemapks.resources.variants.methods.list.path
- resources.systemapks.resources.variants.methods.list.response.$ref
- resources.systemapks.resources.variants.methods.list.scopes
- schemas.DeviceSpec.description
- schemas.DeviceSpec.id
- schemas.DeviceSpec.properties.screenDensity.description
- schemas.DeviceSpec.properties.screenDensity.format
- schemas.DeviceSpec.properties.screenDensity.type
- schemas.DeviceSpec.properties.supportedAbis.description
- schemas.DeviceSpec.properties.supportedAbis.items.type
- schemas.DeviceSpec.properties.supportedAbis.type
- schemas.DeviceSpec.properties.supportedLocales.description
- schemas.DeviceSpec.properties.supportedLocales.items.type
- schemas.DeviceSpec.properties.supportedLocales.type
- schemas.DeviceSpec.type
- schemas.SystemApksListResponse.description
- schemas.SystemApksListResponse.id
- schemas.SystemApksListResponse.properties.variants.description
- schemas.SystemApksListResponse.properties.variants.items.$ref
- schemas.SystemApksListResponse.properties.variants.type
- schemas.SystemApksListResponse.type
- schemas.Variant.description
- schemas.Variant.id
- schemas.Variant.properties.deviceSpec.$ref
- schemas.Variant.properties.deviceSpec.description
- schemas.Variant.properties.variantId.description
- schemas.Variant.properties.variantId.format
- schemas.Variant.properties.variantId.type
- schemas.Variant.type

The following keys were changed:
- batchPath
- resources.edits.resources.deobfuscationfiles.methods.upload.mediaUpload.maxSize
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 265d4c0 commit a39978c
Show file tree
Hide file tree
Showing 3 changed files with 881 additions and 4 deletions.
216 changes: 213 additions & 3 deletions discovery/androidpublisher-v3.json
Expand Up @@ -10,7 +10,7 @@
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/androidpublisher",
"batchPath": "batch/androidpublisher/v3",
"canonicalName": "Android Publisher",
"description": "Lets Android application developers access their Google Play accounts.",
"discoveryVersion": "v1",
Expand Down Expand Up @@ -465,7 +465,7 @@
"accept": [
"application/octet-stream"
],
"maxSize": "31457280",
"maxSize": "314572800",
"protocols": {
"simple": {
"multipart": true,
Expand Down Expand Up @@ -2422,9 +2422,163 @@
]
}
}
},
"systemapks": {
"resources": {
"variants": {
"methods": {
"create": {
"description": "Creates an APK which is suitable for inclusion in a system image from an\nalready 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\nin 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": "20200607",
"revision": "20200709",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Apk": {
Expand Down Expand Up @@ -2710,6 +2864,32 @@
},
"type": "object"
},
"DeviceSpec": {
"description": "The device spec used to generate a system APK.",
"id": "DeviceSpec",
"properties": {
"screenDensity": {
"description": "Screen dpi.",
"format": "uint32",
"type": "integer"
},
"supportedAbis": {
"description": "Supported ABI architectures in the order of preference.\nThe values should be the string as reported by the platform, e.g.\n\"armeabi-v7a\", \"x86_64\".",
"items": {
"type": "string"
},
"type": "array"
},
"supportedLocales": {
"description": "All installed locales represented as BCP-47 strings, e.g. \"en-US\".",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ExpansionFile": {
"description": "An expansion file. The resource for ExpansionFilesService.",
"id": "ExpansionFile",
Expand Down Expand Up @@ -3522,6 +3702,20 @@
},
"type": "object"
},
"SystemApksListResponse": {
"description": "Response to list previously created system APK variants.",
"id": "SystemApksListResponse",
"properties": {
"variants": {
"description": "All system APK variants created.",
"items": {
"$ref": "Variant"
},
"type": "array"
}
},
"type": "object"
},
"Testers": {
"description": "The testers of an app. The resource for TestersService.",
"id": "Testers",
Expand Down Expand Up @@ -3737,6 +3931,22 @@
},
"type": "object"
},
"Variant": {
"description": "APK that is suitable for inclusion in a system image. The resource of\nSystemApksService.",
"id": "Variant",
"properties": {
"deviceSpec": {
"$ref": "DeviceSpec",
"description": "The device spec used to generate the APK."
},
"variantId": {
"description": "Output only. The ID of a previously created system APK variant.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"VoidedPurchase": {
"description": "A VoidedPurchase resource indicates a purchase that was either\ncanceled/refunded/charged-back.",
"id": "VoidedPurchase",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidpublisher/README.md
Expand Up @@ -2,7 +2,7 @@

# androidpublisher

> Accesses Android application developers' Google Play accounts.
> Lets Android application developers access their Google Play accounts.
## Installation

Expand Down

0 comments on commit a39978c

Please sign in to comment.