Authored by Tgr on Jul 20 2017, 3:11 PM.

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

Committed
TgrJul 24 2017, 12:15 PM
Parents
rERLS6706d2b519a8: DB layer
Branches
Unknown
Tags
Unknown
References
refs/changes/80/366980/4
ChangeId
I3615581fb06c599dea50877d3678d1ba3e82bb20