API output should include each snak's data type id
Closed, ResolvedPublic

Description

The serialization of PropertyValueSnaks may contain a datatype field indicating
the snak's data type. This is more useful than the often ambiguous or
misleading value type.

The output gernerated by API modules should thus contain the datatype field.


Version: unspecified
Severity: enhancement

Details

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz57213.
daniel created this task.Nov 18 2013, 10:21 PM

Change 96258 had a related patch set uploaded by Daniel Kinzler:
Allow service injection into serializers.

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

Status: this is now supported by the serializers, but API modules need to be updated to make use of that new feature.

Change 108530 had a related patch set uploaded by Addshore:
Include dataType id in API output

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

Change 108530 merged by Jeroen De Dauw:
Include dataType id in API output.

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

Add Comment