Method: namespaces.routes.get

Rpc to get information about a route.

HTTP request

GET https://run.googleapis.com/apis/serving.knative.dev/v1alpha1/{name}

Path parameters

Parameters
name

string

The name of the route being retrieved. If needed, replace {namespace_id} with the project ID. It takes the form namespaces/{namespace_id}/routes/{route_id}.

Authorization requires the following Google IAM permission on the specified resource name:

  • run.routes.get

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

Kunde den här sidan hjälpa dig? Berätta:

Skicka feedback om ...