diff --git a/Release-Notes.md b/Release-Notes.md index 4fd5aaaa..7fdd915b 100644 --- a/Release-Notes.md +++ b/Release-Notes.md @@ -5,6 +5,9 @@ - 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 Ticket Comment Endpoint + - Depreciated Request Ticket These endpoints still work and will remain so until the new Ticket and Ticket Comment Models are production ready. diff --git a/app/core/viewsets/ticket_comment_depreciated.py b/app/core/viewsets/ticket_comment_depreciated.py index 019d4aa8..728b5492 100644 --- a/app/core/viewsets/ticket_comment_depreciated.py +++ b/app/core/viewsets/ticket_comment_depreciated.py @@ -41,6 +41,7 @@ from settings.models.user_settings import UserSettings @extend_schema_view( create=extend_schema( + deprecated = True, summary = 'Create a ticket comment', 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_. @@ -81,6 +82,7 @@ Responses from the API are the same for all users when the request returns } ), destroy = extend_schema( + deprecated = True, summary = 'Delete a ticket comment', description = '', parameters = [ @@ -101,6 +103,7 @@ Responses from the API are the same for all users when the request returns } ), list = extend_schema( + deprecated = True, summary = 'Fetch all ticket comments', description='', parameters = [ @@ -116,6 +119,7 @@ Responses from the API are the same for all users when the request returns } ), retrieve = extend_schema( + deprecated = True, summary = 'Fetch a single ticket comment', description='', parameters = [ @@ -137,6 +141,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 ticket comment', description = '', parameters = [