Timeline for How to get different resources in a single endpoint in RESTful?
Current License: CC BY-SA 3.0
Post Revisions
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 22, 2013 at 11:53 | vote | accept | alejandromp | ||
| Jun 23, 2013 at 17:17 | answer | added | Martin Wickman | timeline score: 7 | |
| May 24, 2013 at 9:13 | answer | added | Bart van Ingen Schenau | timeline score: 5 | |
| May 23, 2013 at 7:14 | comment | added | alejandromp | I updated my question | |
| May 23, 2013 at 7:13 | history | edited | alejandromp | CC BY-SA 3.0 |
I try to explain the /recommendations endpoint that I want.
|
| May 22, 2013 at 22:36 | answer | added | imel96 | timeline score: 2 | |
| May 22, 2013 at 21:56 | comment | added | hanzolo | What type of idea is Recommendations supposed to be expressing? It seems that there must be a structured result set like: Recommendations.users and Recommendations.companies for example. If you could elaborate on "recommendations" that will be helpful | |
| May 22, 2013 at 21:35 | comment | added | Charles Lindbergh | Do companies and users have any relation? Could this be as simple as something like /company/(:x)/user/(:x)? | |
| May 22, 2013 at 21:09 | history | edited | gnat | CC BY-SA 3.0 |
clarification copied into post from comments
|
| May 22, 2013 at 20:35 | comment | added | alejandromp | I alredy have the /company endpoint, and the /user endpoint returning the corresponding objects. this is fine. but now I need some way to return an array with a combination of users and companies. | |
| May 22, 2013 at 20:05 | review | First posts | |||
| May 22, 2013 at 21:10 | |||||
| May 22, 2013 at 19:51 | comment | added | hanzolo | Will you end up with 3 endpoints: /Company, /User, /Recommendations ? And you're returning an array of serialized objects correct (i.e. some conforming structure)? Company should return a Company Structure, User a User Structure, and Recommendations a "Recommendations Structure"? other than a complex object, i'm not sure what your asking | |
| May 22, 2013 at 19:48 | history | asked | alejandromp | CC BY-SA 3.0 |