Page MenuHomePhabricator

[Task] Drop API-Style wrapper from JSON output of Special:EntityData
Open, NormalPublic

Description

Special:EntityData by definition emits information about exactly one entity. We currently wrap it in an "entities" structure like this:

{"entities":{"Q1234":{...actual data...}}}

The two outer structures should be omitted. Special:EntityData is intended to act as a LinkedData interface. Asking for Q1234.json should result in *just* the JSON representation of Q1234, and nothing else.

Event Timeline

daniel created this task.May 4 2015, 5:31 PM
daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel added a project: Wikidata.
daniel added a subscriber: daniel.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 4 2015, 5:31 PM
JanZerebecki triaged this task as Normal priority.May 15 2015, 6:38 PM
JanZerebecki set Security to None.
JanZerebecki moved this task from incoming to ready to go on the Wikidata board.
Jonas renamed this task from Drop API-Style wrapper from JSON output of Special:EntityData to [Task] Drop API-Style wrapper from JSON output of Special:EntityData.Aug 14 2015, 8:30 AM
Jonas added a project: Technical-Debt.

This will be a breaking change, I am surprised there is not a tag for breaking changes on phabricator :O

Restricted Application added a subscriber: PokestarFan. · View Herald TranscriptJul 25 2017, 8:15 AM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptOct 12 2019, 10:50 PM