Skip to content

Commit 1854aaf

Browse files
boojackmemoclaw
andauthored
docs(api): add Memos 0.27.x reference (#263)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
1 parent 2e36aca commit 1854aaf

82 files changed

Lines changed: 4864 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Transcribe
3+
description: Transcribe transcribes an audio file using an instance AI provider.
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: Transcribe transcribes an audio file using an instance AI provider.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/ai:transcribe","method":"post"}]} />
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"title": "AI Service",
3+
"pages": ["Transcribe"]
4+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Batch Delete Attachments
3+
description: BatchDeleteAttachments deletes multiple attachments in one request.
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: BatchDeleteAttachments deletes multiple attachments in one request.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/attachments:batchDelete","method":"post"}]} />
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Create Attachment
3+
description: CreateAttachment creates a new attachment.
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: CreateAttachment creates a new attachment.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/attachments","method":"post"}]} />
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Delete Attachment
3+
description: DeleteAttachment deletes an attachment by name.
4+
_openapi:
5+
method: DELETE
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: DeleteAttachment deletes an attachment by name.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/attachments/{attachment}","method":"delete"}]} />
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Get Attachment
3+
description: GetAttachment returns an attachment by name.
4+
_openapi:
5+
method: GET
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: GetAttachment returns an attachment by name.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/attachments/{attachment}","method":"get"}]} />
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: List Attachments
3+
description: ListAttachments lists all attachments.
4+
_openapi:
5+
method: GET
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: ListAttachments lists all attachments.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/attachments","method":"get"}]} />
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Update Attachment
3+
description: UpdateAttachment updates an attachment.
4+
_openapi:
5+
method: PATCH
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: UpdateAttachment updates an attachment.
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/attachments/{attachment}","method":"patch"}]} />
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"title": "Attachment Service",
3+
"pages": ["BatchDeleteAttachments", "CreateAttachment", "DeleteAttachment", "GetAttachment", "ListAttachments", "UpdateAttachment"]
4+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Get Current User
3+
description: |-
4+
GetCurrentUser returns the authenticated user's information.
5+
Validates the access token and returns user details.
6+
Similar to OIDC's /userinfo endpoint.
7+
_openapi:
8+
method: GET
9+
toc: []
10+
structuredData:
11+
headings: []
12+
contents:
13+
- content: |-
14+
GetCurrentUser returns the authenticated user's information.
15+
Validates the access token and returns user details.
16+
Similar to OIDC's /userinfo endpoint.
17+
---
18+
19+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
20+
21+
<APIPage document={"./openapi/0-27-1.yaml"} operations={[{"path":"/api/v1/auth/me","method":"get"}]} />

0 commit comments

Comments
 (0)