Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(specs): deprecate task v1 [skip-bc] #4327

Merged
merged 5 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions specs/ingestion/paths/tasks/v1/enableTask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ put:
summary: Enable a task
description: Enables a task using the v1 endpoint, please use `enableTask` instead.
operationId: enableTaskV1
deprecated: true
x-acl:
- addObject
- deleteIndex
Expand Down
1 change: 1 addition & 0 deletions specs/ingestion/paths/tasks/v1/runTask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ post:
summary: Run a task
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
x-acl:
- addObject
- deleteIndex
Expand Down
1 change: 1 addition & 0 deletions specs/ingestion/paths/tasks/v1/searchTasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ post:
summary: Search for tasks
description: Searches for tasks using the v1 endpoint, please use `searchTasks` instead.
operationId: searchTasksV1
deprecated: true
x-acl:
- addObject
- deleteIndex
Expand Down
3 changes: 3 additions & 0 deletions specs/ingestion/paths/tasks/v1/taskID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ get:
summary: Retrieve a task
description: Retrieves a task by its ID using the v1 endpoint, please use `getTask` instead.
operationId: getTaskV1
deprecated: true
x-acl:
- addObject
- deleteIndex
Expand All @@ -26,6 +27,7 @@ patch:
summary: Update a task
description: Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
operationId: updateTaskV1
deprecated: true
parameters:
- $ref: '../../../common/parameters.yml#/pathTaskID'
x-codegen-request-body-name: taskUpdate
Expand All @@ -51,6 +53,7 @@ delete:
summary: Delete a task
description: Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
operationId: deleteTaskV1
deprecated: true
parameters:
- $ref: '../../../common/parameters.yml#/pathTaskID'
responses:
Expand Down
2 changes: 2 additions & 0 deletions specs/ingestion/paths/tasks/v1/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ get:
summary: List tasks
description: Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
operationId: listTasksV1
deprecated: true
x-acl:
- addObject
- deleteIndex
Expand Down Expand Up @@ -47,6 +48,7 @@ post:
summary: Create a task
description: Creates a new task using the v1 endpoint, please use `createTask` instead.
operationId: createTaskV1
deprecated: true
x-codegen-request-body-name: taskCreate
requestBody:
description: Request body for creating a task.
Expand Down