To query my organization, I usually use this REST route. However, I receive records from both my organization and communities. I would like to scope my query to a specific community. I tried following directives from here but as you can see, this is from the Chatter API documentation and seems to only work with Chatter routes.
I authenticated with a "Modify All Data" profile to the community login endpoint and performed the request:
https://enterpriseeditiontest.force.com/services/data/v31.0/connect/communities/[Id]/soql?q=...
And the API returns:
[
{
"errorCode": "NOT_FOUND",
"message": "The requested resource does not exist"
}
]
Am I missing something?