Skip to content

Id and link properties in /<uuid>/parents endpoint is wrong #164

@Syndesi

Description

@Syndesi

Example command:

curl http://localhost/45482998-274a-43d0-a466-f31d0b24cc0a/parents -H "Authorization: Bearer secret-token:PIPeJGUt7c00ENn8a5uDlc" | jq

Returns:

{
  "type": "_PartialCollection",
  "id": "/",
  "totalNodes": 1,
  "links": {
    "first": "/",
    "previous": null,
    "next": null,
    "last": "/"
  },
  "nodes": [],
  "relations": []
}

The links and id should contain the child's UUID.

/children and /related endpoints are affected as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAddressing unexpected issues.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions