AI-generated Key Takeaways
-
This API retrieves icons associated with a specific partner account using an HTTP GET request.
-
The request requires authorization with the
https://www.googleapis.com/auth/travelpartner
scope and an empty request body. -
The response provides a list of icons in JSON format, each represented by the
Icon
object. -
To use the API, provide the partner account ID in the URL path as a path parameter named
parent
.
Returns the Icon
s for a partner account.
HTTP request
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/icons
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the queried partner account. The format is |
Request body
The request body must be empty.
Response body
Response message for IconService.ListIcons
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"icons": [
{
object ( |
Fields | |
---|---|
icons[] |
A list of all icons associated with the queried partner account. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.