Python: how to retrieve all objectIDs

Hi
is there a way to retrieve all objectIDs from a certain Index using Python ?
I tried with

get_objects(attributes_to_retrieve="objectID")

but object_ids seems to be a mandatory parameter.
Any idea ?
Thanks
Nico