API Reference get observations 'date_added' should be 'created_at'

The API reference page https://www.inaturalist.org/pages/api+reference#get-observations indicates that the parameter ‘order_by’ for ‘get observations’ has allowed values ‘observed_on’ and ‘date_added’. In fact it appears ‘date_added’ should actually read ‘created_at’, which is what is used in the other API docs at https://api.inaturalist.org/v1/docs/#!/Observations/get_observations.

I am using pyinaturalist’s get_observations() function, and confusingly, since ‘created_at’ is the default, passing the value ‘date_added’ for the ‘order_by’ parameter does return observations sorted by the date added. However, I am also passing the value ‘asc’ for the parameter ‘order’, and this is ignored when using ‘date_added’ (the results are returned using the default descending order’).

edit: To be clear, get_observations() is now working exactly as I need it, when I use ‘created_at’ instead of ‘date_added’. So, not so much a bug in the API as some confusion in the docs

there does seem to be a minor documentation error for the old (deprecated) API.

that said, as far as i can tell, pyinaturalist does offer a way to hit the current (Node-based) v1 API. so unless there’s specific functionality that only the old API offers, maybe you should be using from pyinaturalist.node_api import get_all_observations instead of
from pyinaturalist.rest_api import get_observations?

… if there is in fact functionality that you’re using that exists only in the old API, it might be worth pointing out what that functionality is and asking the staff to replicate it in the newer APIs, since i assume the old API will be retired at some point…