Page MenuHomePhabricator

Provide data of all item's labels, descriptions and aliases
Closed, ResolvedPublic8 Estimated Story Points



GET /entities/items/{item_id}/labels
GET /entities/items/{item_id}/descriptions
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}"}

Event Timeline

Silvan_WMDE set the point value for this task to 8.Nov 18 2022, 10:02 AM
WMDE-leszek edited projects, added Epic; removed Story.