chore(json): fetch latest json and re-gen all code

This commit is contained in:
Sebastian Thiel
2016-12-16 11:25:26 +01:00
parent e04b6d023d
commit 06caa1de02
657 changed files with 237602 additions and 19201 deletions

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/UDk0LqlPPxkx5NU81sNZcbwgkD4\"",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/PcoD2XCBeKQPYDG0dclnfJ5T-Ho\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v2",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v2",
"revision": "20160817",
"revision": "20161212",
"title": "Google Play Developer API",
"description": "Lets Android application developers access their Google Play accounts.",
"ownerDomain": "google.com",
@@ -222,6 +222,26 @@
}
}
},
"DeobfuscationFile": {
"id": "DeobfuscationFile",
"type": "object",
"description": "Represents a deobfuscation file.",
"properties": {
"symbolType": {
"type": "string",
"description": "The type of the deobfuscation file."
}
}
},
"DeobfuscationFilesUploadResponse": {
"id": "DeobfuscationFilesUploadResponse",
"type": "object",
"properties": {
"deobfuscationFile": {
"$ref": "DeobfuscationFile"
}
}
},
"DeveloperComment": {
"id": "DeveloperComment",
"type": "object",
@@ -236,6 +256,61 @@
}
}
},
"DeviceMetadata": {
"id": "DeviceMetadata",
"type": "object",
"properties": {
"cpuMake": {
"type": "string",
"description": "Device CPU make e.g. \"Qualcomm\""
},
"cpuModel": {
"type": "string",
"description": "Device CPU model e.g. \"MSM8974\""
},
"deviceClass": {
"type": "string",
"description": "Device class (e.g. tablet)"
},
"glEsVersion": {
"type": "integer",
"description": "OpenGL version",
"format": "int32"
},
"manufacturer": {
"type": "string",
"description": "Device manufacturer (e.g. Motorola)"
},
"nativePlatform": {
"type": "string",
"description": "Comma separated list of native platforms (e.g. \"arm\", \"arm7\")"
},
"productName": {
"type": "string",
"description": "Device model name (e.g. Droid)"
},
"ramMb": {
"type": "integer",
"description": "Device RAM in Megabytes e.g. \"2048\"",
"format": "int32"
},
"screenDensityDpi": {
"type": "integer",
"description": "Screen density in DPI",
"format": "int32"
},
"screenHeightPx": {
"type": "integer",
"description": "Screen height in pixels",
"format": "int32"
},
"screenWidthPx": {
"type": "integer",
"description": "Screen width in pixels",
"format": "int32"
}
}
},
"Entitlement": {
"id": "Entitlement",
"type": "object",
@@ -1068,10 +1143,18 @@
"type": "string",
"description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent."
},
"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": {
"type": "string",
"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."
},
"reviewerLanguage": {
"type": "string",
"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."
@@ -1084,6 +1167,60 @@
"text": {
"type": "string",
"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."
},
"thumbsDownCount": {
"type": "integer",
"description": "Number of users who have given this review a thumbs down",
"format": "int32"
},
"thumbsUpCount": {
"type": "integer",
"description": "Number of users who have given this review a thumbs up",
"format": "int32"
}
}
},
"VoidedPurchase": {
"id": "VoidedPurchase",
"type": "object",
"description": "A VoidedPurchase resource indicates the purchase was either cancelled/refunded/charged-back.",
"properties": {
"kind": {
"type": "string",
"description": "This kind represents a voided purchase object in the androidpublisher service.",
"default": "androidpublisher#voidedPurchase"
},
"purchaseTimeMillis": {
"type": "string",
"description": "The time the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64"
},
"purchaseToken": {
"type": "string",
"description": "The token that was generated when a purchase was made and uniquely identifies a purchase."
},
"voidedTimeMillis": {
"type": "string",
"description": "The time when the purchase was cancelled/refunded/chargeback, in milliseconds since the epoch (Jan 1, 1970).",
"format": "int64"
}
}
},
"VoidedPurchasesListResponse": {
"id": "VoidedPurchasesListResponse",
"type": "object",
"properties": {
"pageInfo": {
"$ref": "PageInfo"
},
"tokenPagination": {
"$ref": "TokenPagination"
},
"voidedPurchases": {
"type": "array",
"items": {
"$ref": "VoidedPurchase"
}
}
}
}
@@ -1609,6 +1746,77 @@
}
}
},
"deobfuscationfiles": {
"methods": {
"upload": {
"id": "androidpublisher.edits.deobfuscationfiles.upload",
"path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}",
"httpMethod": "POST",
"description": "Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.",
"parameters": {
"apkVersionCode": {
"type": "integer",
"description": "The version code of the APK whose deobfuscation file is being uploaded.",
"required": true,
"format": "int32",
"location": "path"
},
"deobfuscationFileType": {
"type": "string",
"required": true,
"enum": [
"proguard"
],
"enumDescriptions": [
""
],
"location": "path"
},
"editId": {
"type": "string",
"description": "Unique identifier for this edit.",
"required": true,
"location": "path"
},
"packageName": {
"type": "string",
"description": "Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, \"com.spiffygame\".",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"packageName",
"editId",
"apkVersionCode",
"deobfuscationFileType"
],
"response": {
"$ref": "DeobfuscationFilesUploadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
],
"supportsMediaUpload": true,
"mediaUpload": {
"accept": [
"application/octet-stream"
],
"maxSize": "300MB",
"protocols": {
"simple": {
"multipart": true,
"path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
},
"resumable": {
"multipart": true,
"path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}"
}
}
}
}
}
},
"details": {
"methods": {
"get": {
@@ -3267,6 +3475,59 @@
]
}
}
},
"voidedpurchases": {
"methods": {
"list": {
"id": "androidpublisher.purchases.voidedpurchases.list",
"path": "{packageName}/purchases/voidedpurchases",
"httpMethod": "GET",
"description": "Lists the purchases that were cancelled, refunded or charged-back.",
"parameters": {
"endTime": {
"type": "string",
"description": "The end time of list window, in milliseconds since the epoch (Jan 1, 1970). If not specified, default to current time, which is also the latest accepted end time. This parameter will be ignored if pagination token is set.",
"format": "int64",
"location": "query"
},
"maxResults": {
"type": "integer",
"format": "uint32",
"location": "query"
},
"packageName": {
"type": "string",
"description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
"required": true,
"location": "path"
},
"startIndex": {
"type": "integer",
"format": "uint32",
"location": "query"
},
"startTime": {
"type": "string",
"description": "The start time of list window, in milliseconds since the epoch (Jan 1, 1970). If not specified, default to current time - 30 days, which is also the earlies accepted start time. This parameter will be ignored if pagination token is set.",
"format": "int64",
"location": "query"
},
"token": {
"type": "string",
"location": "query"
}
},
"parameterOrder": [
"packageName"
],
"response": {
"$ref": "VoidedPurchasesListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
},
@@ -3288,6 +3549,10 @@
"type": "string",
"required": true,
"location": "path"
},
"translationLanguage": {
"type": "string",
"location": "query"
}
},
"parameterOrder": [
@@ -3326,6 +3591,10 @@
"token": {
"type": "string",
"location": "query"
},
"translationLanguage": {
"type": "string",
"location": "query"
}
},
"parameterOrder": [