Method: organizations.sites.apidocs.create

Publishes an API to the portal.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the portal. Use the following structure in your request: organizations/{org}/sites/{site}

Request body

The request body contains an instance of ApiDocBody.

Response body

If successful, the response body contains a newly created instance of ApiDoc.

Authorization Scopes

Requires the following OAuth scope:

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