Mandar Ambawane created ATLAS-4092:
--------------------------------------

             Summary: 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


{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)

Reply via email to