- create a new PatchItemStatementRequest class
- create a new PatchItemStatementSuccessResponse class
- create a new PatchItemStatement use case class:
- retrieve Item
- get Statement from Item
- use the newly created StatementPatcher to apply the patch to the Statement
- replace the Statement on the Item
- save using the ItemUpdater
- return a PatchItemStatementSuccessResponse
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Create PatchItemStatement use case | mediawiki/extensions/Wikibase | master | +309 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ifrahkhanyaree_WMDE | T344228 Functionality for REST API v1 | |||
Resolved | WMDE-leszek | T306934 🌶️ Change elements of an item statement | |||
Resolved | Silvan_WMDE | T316242 🌶️ Implement the PatchItemStatement use case happy path |
Event Timeline
Comment Actions
Change 827947 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] REST: Create PatchItemStatement use case
Comment Actions
Change 827947 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Create PatchItemStatement use case