API Sort by Expires At
Attempting to pull documents that are expiring soon. But the sort appears to work on every field (createdAt, updatedAt, releasedAt, views, name, etc) EXCEPT expiresAt. Anyone else experience this? Work arounds or fixes?
/api/v3/divisions/{{divisionId}}/assets.json?limit=10&sort=-expiresAt
-
Hi Chris,
Thanks for reaching out to the Community!
I ran this by the team here and it seems as the other fields are working with sort, this is a defect. A ticket has been filed with our engineering team. In the meantime, as a workaround, you could export the results, then sort on that field through the BI tool you are using or excel.
Hope this helps!
Mary0 -
Hello again! After checking with the team I wanted to circle back here as it sounds like there is actually only a handful of key values that allow support sorting, and expiresAt currently isn't one. Hopefully the workaround would still do the trick!
0
Please sign in to leave a comment.
Comments
2 comments