Skip to content

Include links.related #253

@krzkrzkrz

Description

@krzkrzkrz

How do I include links.related for every relationship?

The same for every compound document

What I'm referring to is something like:

"attributes": {
  ...
},
"relationships": {
  "comments": {
    "links": {
      "related": "http://localhost/api/v1/users/1/comments"
    },
    "data": {
      "type": "comments",
      "id": 115
    }
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions