- get parameters and create RemoveItemStatementRequest
- execute the use case
- handle use case responses (success/redirect/error)
- return HTTP response
- unexpected error handling
- edit service wiring and route files
- create e2e-tests
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ifrahkhanyaree_WMDE | T344228 Functionality for REST API v1 | |||
Resolved | None | T306937 🟥️ Remove a statement of an item | |||
Resolved | Silvan_WMDE | T312551 🟥️ Create RemoveStatementRouteHandler |
Event Timeline
Change 816117 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] REST: Create RemoveStatementRouteHandler
Change 816820 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] REST: Add BodyValidator to handle empty requests
Change 816821 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] REST: Allow DELETE requests with empty json body
Change 816821 abandoned by Silvan Heintze:
[mediawiki/extensions/Wikibase@master] REST: Allow DELETE requests with empty json body
Reason:
squashed into I251287951bfad23416b92dc8fefe04321c2d9727
Change 816117 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Create RemoveStatementRouteHandler
Change 816820 abandoned by Silvan Heintze:
[mediawiki/extensions/Wikibase@master] REST: Allow DELETE requests with an empty json body
Reason:
Empty bodies are not valid json
Change 817803 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] Improve RemoveStatementRouteHandler
Change 817803 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Improve RemoveStatementRouteHandler
@Silvan_WMDE: Assuming this task is resolved. Thus setting resolved task status. Please reopen and add an active project tag if that is not the case. Thanks.