Method: edits.images.deleteall
删除指定语言和图像类型的所有图像。如果未找到任何图像,则返回空响应。
HTTP 请求
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
网址采用 gRPC 转码语法。
路径参数
参数 |
packageName |
string
应用的软件包名称。
|
editId |
string
编辑的标识符。
|
language |
string
本地化语言代码(BCP-47 语言标记;例如:“de-AT”表示奥地利德语)。提供应用不支持的语言是一项空操作。
|
imageType |
enum (AppImageType )
图片的类型。提供没有任何匹配图像的图像类型是一项空操作。
|
响应正文
对删除所有图像的请求做出的响应。
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"deleted": [
{
object (Image )
}
]
} |
字段 |
deleted[] |
object (Image )
删除的图像。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidpublisher
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-17。
[null,null,["最后更新时间 (UTC):2024-12-17。"],[[["Deletes all images for a specified language and image type within an app's edit."],["Requires providing the package name, edit ID, language code, and image type in the request."],["Uses an HTTP DELETE request with no request body and an empty response for success."],["Authorization is needed with the `https://www.googleapis.com/auth/androidpublisher` scope."],["The response may contain a list of deleted images if any were found."]]],["The content details deleting all images of a specific type and language for an app. It uses a `DELETE` HTTP request to a specific URL, defined by `packageName`, `editId`, `language`, and `imageType`. The request body must be empty. A successful response provides a JSON array detailing the deleted images. The process requires `androidpublisher` authorization and uses gRPC Transcoding. The request is a no-op if the input language or image type refers to no existing image.\n"]]