Page MenuHomePhabricator

Return full objects from POST and PUT endpoints for reading lists and reading list entries
Closed, ResolvedPublic

Description

Currently, the POST and PUT endpoints for lists and entries only return the ids of the list or entry.

Ideally, these would return the full objects, including created and updated dates. The same should be true for the duplicate responses T184680.

The created and updated dates could then be used for sorting locally.

Event Timeline

JoeWalsh renamed this task from Return full objects from POST and PUT endpoints for reading lists to Return full objects from POST and PUT endpoints for reading lists and reading list entries.Jan 30 2018, 7:41 PM
Fjalapeno added subscribers: Tgr, Fjalapeno.

@Tgr this came out of the need for supporting client side ordering - this seemed reasonable to me, does it look ok to you as well?

@JoeWalsh can you speak to priority of this one relative to T184680 and T182706?

I don't see any problem with it.

Change 413650 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/ReadingLists@master] Return result row after insert/update

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

Change 413650 merged by jenkins-bot:
[mediawiki/extensions/ReadingLists@master] Return result row after insert/update

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

Change 416612 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/ReadingLists@wmf/1.31.0-wmf.23] Return result row after insert/update

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

Change 416612 merged by jenkins-bot:
[mediawiki/extensions/ReadingLists@wmf/1.31.0-wmf.23] Return result row after insert/update

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