Page MenuHomePhabricator

Add a type marker to the entity output by the API
Closed, ResolvedPublic

Description

After the change from using "item" and "items" into "entity" and "entities" it is necessary to specify the individual types of entities in the output from the API. Preferably with a key-value -pair "type".

In some cases it could be valid to only output this type marker if the EntityContent is fetched from the page, or if it is available through some other means.


Version: unspecified
Severity: normal

Details

Reference
bz40476

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:08 AM
bzimport set Reference to bz40476.
bzimport added a subscriber: Unknown Object (MLST).

Verified in Wikidata demo time for sprint 17