Method: genericobject.list
指定された発行者 ID のすべての汎用オブジェクトのリストを返します。
HTTP リクエスト
GET https://walletobjects.googleapis.com/walletobjects/v1/genericObject
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
classId |
string
オブジェクトがリストされるクラスの ID。
|
token |
string
maxResults が指定されているが、maxResults より多数のオブジェクトがリストに含まれる場合に、次の結果を取得するために使用します。たとえば、200 個のオブジェクトを含むリストがあり、maxResults を 20 に設定して list を呼び出すと、list は最初の 20 個のオブジェクトとトークンを返します。次の 20 個のオブジェクトを取得するには、maxResults を 20 に設定したトークンを使用してリストを再度呼び出します。
|
maxResults |
integer
リストから返される結果の最大数を示します。maxResults が定義されていない場合は、すべての結果が返されます。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
genericobject.list レスポンス。指定された発行者 ID のすべての汎用オブジェクトのリストが含まれます。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
resources[] |
object (GenericObject )
一覧表示リクエストに対応するリソース。
|
pagination |
object (Pagination )
レスポンスのページ分け。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-07 UTC。
[null,null,["最終更新日 2024-11-07 UTC。"],[[["Retrieves a paginated list of all generic objects associated with a specific issuer ID."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."],["The request is made using an HTTP GET to the `https://walletobjects.googleapis.com/walletobjects/v1/genericObject` endpoint."],["Filter results by class ID and control pagination using query parameters like `maxResults` and `token`."],["The response includes an array of `GenericObject` resources and pagination details."]]],["This API retrieves a list of generic objects for a specified issuer ID using a `GET` request to the provided URL. It supports query parameters: `classId` to filter by class, `token` for pagination, and `maxResults` to limit the number of returned objects. The request body must be empty. The successful response is in JSON format, containing an array of `resources` and `pagination` details. It requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]