Method: flightobject.get
Returns the flight object with the given object ID.
HTTP request
GET https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
resourceId |
string
The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of FlightObject
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/wallet_object.issuer
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-23 UTC.
[null,null,["Last updated 2024-10-23 UTC."],[[["Retrieves a flight object using its unique object ID."],["The request requires an empty body and uses the `GET` method with a specific URL structure."],["Successful responses return a FlightObject instance containing the requested information."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."],["The object ID should follow a specific format and include the issuer ID and a unique identifier."]]],["The core content describes how to retrieve a flight object using its unique ID. A `GET` request is sent to a specific URL, including the `resourceId` as a path parameter. This `resourceId` follows the format of `issuer ID.identifier`. The request body must be empty. A successful response returns a `FlightObject`. The operation requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The provided information uses gRPC Transcoding syntax.\n"]]