Model Information REST API | Description |
---|---|
GET data/objects/{id}/comments | Lists all the comments |
POST data/objects/{id}/comments | Creates a top-level comment for an object |
GET data/objects/{id}/comments/{commentId} | Lists a specific comment for an object |
PUT data/objects/{id}/comments/{commentId} | Updates a specific comment for an object |
DELETE data/objects/{id}/comments/{commentId} | Deletes a specific comment for an object |
GET data/objects/{id}/comments/{commentId}/replies | Lists all the replies to a comment |
POST data/objects/{id}/comments/{commentId}/replies | Creates a reply for a comment |
GET data/objects/{id}/comments/{commentId}/replies/{replyId} | Lists the reply for a specific comment |
PUT data/objects/{id}/comments/{commentId}/replies/{replyId} | Updates a reply for a specific comment |
DELETE data/objects/{id}/comments/{commentId}/replies/{replyId} | Deletes a reply for a specific comment |
GET data/objects/{id}/comments/{commentId}/reply/{replyId}/vote | Lists the aggregated votes for a reply |
POST data/objects/{id}/comments/{commentId}/reply/{replyId}/vote | Updates the vote for a specific reply |
DELETE data/objects/{id}/comments/{commentId}/reply/{replyId}/vote | Deletes the vote for a specific reply |
GET data/objects/{id}/comments/{commentId}/vote | Lists the aggregated votes for a comment |
POST data/objects/{id}/comments/{commentId}/vote | Updates the vote for a specific comment |
DELETE data/objects/{id}/comments/{commentId}/vote | Deletes the vote for a specific comment |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments |
HTTP Method Type | GET |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
filter | Optional | Choose one of the following filters:
| Query | String |
sortOn | Optional | Choose TIMESTAMP to sort based on timestamp. | Query | String |
replyLimit | Optional | Limits the number of replies to a comment. | Query | Integer |
offset | Optional | The offset position from which the API lists the comments. Default is 0. | Query | Integer |
pageSize | Optional | The number of results to be display in a page. Default is 20. | Query | Integer |
Code | Reason |
---|---|
200 | Requested comment sent through API response. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments |
HTTP Method Type | POST |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
object | Required | Enter the following parameters as necessary:
| Body | - |
Code | Reason |
---|---|
201 | Created a comment for the specified object. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId} |
HTTP Method Type | GET |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
Code | Reason |
---|---|
200 | Requested comment sent through API response. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId} |
HTTP Method Type | PUT |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of a data object. | Path | String |
commentId | Required | The ID of a comment. | Path | String |
object | Required | Enter the following parameters as necessary:
| Body | - |
If-Match | Optional | Identify the ETag for the resource. Enterprise Data Catalog does not update the resource if the ETag for the resource has changed. | Header | String |
Code | Reason |
---|---|
200 | Updated the comment. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId} |
HTTP Method Type | DELETE |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
Code | Reason |
---|---|
200 | Deleted the replies for the specified comment. |
204 | No content to display. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/replies |
HTTP Method Type | GET |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
sortOn | Optional | Choose one of the following parameters to sort the comments:
| Query | String |
offset | Optional | The offset position from which the API lists the comments. Default is 0. | Query | Integer |
pageSize | Optional | The number of results to display in a page. Default is 20. | Query | Integer |
Code | Reason |
---|---|
200 | Listed all the replies for the specified comment. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/replies |
HTTP Method Type | POST |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
object | Required | Enter the reply text. | Body | - |
Code | Reason |
---|---|
201 | Created a reply for the comment. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/replies/{replyId} |
HTTP Method Type | GET |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
replyId | Required | The ID of the reply. | Path | String |
Code | Reason |
---|---|
200 | Listed the specified reply. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/replies/{replyId} |
HTTP Method Type | PUT |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of a comment. | Path | String |
replyId | Required | The ID of a reply. | Path | String |
object | Required | Enter the reply text. | Body | - |
If-Match | Optional | Identify the ETag for the resource. Enterprise Data Catalog does not update the resource if the ETag for the resource has changed. | Header | String |
Code | Reason |
---|---|
201 | Updated the reply. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/replies/{replyId} |
HTTP Method Type | DELETE |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
replyId | Required | The ID of the reply. | Path | String |
Code | Reason |
---|---|
200 | Deleted the specified reply. |
204 | No content to display. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/reply/{replyId}/vote |
HTTP Method Type | GET |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
replyId | Required | The ID of the reply. | Path | String |
Code | Reason |
---|---|
200 | Requested reply sent through API response. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/reply/{replyId}/vote |
HTTP Method Type | POST |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
replyId | Required | The ID of the reply. | Path | String |
object | Required | Enter a brief description for the parameter voteKind. | Body | - |
Code | Reason |
---|---|
201 | Created a vote for the specified reply to a comment. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/reply/{replyId}/vote |
HTTP Method Type | DELETE |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
replyId | Required | The ID of the reply. | Path | String |
Code | Reason |
---|---|
200 | Deleted the vote for the specified reply. |
204 | No content to display. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/vote |
HTTP Method Type | GET |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
Code | Reason |
---|---|
200 | Requested comment sent through API response. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/vote |
HTTP Method Type | POST |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
object | Required | Enter HELPFUL or NOT_HELPFUL as voteKind. | Body | - |
Code | Reason |
---|---|
201 | Created a vote for the specified comment. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |
REST API Element | Input Format |
---|---|
Request URL | <CatalogAdmin>:<port>/access/2/catalog/data/objects/{id}/comments/{commentId}/vote |
HTTP Method Type | DELETE |
Parameter | Required or Optional | Description | Parameter Type | Data Type |
---|---|---|---|---|
id | Required | The ID of the data object. | Path | String |
commentId | Required | The ID of the comment. | Path | String |
Code | Reason |
---|---|
200 | Deleted the vote for the comment. |
204 | No content to display. |
400 | Missing or invalid parameter. |
401 | Missing credentials. |
403 | User does not have the required access permissions. |
404 | Requested object not found. |
412 | Conflicting edit detected. |
429 | Rate limit for requests encountered. |