Rule for sortBy: a token (tokenProblem: not blank, no invisible, control or half
character) that is, once trimmed, the name of a field (letters, digits and _, not starting
with a digit). The API sorts by an entity field and answers anything else with HTTP 500
(last_name is not a valid value for sort_by), whose message hid a trailing space. The
value is sent trimmed (normalizeToken). Which fields sort is the API's to say (polls
not by id): that is left to it.
Rule for
sortBy: a token (tokenProblem: not blank, no invisible, control or half character) that is, once trimmed, the name of a field (letters, digits and_, not starting with a digit). The API sorts by an entity field and answers anything else with HTTP 500 (last_name is not a valid value for sort_by), whose message hid a trailing space. The value is sent trimmed (normalizeToken). Which fields sort is the API's to say (polls not byid): that is left to it.