summaryrefslogtreecommitdiff
path: root/src/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/api')
-rw-r--r--src/docs/api/entities/note.yaml12
-rw-r--r--src/docs/api/entities/user.yaml8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/docs/api/entities/note.yaml b/src/docs/api/entities/note.yaml
index cae9a53f82..6654be2b02 100644
--- a/src/docs/api/entities/note.yaml
+++ b/src/docs/api/entities/note.yaml
@@ -33,19 +33,19 @@ props:
ja-JP: "投稿の本文"
en-US: "The text of this note"
- mediaIds:
+ fileIds:
type: "id(DriveFile)[]"
optional: true
desc:
- ja-JP: "添付されているメディアのID (なければレスポンスでは空配列)"
- en-US: "The IDs of the attached media (empty array for response if no media is attached)"
+ ja-JP: "添付されているファイルのID (なければレスポンスでは空配列)"
+ en-US: "The IDs of the attached files (empty array for response if no files is attached)"
- media:
+ files:
type: "entity(DriveFile)[]"
optional: true
desc:
- ja-JP: "添付されているメディア"
- en-US: "The attached media"
+ ja-JP: "添付されているファイル"
+ en-US: "The attached files"
userId:
type: "id(User)"
diff --git a/src/docs/api/entities/user.yaml b/src/docs/api/entities/user.yaml
index c90b55ee88..e3755d8585 100644
--- a/src/docs/api/entities/user.yaml
+++ b/src/docs/api/entities/user.yaml
@@ -101,15 +101,15 @@ props:
ja-JP: "投稿の数"
en-US: "The number of the notes of this user"
- pinnedNote:
- type: "entity(Note)"
+ pinnedNotes:
+ type: "entity(Note)[]"
optional: true
desc:
ja-JP: "ピン留めされた投稿"
en-US: "The pinned note of this user"
- pinnedNoteId:
- type: "id(Note)"
+ pinnedNoteIds:
+ type: "id(Note)[]"
optional: true
desc:
ja-JP: "ピン留めされた投稿のID"