How to get the activities from a file with CURL

Hi,
How can i make a request with CURL to get all the activities from a file ?
I’m used https://cloud.akgsoftware.de/ocs/v2.php/apps/activity/api/v2/activity but i want to have only the activity from a file.
How can i do that ?

Thanks for your response