Skip to content

Relationship links missing ids #33

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

Closed
jaredcnance opened this issue Feb 21, 2017 · 0 comments
Closed

Relationship links missing ids #33

jaredcnance opened this issue Feb 21, 2017 · 0 comments

Comments

@jaredcnance
Copy link
Contributor

Relationship links are fine for /todo-items/:id:

"owner": {
        "links": {
          "self": "http://localhost:5000/api/v1/todo-items/422/relationships/owner",
          "related": "http://localhost:5000/api/v1/todo-items/422/owner"
        }
      }

However, they are broken for /todo-items

"owner": {
          "links": {
            "self": "http://localhost:5000/api/v1/todo-items/relationships/owner",
            "related": "http://localhost:5000/api/v1/todo-items/owner"
          }
        }

and people/:id

"relationships": {
      "todo-items": {
        "links": {
          "self": "http://localhost:5000/api/v1/relationships/todo-items",
          "related": "http://localhost:5000/api/v1/todo-items"
        }
      }
    }
@jaredcnance jaredcnance changed the title Incorrect relationship links missing ids Relationship links missing ids Feb 21, 2017
@jaredcnance jaredcnance mentioned this issue Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant