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 time entry endpoint documentation

Andrej Acevski2daeb1e83556
diff --git a/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx b/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx
new file mode 100644
index 000000000..a7f1ca0df
--- /dev/null
+++ b/apps/docs/content/docs/api/time-entries/createTimeEntry.mdx
@@ -0,0 +1,17 @@
+---
+title: Create Time Entry
+full: true
+_openapi:
+ method: POST
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Create a new time entry for 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. */}
+
+Create a new time entry for a task
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry","method":"post"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx b/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx
new file mode 100644
index 000000000..433aad7db
--- /dev/null
+++ b/apps/docs/content/docs/api/time-entries/getTimeEntry.mdx
@@ -0,0 +1,17 @@
+---
+title: Get Time Entry
+full: true
+_openapi:
+ method: GET
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Get a specific time entry 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 time entry by ID
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry/{id}","method":"get"}]} />
\ No newline at end of file
diff --git a/apps/docs/content/docs/api/time-entries/meta.json b/apps/docs/content/docs/api/time-entries/meta.json
new file mode 100644
index 000000000..be574c5f9
--- /dev/null
+++ b/apps/docs/content/docs/api/time-entries/meta.json
@@ -0,0 +1,5 @@
+{
+ "title": "Time Entries",
+ "pages": ["createTimeEntry", "getTimeEntry", "updateTimeEntry"],
+ "defaultOpen": true
+}
diff --git a/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx b/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx
new file mode 100644
index 000000000..d8a98b902
--- /dev/null
+++ b/apps/docs/content/docs/api/time-entries/updateTimeEntry.mdx
@@ -0,0 +1,17 @@
+---
+title: Update Time Entry
+full: true
+_openapi:
+ method: PUT
+ toc: []
+ structuredData:
+ headings: []
+ contents:
+ - content: Update an existing time entry
+---
+
+{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
+
+Update an existing time entry
+
+<APIPage document={"./openapi.json"} operations={[{"path":"/time-entry/{id}","method":"put"}]} />
\ No newline at end of file