Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing nested REST resources #178

Open
charles-effting opened this issue Mar 23, 2016 · 0 comments
Open

Accessing nested REST resources #178

charles-effting opened this issue Mar 23, 2016 · 0 comments

Comments

@charles-effting
Copy link

Hi there,

I'm working on an integration between the dstore/Rest with a RESTful server. However, I'm struggling to fetch resources such as "/authors/1/books", as the current dstore implementation just appends the "id" of a resource.

I can have a Rest store which fetches the authors, but I can't have a Rest store which fetches the books from a selected author. I'd like to have something like this in the "target" of the store: "/authors/{id}/books".

This looks very basic, but I don't get it the purpose of this architecture. That's why I'm asking: how is the correct approach to my case? Changing the REST API doesn't seem reasonable from my point of view.

Best regards,
Charles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant