Standardise Query/Browse Assets REST API response

0 Likes

Standardise Query/Browse Assets REST API response

When browsing or querying assets using the REST API (GET /rest/asset/v1/landingPages.json || /rest/asset/v1/landingPage/{{id}}.json) , the response for the status key does not have the value approved with draft :

{
    "success": true,
    "errors": [],
    "requestId": "844f#18c89c040e5",
    "warnings": [],
    "result": [
        {
            "id": 10767,
            ...
            "status": "approved"
        }
    ]
}

 

but the status approved with draft is available in the reports via the UI - and annoyingly, the asset ID is not available in the UI reports

Capture.JPG

 

Please standardise the UI reports and REST API responses.