HomePhabricator

[WIP] API
c4c5a575f9deUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

[WIP] API

Adds API endpoints:

  • action=readinglists
  • meta=readinglists
  • list=readinglistentries
  • list=readinglistchanges

TODO:

  • return list/entry order
  • allow partial updates
  • fix useless sync return format
  • prevent adding/removing entries from deleted lists?
  • review DB index coverage
  • use non-offset-based continuation where possible
  • T164990#3460750
  • turn ApiQueryReadingListEntries into a generator
    • create ReverseInterwikiLookup (cf InterwikiLookup::getAllPrefixes)

Longer term TODO: how will the REST API use tokens?

Bug: T168980
Bug: T168988
Change-Id: I3615581fb06c599dea50877d3678d1ba3e82bb20

Details

Provenance
TgrAuthored on Jul 20 2017, 3:11 PM
ChangeId
I3615581fb06c599dea50877d3678d1ba3e82bb20

Commit No Longer Exists

This commit no longer exists in the repository.