Page MenuHomePhabricator

Create API module to let Graphoid get graph spec JSON blob
Closed, ResolvedPublic

Description

Instead of using page-props api, it should be possible for the Graphoid service to call Graph extension's API and get the graph JSON definition.

api.php ? action=graphspec & title=Blah & revision=NNNN & hash=NNNNN

Result:
{"graphspec":{
    "value": "{...}"
}}

Eventually title and revision params could get dropped, and only hash will be used.

Event Timeline

Yurik raised the priority of this task from to Medium.
Yurik updated the task description. (Show Details)
Yurik subscribed.

Change 255319 had a related patch set uploaded (by Yurik):
Implements action=graph api to get graph by id

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

Change 255319 merged by jenkins-bot:
Implements action=graph api to get graph by id

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

Yurik claimed this task.