mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Add api deprecation policy
This commit is contained in:
parent
2e956b0f13
commit
7cbb3a3e8e
@ -541,6 +541,12 @@ server, the following procedure should be performed:
|
||||
2. Determine whether the client is compatible with this server based on
|
||||
the presence/absence of these headers and their values if present.
|
||||
|
||||
### API Version Deprecation Policy
|
||||
|
||||
Older API versions are guaranteed to be supported for at least one year
|
||||
after the release of a new API version. After that, support for older
|
||||
API versions may be (but is not guaranteed to be) dropped.
|
||||
|
||||
### API Changelog
|
||||
|
||||
#### Version 1
|
||||
|
@ -343,7 +343,7 @@ REST_FRAMEWORK = {
|
||||
"DEFAULT_VERSIONING_CLASS": "rest_framework.versioning.AcceptHeaderVersioning",
|
||||
"DEFAULT_VERSION": "7",
|
||||
# Make sure these are ordered and that the most recent version appears
|
||||
# last
|
||||
# last. See api.md#api-versioning when adding new versions.
|
||||
"ALLOWED_VERSIONS": ["1", "2", "3", "4", "5", "6", "7"],
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user