Page MenuHomePhabricator

🟦️ Create a new statement serializer for the REST API
Closed, ResolvedPublic

Description

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

Event Timeline

Change 801396 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Add StatementSerializer with required fields

https://gerrit.wikimedia.org/r/801396

Change 801396 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Add StatementSerializer with required fields

https://gerrit.wikimedia.org/r/801396