Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Sort on REST API by `createdTime` without adding new Column

Topic Labels: API
502 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to request results from the REST be sorted by the createdTime (which is returned on the payload) without needing to add a new column to the table? i.e. right now if I pass createdTime to sort, I get back an error: [Error: {\'type\': \'UNKNOWN_FIELD_NAME\', \'message\': \'Unknown field name: "createdTime"\'}]

1 Reply 1

Not currently. The sort parameters for the REST API only expect fields, so you need a field that contains the created time. It is a handy field to have around anyway.