Closed dleard closed 2 weeks ago
@pbastia @Sepehr-Sobhani Have any thoughts on this card?
related Django-Ninja docs: https://django-ninja.dev/guides/versioning/
Summary of May 7th discussion:
An API v2 can be created by using the existing router and extending it
Django ninja will expose it on a different route
The underlying services can be either extended to support both API needs, or we can create multiple services (e.g. OperatorServiceWithoutAddressSupport
and OperatorService
) with different interfaces that the API versions would talk to
cc @patriciarussellCAS
Notes:
Closing this ticket. This has been implemented in the spike #1647
We are going to need to version our API in order to allow us to make changes necessary for registration part 2 to endpoints used in our current version without breaking anything.
We need to define a structure that we think will work best for this. Suggestions: registration/api/v2/...(all object directories ie: operator)/files <- This structure is most likely the way we go registration/api/operator/v2/...(all files)
Strategy suggestion:
AC: