-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Let's assume we have an API that returns a list of entities. But list is paginated; so it has several helpful fields, and entity data itself is stored in separate key, say, results. It could look like this:
{
"next": null,
"previous": null,
"total": 3,
"per_page": 100,
"results": [
{
"entity_id": 1,
"datetime_stored": "2020-01-16T14:48:46.897379Z"
},
{
"entity_id": 2,
"datetime_stored": "2020-01-16T15:02:30.430281Z"
},
{
"entity_id": 3,
"datetime_stored": "2020-01-16T15:03:15.315064Z"
}
]
}What is the proper way for writing index for this?
Metadata
Metadata
Assignees
Labels
No labels