Property | Description |
|---|---|
Endpoint | /api/v2/data-collections/<dataCollectionId> <dataCollectionId>: Required. Enter the system-generated unique identifier of the data collection that you want to modify. For more information about how you can use an API to get the system-generated unique identifier of a data collection, see Retrieve all data collections. To get the system-generated unique identifier of a data collection from the Data Marketplace user interface, open the data collection. The data collection page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/datacollection/25158afc-3dfb-44ef-8f3e-cec1e171d0f1?dtn=&tab=summary, the unique identifier is 25158afc-3dfb-44ef-8f3e-cec1e171d0f1. |
Method | PATCH |
Parameter | Description | Additional Information |
|---|---|---|
operation | Required. Specify the type of change you want to make to the data collection. Enter one of the following values:
| - |
segment | Required. Specify the type of details that you want the API request to modify. Enter one of the following values:
| - |
name | Optional. Enter a name for the data collection. | Ensure that you enter a unique value. Data Marketplace doesn't consider the letter case when it verifies the uniqueness of the name parameter's value. For example, if you try to name a category as "Retail Department" while a category called "Retail department" already exists, the API call fails. |
description | Optional. Enter a description for the data collection. | - |
externalId | Optional. Enter a reference identifier for the data collection. | If you don't specify a reference identifier, Data Marketplace automatically assigns a unique value to the item. The reference identifier that Data Marketplace automatically generates contains a prefix. The administrator can specify the prefix of the automatically generated reference identifier in Metadata Command Center. If you want to specify a reference identifier, ensure that you enter a unique value. Ensure that you don't use the prefix value that is configured in Metadata Command Center. |
status | Optional. Specify a status for the data collection. The status determines whether the data collection is discoverable to Data Users. Enter one of the following values:
| |
customAttributes | Specify the custom attribute values for the data collection or modify the values that are already specified for the custom attribute. | Whether you must enter a value in a custom attribute or not is determined by how the custom attribute was defined by your administrator in Metadata Command Center. Custom attributes are additional properties for Data Marketplace items that are defined by your administrator in Metadata Command Center. For more information about custom attributes, see the Create custom attributes for items topic in the Set Up Data Marketplace help. |
customAttributes > value | Enter the updated value for the custom attribute. | - |
customAttributes > id | Enter the system-generated unique identifier of the custom attribute that you want to modify. | For more information about how you can retrieve the system-generated unique identifier of a custom attribute, see Retrieve custom attributes. |
stakeholdership > stakeholderId | Optional. Enter the system-generated unique identifier of the user account or user group that you want to assign as a stakeholder for the data collection. |
For example, in the URL /cloudUI/products/administer/main/usersAsset/0LH3xBJC9A6haZ26htGZyT, the unique identifier is 0LH3xBJC9A6haZ26htGZyT. For example, in the URL /cloudUI/products/administer/main/userGroupsAsset/90uizkSWg0ycuu7hSNXSW4, the unique identifier is 90uizkSWg0ycuu7hSNXSW4. |
stakeholdership > roleId | Optional. Enter the system-generated unique identifier of the user role that is assigned to the stakeholder that you specified in the stakeholderId parameter. | If you specify a value for the stakeholderId parameter, ensure that you also specify a value for the roleId parameter. To get the system-generated unique identifier of a user role, navigate to My Services > Administrator > User Roles. On the User Roles page, click a user role. The user role page's URL contains the unique identifier. For example, in the URL /cloudUI/products/administer/main/userRolesAsset/90uizkSWg0ycuu7hSNXSW4, the unique identifier is 90uizkSWg0ycuu7hSNXSW4. |
usageContexts | Optional. Enter the system-generated unique identifier of the usage type that you want to use to specify the context in which you intend to use the data after you receive access to the collection. | For more information about how you can use an API to get the system-generated unique identifier of a usage type, see Retrieve usage type. |
termsOfUse | Optional. Enter the system-generated unique identifier of the terms of use that you want to associate with the data collection. | For more information about how you can use an API to get the system-generated unique identifier of a terms of use, see Retrieve terms of use. |
categoryId | Optional. The system-generated unique identifier of the category to which you want to move the data collection. | For more information about how you can use an API to get the system-generated unique identifier of a category, see Retrieve all categories. To get the system-generated unique identifier of a category from the Data Marketplace user interface, open the category. The category page's URL contains the system-generated unique identifier. For example, in the URL https://{{CDMP_URL}}/category/view?ac=67417f72-e5ab-44f0-add9-a1e412c1ce13&dtn=_AfterEBF%20may20, the system-generated unique identifier is 67417f72-e5ab-44f0-add9-a1e412c1ce13. |
Parameter | Description |
|---|---|
trackerJobId | System-generated identifier of the job that enables you to track the progress of the job in Metadata Command Center. For more information about jobs in Metadata Command Center, see the Administration help in Metadata Command Center. |
propagationJobId | System-generated identifier of the internal job that applies your changes to Data Marketplace . |