How to get activities from a file with CURL

How can i make a request with CURL to get all the activities from a file ?
I’m used but i want to have only the activity from a file.
How can i do that ?

Thanks for your response

Best would be to find it out with your browser by opening the sidebar in the files app and checking the activity request

Hi Nick,
sorry but i don’t unterstant what you mean.
can you please explain waht your idea is ?