Skip to content

Commit

Permalink
[update] Whats new and DELETE task route before release. Add minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiipylypchuk1991 committed Feb 26, 2025
1 parent 942bf0d commit a3addc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/rest_api/routes/delete_routes/delete_tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ The ID of a task that should be removed is sent in the request line.

| Name | Type | Description |
| ---------- | ----------- | ----------- |
| `id` | number | *Optional*. The ID of a task to be removed.|
| `id` | number | *Optional*. The ID of a task to be removed.|

### Payload

The server needs to receive a json object with one property:

| Name | Type | Description |
| ---------- | ----------- | ----------- |
| `batch` | array | *Required*. The list of task IDs to be removed.|
| `batch` | array | *Optional*. The list of task IDs to be removed.|

Example:

Expand Down
2 changes: 2 additions & 0 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Released on February 26, 2025

- The [`getState()`](../api/internal/getstate_method) and [`getReactiveState()`](../api/internal/getreactivestate_method) methods return the `historyState` object
- The [`items`](../api/toolbar_api/configs/items_config) property of Toolbar was extended by `"undo"` and `"redo"` parameters that allow you to display controls for managing history of changes
- The **POST** [`/tasks`](../api/rest_api/routes/post_routes/post_tasks) and [`/projects`](../api/rest_api/routes/post_routes/post_projects) routes were extended by the `id` parameter, that allows you to manage history changes on backend
- The **DELETE** [`/tasks`](../api/rest_api/routes/delete_routes/delete_tasks) route was extended by the `batch` payload. The `id` parameter related to the task to be deleted become optional. You can delete multiple tasks by once

## Version 1.2.12

Expand Down

0 comments on commit a3addc2

Please sign in to comment.