The Game API have been updated so you can now list assets in the order that best suit your game using the /game/v1/assets/list
endpoint.
There are two new query parameters that can be sent.
order_by
which is the field you want to use for ordering your assets. Valid options are name
, created_at
, updated_at
, and id
.
order_direction
is the direction you want to order your assets. Valid options are ASC
and DESC
.