Send feedback
Method: projects.locations.curations.create
Stay organized with collections
Save and categorize content based on your preferences.
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
string
Required. The parent resource for the curation resource. Format: projects/{project}/locations/{location}
Query parameters
Parameters
curationId
string
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.
If provided, the same will be used. The service will throw an error if the specified ID is already used by another curation resource in the API hub.
If not provided, a system generated ID will be used.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-02 UTC."],[],[]]