- ID
- 7fa2fa47-1543-4a09-84e3-ff4fb18910d5
BE-6503 Client migraiton doc followup GET /api/get_promo_data/
- source :: https://hungryroot.atlassian.net/browse/BE-6503
- tags :: Hungryroot API Project
- epic :: EP-411 Eng Parking Lot
- sprint :: HR BE Sprint 105
- status :: Status - Complete
Tasks
DONE Review current stats and update Confluence doc for /api/get_promo_data
- ID
- b7249516-b4b5-c788-3ca1-357d2d59b625
Description
Over time, we've been creating DRF powered "v2" endpoints (routes are prefixed
with /api/v2/) that allow for out-of-the box API contract discovery and
documentation through the drf-spectacular swagger interface. We want to migrate
away from v1 endpoints (v1 routes don't have a version prefix, just /api/) defined
in app/urls/apiv1.py
Analyze whether the "v1" GET /api/get_promo_data/ endpoint has a "v2" DRF
equivalent under the app/rest/ directory. If it does, explain differences in the
API contracts: both responses and supported request body fields and/or query
params between the two.
Acceptance criteria:
[ ] Update the v1 -> v2 migration Confluence doc for the specified section: