diff --git a/.apigentools-info b/.apigentools-info index 93d1d4aa83d..b16395a8da2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-04 14:10:02.073714", - "spec_repo_commit": "4fb9047a" + "regenerated": "2025-02-04 19:29:37.538977", + "spec_repo_commit": "4b363b50" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-04 14:10:02.090085", - "spec_repo_commit": "4fb9047a" + "regenerated": "2025-02-04 19:29:37.553939", + "spec_repo_commit": "4b363b50" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 831530e2584..7789e709ec8 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -36988,6 +36988,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' /api/v2/incidents/{incident_id}/relationships/todos: get: + deprecated: true description: Get all todos for an incident. operationId: ListIncidentTodos parameters: @@ -37025,6 +37026,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' post: + deprecated: true description: Create an incident todo. operationId: CreateIncidentTodo parameters: @@ -37071,6 +37073,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' /api/v2/incidents/{incident_id}/relationships/todos/{todo_id}: delete: + deprecated: true description: Delete an incident todo. operationId: DeleteIncidentTodo parameters: @@ -37105,6 +37108,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' get: + deprecated: true description: Get incident todo details. operationId: GetIncidentTodo parameters: @@ -37143,6 +37147,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' patch: + deprecated: true description: Update an incident todo. operationId: UpdateIncidentTodo parameters: diff --git a/api/datadogV2/api_incidents.go b/api/datadogV2/api_incidents.go index a3925187a34..03770e67a92 100644 --- a/api/datadogV2/api_incidents.go +++ b/api/datadogV2/api_incidents.go @@ -184,6 +184,8 @@ func (a *IncidentsApi) CreateIncidentIntegration(ctx _context.Context, incidentI // CreateIncidentTodo Create an incident todo. // Create an incident todo. +// +// Deprecated: This API is deprecated. func (a *IncidentsApi) CreateIncidentTodo(ctx _context.Context, incidentId string, body IncidentTodoCreateRequest) (IncidentTodoResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost @@ -490,6 +492,8 @@ func (a *IncidentsApi) DeleteIncidentIntegration(ctx _context.Context, incidentI // DeleteIncidentTodo Delete an incident todo. // Delete an incident todo. +// +// Deprecated: This API is deprecated. func (a *IncidentsApi) DeleteIncidentTodo(ctx _context.Context, incidentId string, todoId string) (*_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodDelete @@ -820,6 +824,8 @@ func (a *IncidentsApi) GetIncidentIntegration(ctx _context.Context, incidentId s // GetIncidentTodo Get incident todo details. // Get incident todo details. +// +// Deprecated: This API is deprecated. func (a *IncidentsApi) GetIncidentTodo(ctx _context.Context, incidentId string, todoId string) (IncidentTodoResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -1179,6 +1185,8 @@ func (a *IncidentsApi) ListIncidentIntegrations(ctx _context.Context, incidentId // ListIncidentTodos Get a list of an incident's todos. // Get all todos for an incident. +// +// Deprecated: This API is deprecated. func (a *IncidentsApi) ListIncidentTodos(ctx _context.Context, incidentId string) (IncidentTodoListResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodGet @@ -2045,6 +2053,8 @@ func (a *IncidentsApi) UpdateIncidentIntegration(ctx _context.Context, incidentI // UpdateIncidentTodo Update an incident todo. // Update an incident todo. +// +// Deprecated: This API is deprecated. func (a *IncidentsApi) UpdateIncidentTodo(ctx _context.Context, incidentId string, todoId string, body IncidentTodoPatchRequest) (IncidentTodoResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPatch