feat(assistance): Depreciate Request Ticket Endpoint
ref: #732 #564 #725
This commit is contained in:
@ -4,6 +4,11 @@
|
||||
|
||||
- Ticket and Ticket Comment added behind feature flag `2025-00006` and will remain behind this flag until production ready.
|
||||
|
||||
- In preparation of the [Ticket and Ticket Comment model re-write](https://github.com/nofusscomputing/centurion_erp/issues/564)
|
||||
- Depreciated Request Ticket
|
||||
|
||||
These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready.
|
||||
|
||||
|
||||
## Version 1.15.0
|
||||
|
||||
|
@ -22,6 +22,7 @@ from settings.models.user_settings import UserSettings
|
||||
|
||||
@extend_schema_view(
|
||||
create = extend_schema(
|
||||
deprecated = True,
|
||||
versions = [
|
||||
'v2'
|
||||
],
|
||||
@ -49,6 +50,7 @@ Responses from the API are the same for all users when the request returns
|
||||
}
|
||||
),
|
||||
destroy = extend_schema(
|
||||
deprecated = True,
|
||||
summary = 'Delete a Request Ticket',
|
||||
description = '',
|
||||
responses = {
|
||||
@ -57,6 +59,7 @@ Responses from the API are the same for all users when the request returns
|
||||
}
|
||||
),
|
||||
list = extend_schema(
|
||||
deprecated = True,
|
||||
summary = 'Fetch all Request Tickets',
|
||||
description='',
|
||||
responses = {
|
||||
@ -65,6 +68,7 @@ Responses from the API are the same for all users when the request returns
|
||||
}
|
||||
),
|
||||
retrieve = extend_schema(
|
||||
deprecated = True,
|
||||
summary = 'Fetch a Request Ticket',
|
||||
description='',
|
||||
responses = {
|
||||
@ -74,6 +78,7 @@ Responses from the API are the same for all users when the request returns
|
||||
),
|
||||
update = extend_schema(exclude = True),
|
||||
partial_update = extend_schema(
|
||||
deprecated = True,
|
||||
summary = 'Update a Request Ticket',
|
||||
description = '',
|
||||
responses = {
|
||||
|
Reference in New Issue
Block a user