Create a curation resource in the API hub. Once a curation resource is created, plugin instances can start using it.
HTTP request
POST https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/curations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource for the curation resource. Format: |
Query parameters
Parameters | |
---|---|
curationId |
Optional. The ID to use for the curation resource, which will become the final component of the curations's resource name. This field is optional.
This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/. |
Request body
The request body contains an instance of Curation
.
Response body
If successful, the response body contains a newly created instance of Curation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform