Skip to content

Commit 22a336b

Browse files
committed
fix(specs): deprecate task v1
1 parent f105b89 commit 22a336b

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

specs/ingestion/paths/tasks/v1/enableTask.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ put:
44
summary: Enable a task
55
description: Enables a task using the v1 endpoint, please use `enableTask` instead.
66
operationId: enableTaskV1
7+
deprecated: true
78
x-acl:
89
- addObject
910
- deleteIndex

specs/ingestion/paths/tasks/v1/runTask.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ post:
44
summary: Run a task
55
description: Runs a task using the v1 endpoint, please use `runTask` instead. You can check the status of task runs with the observability endpoints.
66
operationId: runTaskV1
7+
deprecated: true
78
x-acl:
89
- addObject
910
- deleteIndex

specs/ingestion/paths/tasks/v1/searchTasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ post:
44
summary: Search for tasks
55
description: Searches for tasks using the v1 endpoint, please use `searchTasks` instead.
66
operationId: searchTasksV1
7+
deprecated: true
78
x-acl:
89
- addObject
910
- deleteIndex

specs/ingestion/paths/tasks/v1/taskID.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ get:
44
summary: Retrieve a task
55
description: Retrieves a task by its ID using the v1 endpoint, please use `getTask` instead.
66
operationId: getTaskV1
7+
deprecated: true
78
x-acl:
89
- addObject
910
- deleteIndex
@@ -26,6 +27,7 @@ patch:
2627
summary: Update a task
2728
description: Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
2829
operationId: updateTaskV1
30+
deprecated: true
2931
parameters:
3032
- $ref: '../../../common/parameters.yml#/pathTaskID'
3133
x-codegen-request-body-name: taskUpdate
@@ -51,6 +53,7 @@ delete:
5153
summary: Delete a task
5254
description: Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
5355
operationId: deleteTaskV1
56+
deprecated: true
5457
parameters:
5558
- $ref: '../../../common/parameters.yml#/pathTaskID'
5659
responses:

specs/ingestion/paths/tasks/v1/tasks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ get:
44
summary: List tasks
55
description: Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
66
operationId: listTasksV1
7+
deprecated: true
78
x-acl:
89
- addObject
910
- deleteIndex
@@ -47,6 +48,7 @@ post:
4748
summary: Create a task
4849
description: Creates a new task using the v1 endpoint, please use `createTask` instead.
4950
operationId: createTaskV1
51+
deprecated: true
5052
x-codegen-request-body-name: taskCreate
5153
requestBody:
5254
description: Request body for creating a task.

0 commit comments

Comments
 (0)