I have been reading up on the Chatter API. I am trying to use the Chatter API to search through a users Chatter items: Feed, People, Groups, Files.
After OAuth authentication, I can successfully do a GET to the following to get Feed, People, and Group results for a user:
/services/data/v34.0/chatter/feed-elements?q=Hello
/services/data/v34.0/chatter/users?q=John
/services/data/v34.0/chatter/groups?q=Sales
However, I cannot seem to figure out a way to search through the Files in the Chatter account. The following does not work:
/services/data/v34.0/chatter/files?q=test_plan
I have read through the documentation (https://resources.docs.salesforce.com/196/latest/en-us/sfdc/pdf/salesforce_chatter_rest_api.pdf) but could not figure how to search for files. What am I missing here?