@ -5,6 +5,9 @@
|
|||||||
- Ticket and Ticket Comment added behind feature flag `2025-00006` and will remain behind this flag until production ready.
|
- 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)
|
- In preparation of the [Ticket and Ticket Comment model re-write](https://github.com/nofusscomputing/centurion_erp/issues/564)
|
||||||
|
|
||||||
|
- Depreciated Ticket Comment Endpoint
|
||||||
|
|
||||||
- Depreciated Request Ticket
|
- Depreciated Request Ticket
|
||||||
|
|
||||||
These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready.
|
These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready.
|
||||||
|
@ -41,6 +41,7 @@ from settings.models.user_settings import UserSettings
|
|||||||
|
|
||||||
@extend_schema_view(
|
@extend_schema_view(
|
||||||
create=extend_schema(
|
create=extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Create a ticket comment',
|
summary = 'Create a ticket comment',
|
||||||
description="""Ticket Comment API requests depend upon the users permission and comment type.
|
description="""Ticket Comment API requests depend upon the users permission and comment type.
|
||||||
To view an examaple of a request, select the correct schema _Link above example, called schema_.
|
To view an examaple of a request, select the correct schema _Link above example, called schema_.
|
||||||
@ -81,6 +82,7 @@ Responses from the API are the same for all users when the request returns
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
destroy = extend_schema(
|
destroy = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Delete a ticket comment',
|
summary = 'Delete a ticket comment',
|
||||||
description = '',
|
description = '',
|
||||||
parameters = [
|
parameters = [
|
||||||
@ -101,6 +103,7 @@ Responses from the API are the same for all users when the request returns
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
list = extend_schema(
|
list = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Fetch all ticket comments',
|
summary = 'Fetch all ticket comments',
|
||||||
description='',
|
description='',
|
||||||
parameters = [
|
parameters = [
|
||||||
@ -116,6 +119,7 @@ Responses from the API are the same for all users when the request returns
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
retrieve = extend_schema(
|
retrieve = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Fetch a single ticket comment',
|
summary = 'Fetch a single ticket comment',
|
||||||
description='',
|
description='',
|
||||||
parameters = [
|
parameters = [
|
||||||
@ -137,6 +141,7 @@ Responses from the API are the same for all users when the request returns
|
|||||||
),
|
),
|
||||||
update = extend_schema(exclude = True),
|
update = extend_schema(exclude = True),
|
||||||
partial_update = extend_schema(
|
partial_update = extend_schema(
|
||||||
|
deprecated = True,
|
||||||
summary = 'Update a ticket comment',
|
summary = 'Update a ticket comment',
|
||||||
description = '',
|
description = '',
|
||||||
parameters = [
|
parameters = [
|
||||||
|
Reference in New Issue
Block a user