Page MenuHomePhabricator

Add v1 endpoints mirror to v2 API(s)
Closed, ResolvedPublic13 Estimated Story Points

Description

As a user I would like to be able to still continue using v1 API(s) when v2 is released, so that I don't have to change my codebase right away.

Acceptance criteria
As a v2 user I can still use v1 endpoint for my ingestion pipeline before I transition.

ToDo

  • add pages endpoint to the API(s): GET ​/v1​/pages​/meta​/{project}​/{name}
  • add diffs endpoints to the API(s):
    • GET /v1​/diffs​/download​/{date}​/{namespace}​/{project}
    • ​GET /v1​/diffs​/meta​/{date}​/{namespace}
    • ​GET /v1​/diffs​/meta​/{date}​/{namespace}​/{project}
  • add exports endpoint to the API(s):
    • ​GET /v1​/exports​/download​/{namespace}​/{project}
    • ​HEAD /v1​/exports​/download​/{namespace}​/{project}
    • GET ​/v1​/exports​/meta​/{namespace}
    • ​GET /v1​/exports​/meta​/{namespace}​/{project}
  • make sure the schema is identical, meaning no new fields
  • add /v1/page-update to realtime API
  • add /v1/page-delete to realtime API
  • add /v1/page-visibility to realtime API
  • update the ACL(s)
  • update the WAF configuration

Event Timeline

Protsack.stephan renamed this task from Add v1 endpoints to v2 API(s) to Add v1 endpoints mirror to v2 API(s).Jan 26 2023, 1:27 PM
Protsack.stephan updated the task description. (Show Details)

Updated this ticket to contain realtime API endpoints.

Protsack.stephan changed the point value for this task from 8 to 13.Mar 6 2023, 11:09 PM