v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1351142229.7 KB
projects

Create a curation resource in the API hub. Once a curation resource is created, plugin instances can start using it.

post/v1/{+parent}/curations

Path parameters

parentstring required

Required. The parent resource for the curation resource. Format: projects/{project}/locations/{location}

Query parameters

curationIdstring

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[0-9]-_/.

Request body

createTimestring google-datetime

Output only. The time at which the curation was created.

updateTimestring google-datetime

Output only. The time at which the curation was last updated.

namestring

Identifier. The name of the curation. Format: projects/{project}/locations/{location}/curations/{curation}

lastExecutionErrorCode'ERROR_CODE_UNSPECIFIED' | 'INTERNAL_ERROR' | 'UNAUTHORIZED'

Output only. The error code of the last execution of the curation. The error code is populated only when the last execution state is failed.

descriptionstring

Optional. The description of the curation.

lastExecutionState'LAST_EXECUTION_STATE_UNSPECIFIED' | 'SUCCEEDED' | 'FAILED'

Output only. The last execution state of the curation.

displayNamestring

Required. The display name of the curation.

lastExecutionErrorMessagestring

Output only. Error message describing the failure, if any, during the last execution of the curation.

Response

Successful response