Method: accounts.icons.list

  • This document details the HTTP request, path parameters, request body, response body, and authorization scopes for returning the Icons associated with a partner account.

  • The request is a GET request to the URL https://travelpartner.googleapis.com/v3/{parent=accounts/*}/icons and requires the parent path parameter, which is the resource name of the partner account.

  • The request body for this operation must be empty.

  • The response body, if successful, contains a JSON object with an array field named icons, which lists all icons for the queried partner account.

  • The required authorization scope is https://www.googleapis.com/auth/travelpartner.

Returns the Icons 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

string

Required. The resource name of the queried partner account. The format is accounts/{account_id}.

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 (Icon)
    }
  ]
}
Fields
icons[]

object (Icon)

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.