未验证 提交 dd4a78d8 编写于 作者: M Maria Khrustaleva 提交者: GitHub

Remove v1 api version support (#4332)

上级 c7578102
......@@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Review rating, reviewer field from the job instance (use assignee field together with stage field instead) (<https://github.com/openvinotoolkit/cvat/pull/3788>)
- Training django app (<https://github.com/openvinotoolkit/cvat/pull/4330>)
- v1 api version support (<https://github.com/openvinotoolkit/cvat/pull/4332>)
### Fixed
- Fixed Interaction handler keyboard handlers (<https://github.com/openvinotoolkit/cvat/pull/3881>)
......
......@@ -156,7 +156,7 @@ REST_FRAMEWORK = {
],
'DEFAULT_VERSIONING_CLASS':
'rest_framework.versioning.AcceptHeaderVersioning',
'ALLOWED_VERSIONS': ('1.0', '2.0'),
'ALLOWED_VERSIONS': ('2.0'),
'DEFAULT_VERSION': '2.0',
'VERSION_PARAM': 'version',
'DEFAULT_PAGINATION_CLASS':
......
......@@ -39,7 +39,7 @@ task or project and task specification and annotations with the following struct
### Backup API
- endpoint: `/v1/tasks/{id}/backup` or `/v1/projects/{id}/backup`
- endpoint: `/tasks/{id}/backup` or `/projects/{id}/backup`
- method: `GET`
- responses: 202, 201 with zip archive payload
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册