Ollie.Shotton_WMDE created this task. Ollie.Shotton_WMDE added projects: Wikidata, Story, Patch-For-Review, Wikibase Product Platform (Sprint 2). Restricted Application removed a project: Patch-For-Review.
TASK DESCRIPTION **Story:** WHEN I request GET /entities/items/{item_id} AND provide the _fields parameter including the value which is not allowed THEN I get 400 HTTP response AND it contains a invalid-field code and a message "Not a valid field: {field}" AND a HTTP header Content-Language set to en **Tasks:** - use the validator to return a "failure" GetItemResult (with `isSuccessful() == false`) - the RouteHandler will create an error response (set http status, code, message) based on the GetItemResult TASK DETAIL https://phabricator.wikimedia.org/T303916 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ollie.Shotton_WMDE Cc: WMDE-leszek, Aklapper, Silvan_WMDE, Ollie.Shotton_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org