Property | Description |
---|---|
Endpoint | /api/v1/integration/dataCollections/dataAssets |
Method | PUT |
Parameter | Description | Additional Information |
---|---|---|
dataCollectionId | Required. Enter the system generated unique identifier of the data collection to which you want to add a data asset or from which you want to remove a data asset. | For more information about how you can use an API to get the system generated unique identifier of a data collection, see Retrieve data collections. To get the system generated unique identifier of a data collection from the Data Marketplace interface, open the data collection. The data collection page's URL contains the system generated unique identifier. For example, in the URL https://{{CDMP_URL}}/datacollection/25158afc-3dfb-44ef-8f3e-cec1e171d0f1?dtn=&tab=summary, the system generated unique identifier is 25158afc-3dfb-44ef-8f3e-cec1e171d0f1. |
assetId | Required. Enter the system generated unique identifier of the data asset that you want to add to a data collection or remove from a data collection. | For more information about how you can use an API to get the system generated unique identifier of a Data Marketplace data asset, see Retrieve data assets. To get the system generated unique identifier of a data asset from the Data Marketplace interface, open the data asset. The data asset page's URL contains the system generated unique identifier. For example, in the URL https://{{CDMP_URL}}/dataAsset/8c4c2089-6c7e-4696-a8f6-44f87639d65c?dtn=Table_Profiling_AK_1676302415587&tab=dataElements, the system generated unique identifier is 8c4c2089-6c7e-4696-a8f6-44f87639d65c. For more information about how you can use an API to get the system generated unique identifier of a Data Governance and Catalog asset, see the Data Governance and Catalog help. When you add a Data Governance and Catalog asset to a data collection, the Overview page of the asset in Data Governance and Catalog indicates that the asset is published to Data Marketplace. Additionally, you can view in Data Governance and Catalog the details of the data collection to which the asset was added. |
operation | Required. Specify the action that you want to perform. | Enter one of the following values:
|