The new serializer class should wrap the existing one and ensure the following required fields are contained in the serialization:
- id
- mainsnak
- rank
- qualifiers
- qualifiers-order
- references
The new serializer class should wrap the existing one and ensure the following required fields are contained in the serialization:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Add StatementSerializer with required fields | mediawiki/extensions/Wikibase | master | +106 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | WMDE-leszek | T308110 🟦️ Use a fixed structure (in terms of elements present) in the statement data in REST API response | |||
Resolved | Jakob_WMDE | T309519 🟦️ Create a new statement serializer for the REST API |
Change 801396 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: Add StatementSerializer with required fields
Change 801396 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Add StatementSerializer with required fields