- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Used to modify a specified spec.
HTTP request
PATCH https://apigeeregistry.googleapis.com/v1/{apiSpec.name=projects/*/locations/*/apis/*/versions/*/specs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
apiSpec.name |
Resource name. |
Query parameters
Parameters | |
---|---|
updateMask |
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request. This is a comma-separated list of fully qualified names of fields. Example: |
allowMissing |
If set to true, and the spec is not found, a new spec will be created. In this situation, |
Request body
The request body contains an instance of ApiSpec
.
Response body
If successful, the response body contains an instance of ApiSpec
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform