Actions
Bug #25616
openAPI v2 returns json with empty sort parameter
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
When I make an API call to a path like `/api/v2/hosts` or `/api/v2/architectures` I am getting an empty value in the `sort` parameter.
Response example for `/api/v2/architectures`:
```
{
"total": 2,
"subtotal": 2,
"page": 1,
"per_page": 20,
"search": null,
"sort": {
"by": null,
"order": null
},
"results": [ ... ]
}
```
In the end, it is sorted by a default-scope but I can't know what was the default sorting scope.
No data to display
Actions