Method: organizations.sites.apidocs.snapshot

Uploads the contents of an OpenAPI Specification snapshot for a published API.

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*/sites/*/apidocs/*}/snapshot

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. ID of the published API. Use the following structure in your request: organizations/{org}/sites/{site}/apidocs/{apidoc}

Request body

The request body contains an instance of HttpBody.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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