Org Web Adapter

hungryroot/jira/be_6502_client_migration_doc_followup_get_api_get_possible_days.org

ID
8c3aa0f2-2184-477d-b191-a6b0565f66c4

BE-6502 Client migration doc followup GET /api/get_possible_days/

- source :: https://hungryroot.atlassian.net/browse/BE-6502

- 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_possible_days

sprint105ep411be6502workhungryrootapiv1v1migrationdocsadmin
ID
174a1f90-7c6b-128d-b253-f69912e5d5cc

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_possible_days/ 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:

https://hungryroot.atlassian.net/wiki/spaces/BA/pages/889749506/v1+-+v2+API+migration+guide#GET-/api/get_possible_days/