Project: usergrid
Issue USERGRID-30: /collection/id/connected/* paths should either return an entity, an empty set or a 404
"Not clear what that path is supposed to do but itÕs accepted, and always returns an empty set of results or an error Examples: curl http://api.usergrid.com/fdsafdsa/sandbox/users/tim/connected/followers => returns empty set despite follower relationships existing curl http://api.usergrid.com/fdsafdsa/sandbox/users/tim/connected/users => returns empty set despite users being connected curl http://api.usergrid.com/fdsafdsa/sandbox/users/tim/connected/d2740256-e312-11e1-ad17-12313d2b9232 => returns an error despite an entity with that UUID being connected 1. Either we should accept a name or uuid at the end, and return that entity if it exists in the ÒconnectedÓ entities, or a 404 if it does not exist in the list of connected entities 2. Or we should accept a relationship identifier there and return all connected entities through that identifier, or an empty set if there are none 3. Or we should accept a collection name / type there and return all connected entities of that type, or an empty set if there are none 4. Or you should tell me what is supposed to be provided there so we can put that in our docs and SDKs :p"
Story points: 3