bcgov / cas-registration

A web app for Registration in OBPS under the Clean Growth branch
Apache License 2.0
1 stars 0 forks source link

API Versioning for registratin part 2 #1615

Closed dleard closed 2 weeks ago

dleard commented 3 weeks ago

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:

dleard commented 3 weeks ago

@pbastia @Sepehr-Sobhani Have any thoughts on this card?

Sepehr-Sobhani commented 3 weeks ago

related Django-Ninja docs: https://django-ninja.dev/guides/versioning/

pbastia commented 3 weeks ago

Summary of May 7th discussion:

cc @patriciarussellCAS

patrickisaac commented 3 weeks ago

Notes:

patrickisaac commented 2 weeks ago

Closing this ticket. This has been implemented in the spike #1647