Method: networks.hubs.get

  • Retrieves detailed information about a specific network Hub.

  • Uses a GET request with the format https://middlemileoptimization.googleapis.com/v1/{name=networks/*/hubs/*} to access Hub details.

  • Requires specifying the Hub's network and name in the URL path.

  • Returns a Hub object containing the requested Hub's information upon successful retrieval.

Gets the details of a Hub.

HTTP request

GET https://middlemileoptimization.googleapis.com/v1/{name=networks/*/hubs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the hub to retrieve. Format: "networks/{network}/hubs/{hub}"

Request body

The request body must be empty.

Response body

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