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.

docs: add task endpoint documentation

Andrej Acevskif9cd4d43d6f0
diff --git a/apps/docs/content/docs/api/tasks/createTask.mdx b/apps/docs/content/docs/api/tasks/createTask.mdx
new file mode 100644
index 000000000..211105825
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/createTask.mdx
@@ -0,0 +1,17 @@
+---
+title: Create Task
+full: true
+_openapi:
+ method: POST
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Create a new task in a project
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Create a new task in a project
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/{projectId}","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/deleteTask.mdx b/apps/docs/content/docs/api/tasks/deleteTask.mdx
new file mode 100644
index 000000000..546e11efb
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/deleteTask.mdx
@@ -0,0 +1,17 @@
+---
+title: Delete Task
+full: true
+_openapi:
+ method: DELETE
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Delete a task by ID
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Delete a task by ID
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/{id}","method":"delete"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/exportTasks.mdx b/apps/docs/content/docs/api/tasks/exportTasks.mdx
new file mode 100644
index 000000000..57cf86e8a
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/exportTasks.mdx
@@ -0,0 +1,17 @@
+---
+title: Export Tasks
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Export all tasks from a project
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Export all tasks from a project
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/export/{projectId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/getTask.mdx b/apps/docs/content/docs/api/tasks/getTask.mdx
new file mode 100644
index 000000000..ec2d8fcce
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/getTask.mdx
@@ -0,0 +1,17 @@
+---
+title: Get Task
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get a specific task by ID
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Get a specific task by ID
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/{id}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/getTaskLabels.mdx b/apps/docs/content/docs/api/tasks/getTaskLabels.mdx
new file mode 100644
index 000000000..881b128aa
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/getTaskLabels.mdx
@@ -0,0 +1,17 @@
+---
+title: Get Task Labels
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get all labels assigned to a specific task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Get all labels assigned to a specific task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/label/task/{taskId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/getTaskTimeEntries.mdx b/apps/docs/content/docs/api/tasks/getTaskTimeEntries.mdx
new file mode 100644
index 000000000..f4f4e4b6f
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/getTaskTimeEntries.mdx
@@ -0,0 +1,17 @@
+---
+title: Get Task Time Entries
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get all time entries for a specific task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Get all time entries for a specific task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry/task/{taskId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/importTasks.mdx b/apps/docs/content/docs/api/tasks/importTasks.mdx
new file mode 100644
index 000000000..a55dc0514
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/importTasks.mdx
@@ -0,0 +1,17 @@
+---
+title: Import Tasks
+full: true
+_openapi:
+ method: POST
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Import multiple tasks into a project
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Import multiple tasks into a project
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/import/{projectId}","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/listTasks.mdx b/apps/docs/content/docs/api/tasks/listTasks.mdx
new file mode 100644
index 000000000..e7d282f17
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/listTasks.mdx
@@ -0,0 +1,17 @@
+---
+title: List Tasks
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get all tasks for a specific project
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Get all tasks for a specific project
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/tasks/{projectId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/meta.json b/apps/docs/content/docs/api/tasks/meta.json
new file mode 100644
index 000000000..66e51c1d3
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/meta.json
@@ -0,0 +1,21 @@
+{
+ "title": "Tasks",
+ "pages": [
+ "createTask",
+ "getTask",
+ "listTasks",
+ "updateTask",
+ "deleteTask",
+ "updateTaskTitle",
+ "updateTaskDescription",
+ "updateTaskStatus",
+ "updateTaskPriority",
+ "updateTaskDueDate",
+ "updateTaskAssignee",
+ "getTaskLabels",
+ "getTaskTimeEntries",
+ "exportTasks",
+ "importTasks"
+ ],
+ "defaultOpen": true
+}
diff --git a/apps/docs/content/docs/api/tasks/updateTask.mdx b/apps/docs/content/docs/api/tasks/updateTask.mdx
new file mode 100644
index 000000000..0317445cd
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTask.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update all fields of a task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update all fields of a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx b/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx
new file mode 100644
index 000000000..51be15b9a
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTaskAssignee.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task Assignee
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Assign or unassign a task to a user
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Assign or unassign a task to a user
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/assignee/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx b/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx
new file mode 100644
index 000000000..9fb1d3084
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTaskDescription.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task Description
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update only the description of a task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update only the description of a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/description/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx b/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx
new file mode 100644
index 000000000..5501b7c03
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTaskDueDate.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task Due Date
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update only the due date of a task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update only the due date of a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/due-date/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx b/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx
new file mode 100644
index 000000000..f96b6a13b
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTaskPriority.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task Priority
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update only the priority of a task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update only the priority of a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/priority/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx b/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx
new file mode 100644
index 000000000..a477e33e5
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTaskStatus.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task Status
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update only the status of a task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update only the status of a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/status/{id}","method":"put"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx b/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx
new file mode 100644
index 000000000..ac4384bc1
--- /dev/null
+++ b/apps/docs/content/docs/api/tasks/updateTaskTitle.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Task Title
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update only the title of a task
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update only the title of a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/task/title/{id}","method":"put"}]} />
\ No newline at end of file