[
https://issues.apache.org/jira/browse/ATLAS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17259523#comment-17259523
]
Nixon Rodrigues commented on ATLAS-4092:
----------------------------------------
+1 for the patch, thanks [~mandar_va]
> Remove unused attributes and add right attributes to the atlas admin audit api
> ------------------------------------------------------------------------------
>
> Key: ATLAS-4092
> URL: https://issues.apache.org/jira/browse/ATLAS-4092
> Project: Atlas
> Issue Type: Improvement
> Reporter: Mandar Ambawane
> Assignee: Mandar Ambawane
> Priority: Major
> Attachments: ATLAS-4092.patch
>
>
> {code:java|title=Sample payload:}
> {
> "currentPage": "page",
> "pageSize": "per_page",
> "totalPages": "total_pages",
> "totalRecords": "total_entries",
> "sortKey": "sort_by",
> "order": "order",
> "directions": {
> "1": "desc",
> "-1": "asc"
> },
> "auditFilters": {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "operation",
> "operator": "eq",
> "attributeValue": "TYPE_DEF_CREATE"
> }
> ]
> },
> "limit": 25,
> "offset": 0
> }
> {code}
> Here the following attributes do not work:
> {code}
> "sortKey": "sort_by",
> "order": "order",
> {code}
> Instead the following works
> {code}
> "sortBy" : "startTime",
> "sortOrder" : "DESCENDING",
> {code}
> sortKey and order has to be removed and sortBy and sortOrder has to be added
--
This message was sent by Atlassian Jira
(v8.3.4#803005)