Jakob_WMDE renamed this task from Create an initial implementation of GET /entities/items/{item_id}/statements/{statement_id} to 🟦️ Create an initial implementation of GET /entities/items/{item_id}/statements/{statement_id}.Apr 29 2022, 2:35 PM2022-04-29 14:35:23 (UTC+0)
we can respond with an error if the item does not exist in the use case, which means we can fully reuse GetItemStatement
Tasks:
create a new validator for the use case request (new or adjusted existing one) that contains both the item id and statement id (@Jakob_WMDE creates task)
return error response in use case when item does not exist (@Ollie.Shotton_WMDE creates task)