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 activity endpoint documentation

Andrej Acevskiff5d6c1e1a9a
diff --git a/apps/docs/content/docs/api/activities/createActivity.mdx b/apps/docs/content/docs/api/activities/createActivity.mdx
new file mode 100644
index 000000000..51e045dbd
--- /dev/null
+++ b/apps/docs/content/docs/api/activities/createActivity.mdx
@@ -0,0 +1,17 @@
+---
+title: Create Activity
+full: true
+_openapi:
+ method: POST
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Create a new activity (system-generated event)
+---
+
+{/* 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 activity (system-generated event)
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/activity/create","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/activities/getActivities.mdx b/apps/docs/content/docs/api/activities/getActivities.mdx
new file mode 100644
index 000000000..88deb979f
--- /dev/null
+++ b/apps/docs/content/docs/api/activities/getActivities.mdx
@@ -0,0 +1,17 @@
+---
+title: Get Activities
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get all activities 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 activities for a specific task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/activity/{taskId}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/activities/meta.json b/apps/docs/content/docs/api/activities/meta.json
new file mode 100644
index 000000000..9a498c94e
--- /dev/null
+++ b/apps/docs/content/docs/api/activities/meta.json
@@ -0,0 +1,5 @@
+{
+ "title": "Activities",
+ "pages": ["createActivity", "getActivities"],
+ "defaultOpen": true
+}