Create a New Data Contract
Create a new data contract. The request body must contain a valid DataContract object. Returns the created contract.
Request Body — REQUIRED DataContract object to create. | |||||
---|---|---|---|---|---|
specVersion string | |||||
catalogURL string | |||||
termsAndConditions object
| |||||
stakeholders object
| |||||
notifications object
| |||||
sampleValues string[] | |||||
usageInfo string | |||||
json string | |||||
version string | |||||
active boolean | |||||
assetCreatedDate date-time | |||||
assetUpdatedDate date-time | |||||
createdTime int64 | |||||
updatedTime int64 | |||||
createdBy string | |||||
updatedBy string | |||||
owner string | |||||
tags string[] | |||||
id int32 | |||||
name string | |||||
description string | |||||
datasetId string | |||||
columns string | |||||
successMsg string | |||||
failureMsg string | |||||
onboardingStatus stringPossible values: [ | |||||
executionStatus stringPossible values: [ | |||||
criticalityLevel stringPossible values: [ |
Responses | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201 Data contract created successfully.
| |||||||||||||||||||||||||||||||||||||||||
400 Malformed request or invalid data contract. | |||||||||||||||||||||||||||||||||||||||||
401 Unauthorized. Authentication required. | |||||||||||||||||||||||||||||||||||||||||
409 A contract with the same name already exists for the dataset. |