Skip to content

Commit 9c5de9d

Browse files
committed
docs(api): refresh the 26.11.2 reference and client migration guide
1 parent 33fe4ac commit 9c5de9d

28 files changed

Lines changed: 308 additions & 408 deletions

‎content/docs/api/26-11/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Memos API Reference (26.11.x)
55

66
## Overview
77

8-
This reference applies to Memos `26.11.x`. It is generated from the OpenAPI schema in `26.11.1`.
8+
This reference applies to Memos `26.11.x`. It is generated from the OpenAPI schema in `26.11.2`.
99

1010
## Base URL
1111

‎content/docs/api/26-11/memoservice/CreateMemo.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: Create Memo
33
description: |-
44
CreateMemo creates a memo owned by the authenticated user. The request body
55
is a Memo; set its Markdown content and visibility (defaults to PRIVATE).
6-
Requires authentication.
6+
Set memo.parent to create a comment on that memo, which must be readable by
7+
the caller and not archived. Requires authentication.
78
_openapi:
89
preload:
910
- ./openapi/26-11.yaml
@@ -17,7 +18,8 @@ _openapi:
1718
CreateMemo creates a memo owned by the authenticated user. The request
1819
body
1920
is a Memo; set its Markdown content and visibility (defaults to PRIVATE).
20-
Requires authentication.
21+
Set memo.parent to create a comment on that memo, which must be readable by
22+
the caller and not archived. Requires authentication.
2123
---
2224

2325
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

‎content/docs/api/26-11/memoservice/CreateMemoComment.mdx‎

Lines changed: 0 additions & 37 deletions
This file was deleted.

‎content/docs/api/26-11/memoservice/ListMemos.mdx‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: List Memos
33
description: |-
4-
ListMemos lists the memos the caller can read, excluding comments.
5-
Anonymous callers can list only when the instance allows public access.
4+
ListMemos lists the memos the caller can read, comments included. Narrow
5+
to top-level memos with the filter `parent == null`. Anonymous callers can
6+
list only when the instance allows public access.
67
_openapi:
78
preload:
89
- ./openapi/26-11.yaml
@@ -13,8 +14,10 @@ _openapi:
1314
headings: []
1415
contents:
1516
- content: >-
16-
ListMemos lists the memos the caller can read, excluding comments.
17-
Anonymous callers can list only when the instance allows public access.
17+
ListMemos lists the memos the caller can read, comments included.
18+
Narrow
19+
to top-level memos with the filter `parent == null`. Anonymous callers can
20+
list only when the instance allows public access.
1821
---
1922

2023
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

‎content/docs/api/26-11/memoservice/SetMemoRelations.mdx‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: Set Memo Relations
33
description: |-
4-
SetMemoRelations replaces the full set of mutable REFERENCE relations on a
5-
memo. COMMENT relations are immutable creation context and are rejected by
6-
this RPC. An empty list clears references without changing COMMENT.
7-
Requires the memo creator or an instance administrator.
4+
SetMemoRelations replaces the full set of relations on a memo with the
5+
provided list. An empty list clears them. Requires the memo creator or an
6+
instance administrator.
87
_openapi:
98
preload:
109
- ./openapi/26-11.yaml
@@ -15,11 +14,9 @@ _openapi:
1514
headings: []
1615
contents:
1716
- content: >-
18-
SetMemoRelations replaces the full set of mutable REFERENCE relations
19-
on a
20-
memo. COMMENT relations are immutable creation context and are rejected by
21-
this RPC. An empty list clears references without changing COMMENT.
22-
Requires the memo creator or an instance administrator.
17+
SetMemoRelations replaces the full set of relations on a memo with the
18+
provided list. An empty list clears them. Requires the memo creator or an
19+
instance administrator.
2320
---
2421

2522
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

‎content/docs/api/26-11/memoservice/meta.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"pages": [
44
"BatchGetLinkMetadata",
55
"CreateMemo",
6-
"CreateMemoComment",
76
"CreateMemoShare",
87
"DeleteMemo",
98
"DeleteMemoReaction",
@@ -12,7 +11,6 @@
1211
"GetMemo",
1312
"GetSharedMemo",
1413
"ListMemoAttachments",
15-
"ListMemoComments",
1614
"ListMemoReactions",
1715
"ListMemoRelations",
1816
"ListMemoShares",

content/docs/api/26-11/memoservice/ListMemoComments.mdx renamed to content/docs/api/26-11/userservice/ReorderMemoViews.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: List Memo Comments
2+
title: Reorder Views
33
description: |-
4-
ListMemoComments lists the active comments on a memo that the caller can
5-
read. Requires read access to the memo.
4+
ReorderMemoViews sets the order of a user's memo views, which is the order
5+
ListMemoViews returns them in. Only the user may call it.
66
_openapi:
77
preload:
88
- ./openapi/26-11.yaml
9-
method: GET
9+
method: POST
1010
webhook: false
1111
toc: []
1212
structuredData:
1313
headings: []
1414
contents:
1515
- content: >-
16-
ListMemoComments lists the active comments on a memo that the caller
17-
can
18-
read. Requires read access to the memo.
16+
ReorderMemoViews sets the order of a user's memo views, which is the
17+
order
18+
ListMemoViews returns them in. Only the user may call it.
1919
---
2020

2121
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
@@ -27,7 +27,7 @@ export default function Layout(props) {
2727
return (
2828
<>
2929
{props.children}
30-
<Comp document="./openapi/26-11.yaml" operations={[{"path":"/api/memos/{memo}/comments","method":"get"}]} />
30+
<Comp document="./openapi/26-11.yaml" operations={[{"path":"/api/users/{user}/views:reorder","method":"post"}]} />
3131
</>
3232
);
3333
}

‎content/docs/api/26-11/userservice/meta.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"ListUserStats",
3030
"ListUserWebhooks",
3131
"ListUsers",
32+
"ReorderMemoViews",
3233
"UpdateMemoView",
3334
"UpdateUser",
3435
"UpdateUserNotification",

‎content/docs/api/latest/memoservice/CreateMemo.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: Create Memo
33
description: |-
44
CreateMemo creates a memo owned by the authenticated user. The request body
55
is a Memo; set its Markdown content and visibility (defaults to PRIVATE).
6-
Requires authentication.
6+
Set memo.parent to create a comment on that memo, which must be readable by
7+
the caller and not archived. Requires authentication.
78
_openapi:
89
preload:
910
- ./openapi/latest.yaml
@@ -17,7 +18,8 @@ _openapi:
1718
CreateMemo creates a memo owned by the authenticated user. The request
1819
body
1920
is a Memo; set its Markdown content and visibility (defaults to PRIVATE).
20-
Requires authentication.
21+
Set memo.parent to create a comment on that memo, which must be readable by
22+
the caller and not archived. Requires authentication.
2123
---
2224

2325
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

‎content/docs/api/latest/memoservice/CreateMemoComment.mdx‎

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)