Page MenuHomePhabricator

Remove "response" from comparison REST API endpoint
Closed, ResolvedPublic

Description

The comparison endpoint includes an extra "response" property, which wraps the rest of the response. The "from", "to", and "diff" properties should be top-level in the comparison object; no "response" wrapper is necessary.

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 18 2019, 12:49 PM

Change 545925 had a related patch set uploaded (by Nikki Nikkhoui; owner: Nikki Nikkhoui):
[mediawiki/core@master] Remove 'response' prop. from revision comparison JSON

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

Change 545925 merged by jenkins-bot:
[mediawiki/core@master] Remove 'response' prop. from revision comparison JSON

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

Updated docs to reflect this change

eprodromou closed this task as Resolved.Oct 29 2019, 4:18 PM

This looks done.