Method: networks.sites.get

  • This document provides details on how to retrieve a Site object using a GET HTTP request.

  • The request requires a name parameter in the URL path, formatted as networks/{networkCode}/sites/{site_id}.

  • The request body must be empty.

  • A successful response will contain a Site object.

  • The request requires the https://www.googleapis.com/auth/admanager authorization scope.

API to retrieve a Site object.

HTTP request

GET https://admanager.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The resource name of the Site. Format: networks/{networkCode}/sites/{site_id}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Site.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.