Method: flightobject.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지정된 발급기관 ID의 모든 항공편 객체 목록을 반환합니다.
HTTP 요청
GET https://walletobjects.googleapis.com/walletobjects/v1/flightObject
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
classId |
string
객체가 나열될 클래스의 ID입니다.
|
token |
string
maxResults 을 지정했지만 목록에 maxResults 보다 많은 객체가 있을 경우 다음 결과 집합을 가져오는 데 사용됩니다. 예를 들어 목록에 200개의 객체가 있는데 maxResults 를 20으로 설정하여 list를 호출하면 처음 20개의 객체와 토큰 하나가 반환됩니다. 다음 20개 객체를 가져오려면 maxResults 를 20으로 설정하고 토큰을 사용하여 목록을 다시 호출합니다.
|
maxResults |
integer
목록에서 반환하는 최대 결과 수를 식별합니다. maxResults 를 정의하지 않으면 모든 결과가 반환됩니다.
|
응답 본문
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
필드 |
resources[] |
object (FlightObject )
목록 요청에 해당하는 리소스입니다.
|
pagination |
object (Pagination )
응답의 페이지로 나누기입니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/wallet_object.issuer
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis endpoint retrieves a list of all flight objects for a given issuer ID using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/wallet_object.issuer\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter results by class ID and control pagination with query parameters like \u003ccode\u003emaxResults\u003c/code\u003e and \u003ccode\u003etoken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of flight objects and pagination details in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty.\u003c/p\u003e\n"]]],["This outlines retrieving a list of flight objects via a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/flightObject`. Key actions include using `classId`, `token` for pagination, and `maxResults` to limit results in query parameters. The request body must be empty. Successful responses contain a JSON array of `FlightObject` resources and `Pagination` details. This process requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"],null,["# Method: flightobject.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FlightObjectListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns a list of all flight objects for a given issuer ID.\n\n### HTTP request\n\n`GET https://walletobjects.googleapis.com/walletobjects/v1/flightObject`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `classId` | `string` The ID of the class whose objects will be listed. |\n| `token` | `string` Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects. |\n| `maxResults` | `integer` Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"resources\": [ { object (/wallet/reference/rest/v1/flightobject#FlightObject) } ], \"pagination\": { object (/wallet/reference/rest/v1/Pagination) } } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `resources[]` | `object (`[FlightObject](/wallet/reference/rest/v1/flightobject#FlightObject)`)` Resources corresponding to the list request. |\n| `pagination` | `object (`[Pagination](/wallet/reference/rest/v1/Pagination)`)` Pagination of the response. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/wallet_object.issuer`"]]