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

Rest relationship route #8

Open
Thiryn opened this issue Apr 19, 2018 · 0 comments
Open

Rest relationship route #8

Thiryn opened this issue Apr 19, 2018 · 0 comments

Comments

@Thiryn
Copy link

Thiryn commented Apr 19, 2018

For a resource with relationships, it should be possible to get a relationship route

       "author": {
        "links": {
          "self": "http://example.com/articles/1/relationships/author",
          "related": "http://example.com/articles/1/author"
        },
        "data": { "type": "people", "id": "9" }
      }

At another extent, the JSONAPI does not provides any specifications on routing. I think it'd be nice if we could build REST routes for nested/related resources see this post to a better example of what I mean.

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