diff --git a/specs/ingestion/paths/tasks/v1/disableTask.yml b/specs/ingestion/paths/tasks/v1/disableTask.yml index 5e845d3c62..f7cf1e63d2 100644 --- a/specs/ingestion/paths/tasks/v1/disableTask.yml +++ b/specs/ingestion/paths/tasks/v1/disableTask.yml @@ -1,7 +1,7 @@ put: tags: - tasks - summary: Disable a task + summary: Disable a task V1 description: Disables a task using the v1 endpoint, please use `disableTask` instead. operationId: disableTaskV1 deprecated: true diff --git a/specs/ingestion/paths/tasks/v1/enableTask.yml b/specs/ingestion/paths/tasks/v1/enableTask.yml index 4505b58ea8..3030e0f628 100644 --- a/specs/ingestion/paths/tasks/v1/enableTask.yml +++ b/specs/ingestion/paths/tasks/v1/enableTask.yml @@ -1,7 +1,7 @@ put: tags: - tasks - summary: Enable a task + summary: Enable a task V1 description: Enables a task using the v1 endpoint, please use `enableTask` instead. operationId: enableTaskV1 deprecated: true diff --git a/specs/ingestion/paths/tasks/v1/runTask.yml b/specs/ingestion/paths/tasks/v1/runTask.yml index bbddee7229..6f6fbc267b 100644 --- a/specs/ingestion/paths/tasks/v1/runTask.yml +++ b/specs/ingestion/paths/tasks/v1/runTask.yml @@ -1,7 +1,7 @@ post: tags: - tasks - summary: Run a task + summary: Run a task V1 description: Runs a task using the v1 endpoint, please use `runTask` instead. You can check the status of task runs with the observability endpoints. operationId: runTaskV1 deprecated: true diff --git a/specs/ingestion/paths/tasks/v1/searchTasks.yml b/specs/ingestion/paths/tasks/v1/searchTasks.yml index b0d12c2fde..537ffa7035 100644 --- a/specs/ingestion/paths/tasks/v1/searchTasks.yml +++ b/specs/ingestion/paths/tasks/v1/searchTasks.yml @@ -1,7 +1,7 @@ post: tags: - tasks - summary: Search for tasks + summary: Search for tasks V1 description: Searches for tasks using the v1 endpoint, please use `searchTasks` instead. operationId: searchTasksV1 deprecated: true diff --git a/specs/ingestion/paths/tasks/v1/taskID.yml b/specs/ingestion/paths/tasks/v1/taskID.yml index 59ab575f19..b8adb0cc0d 100644 --- a/specs/ingestion/paths/tasks/v1/taskID.yml +++ b/specs/ingestion/paths/tasks/v1/taskID.yml @@ -1,7 +1,7 @@ get: tags: - tasks - summary: Retrieve a task + summary: Retrieve a task V1 description: Retrieves a task by its ID using the v1 endpoint, please use `getTask` instead. operationId: getTaskV1 deprecated: true @@ -24,7 +24,7 @@ get: patch: tags: - tasks - summary: Update a task + summary: Update a task V1 description: Updates a task by its ID using the v1 endpoint, please use `updateTask` instead. operationId: updateTaskV1 deprecated: true diff --git a/specs/ingestion/paths/tasks/v1/tasks.yml b/specs/ingestion/paths/tasks/v1/tasks.yml index 20243cf98b..15eb55429c 100644 --- a/specs/ingestion/paths/tasks/v1/tasks.yml +++ b/specs/ingestion/paths/tasks/v1/tasks.yml @@ -1,7 +1,7 @@ get: tags: - tasks - summary: List tasks + summary: List tasks V1 description: Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead. operationId: listTasksV1 deprecated: true @@ -45,7 +45,7 @@ get: post: tags: - tasks - summary: Create a task + summary: Create a task V1 description: Creates a new task using the v1 endpoint, please use `createTask` instead. operationId: createTaskV1 deprecated: true diff --git a/specs/ingestion/spec.yml b/specs/ingestion/spec.yml index 5cfaf24e5a..74bc7de149 100644 --- a/specs/ingestion/spec.yml +++ b/specs/ingestion/spec.yml @@ -144,18 +144,6 @@ paths: $ref: 'paths/sources/runSource.yml' # tasks API. - /1/tasks: - $ref: 'paths/tasks/v1/tasks.yml' - /1/tasks/search: - $ref: 'paths/tasks/v1/searchTasks.yml' - /1/tasks/{taskID}: - $ref: 'paths/tasks/v1/taskID.yml' - /1/tasks/{taskID}/run: - $ref: 'paths/tasks/v1/runTask.yml' - /1/tasks/{taskID}/enable: - $ref: 'paths/tasks/v1/enableTask.yml' - /1/tasks/{taskID}/disable: - $ref: 'paths/tasks/v1/disableTask.yml' /2/tasks: $ref: 'paths/tasks/v2/tasks.yml' /2/tasks/search: @@ -170,6 +158,18 @@ paths: $ref: 'paths/tasks/v2/enableTask.yml' /2/tasks/{taskID}/disable: $ref: 'paths/tasks/v2/disableTask.yml' + /1/tasks: + $ref: 'paths/tasks/v1/tasks.yml' + /1/tasks/search: + $ref: 'paths/tasks/v1/searchTasks.yml' + /1/tasks/{taskID}: + $ref: 'paths/tasks/v1/taskID.yml' + /1/tasks/{taskID}/run: + $ref: 'paths/tasks/v1/runTask.yml' + /1/tasks/{taskID}/enable: + $ref: 'paths/tasks/v1/enableTask.yml' + /1/tasks/{taskID}/disable: + $ref: 'paths/tasks/v1/disableTask.yml' # transformations API. /1/transformations: