Method: edits.images.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
packageName |
string
應用程式的套件名稱。
|
editId |
string
編輯內容的 ID。
|
language |
string
語言本地化程式碼 (BCP-47 語言標記,例如奧地利德文的「de-AT」)。必須有指定語言的商店資訊。
|
imageType |
enum (AppImageType )
圖片的類型。如果提供未參照任何圖片的圖片類型,就會傳回空白回應。
|
回應主體
列出所有圖片的回應。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"images": [
{
object (Image )
}
]
} |
欄位 |
images[] |
object (Image )
所有列出的圖片。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eLists all images for a specific app, edit, language, and image type.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing package name, edit ID, language code, and image type in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and the response contains a list of images (which might be empty).\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This outlines the process of listing images for an Android app using an HTTP GET request. The request URL requires four path parameters: `packageName`, `editId`, `language`, and `imageType`. The request body must be empty. A successful response returns a JSON object containing an array of `images`. Each image's details are found within this array. This action requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope. The documentation contains the types of the variables used.\n"],null,["# Method: edits.images.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ImagesListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists all images. The response may be empty.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `editId` | `string` Identifier of the edit. |\n| `language` | `string` Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). There must be a store listing for the specified language. |\n| `imageType` | `enum (`[AppImageType](/android-publisher/api-ref/rest/v3/AppImageType)`)` Type of the Image. Providing an image type that refers to no images will return an empty response. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse listing all images.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------|\n| ``` { \"images\": [ { object (/android-publisher/api-ref/rest/v3/edits.images#Image) } ] } ``` |\n\n| Fields ||\n|------------|------------------------------------------------------------------------------------------------|\n| `images[]` | `object (`[Image](/android-publisher/api-ref/rest/v3/edits.images#Image)`)` All listed Images. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]