- {field} is the last part of the path
- Exception will need a field parameter
- StatementValidator will create a ValidationErrorfrom the Exception (exception type determines error code)
- use case error responses will map the new ValidationError code to the corresponding response format (see parent task description)
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| REST: Report statement-data-missing-field errors | mediawiki/extensions/Wikibase | master | +186 -74 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T335067 Epic: Wikidata Query Service stabilization | |||
| Resolved | Lydia_Pintscher | T314503 rollout of the new Wikibase REST API to Wikidata | |||
| Resolved | Ifrahkhanyaree_WMDE | T316718 Errors in Wikibase REST API | |||
| Resolved | Ollie.Shotton_WMDE | T324088 💥️ Improve error reporting for invalid statement data in REST API (missing field or invalid value) | |||
| Resolved | Silvan_WMDE | T324839 💥️ Respond with statement-data-missing-field error for missing required statement fields in PUT and POST endpoints |
Event Timeline
Comment Actions
Change 868649 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] REST: Report statement-data-missing-field errors
Comment Actions
Change 868649 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Report statement-data-missing-field errors