Page MenuHomePhabricator

Provide data of all item's aliases
Open, Needs TriagePublic8 Estimated Story Points


GET /entities/items/{item_id}/aliases

The respective successful responses should present the relevant data in a structure being a subset of the response of GET /entities/items/{item_id}

Cases to consider:

  • if {item_id} is a redirect, the API should generate a 308 response redirecting to a respective path on the redirect target
  • if {item_id} does not exist, the API should generate a 404 response { "code": "item-not-found", "message": "Could not find an item with the ID: {item_id}" }
  • if {item_id} is not a valid item ID, the API should generate a 400 response { "code": "invalid-item-id", "message": "Not a valid item ID: {item_id}"}