Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

merge: include verified bulk mutation fixes

Tin12a48402e0c9
diff --cc apps/docs/openapi.json
index 7367c34f0,c6b61c790..bd4519ddc
--- a/apps/docs/openapi.json
+++ b/apps/docs/openapi.json
@@@ -8546,118 -8546,16 +8546,128 @@@
}
}
}
+ },
+ "409": {
+ "description": "Tasks changed projects; retry the operation",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/task/reorder": {
+ "post": {
+ "operationId": "reorderTasks",
+ "tags": [
+ "Tasks"
+ ],
+ "summary": "Reorder or move cards",
+ "description": "Atomically update positions and optional column status for cards in one project. Other task fields are preserved.",
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "projectId": {
+ "type": "string"
+ },
+ "tasks": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 2147483646
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position"
+ ]
+ },
+ "minItems": 1,
+ "maxItems": 1000
+ }
+ },
+ "required": [
+ "projectId",
+ "tasks"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Updated cards",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Task"
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid positions or column",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Missing or invalid credentials"
+ },
+ "403": {
+ "description": "Missing task:update permission",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Tasks do not belong to the project",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "409": {
+ "description": "Task moved concurrently",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
}
}
}