summaryrefslogtreecommitdiff
path: root/src/client/docs/api
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-31 19:45:56 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-31 20:17:16 +0900
commit8c4143290735b39bc68bf98439b2735af1910518 (patch)
tree60fdc5c605b063026654764977b9b1ab11ab6439 /src/client/docs/api
parentデフォルトでドライブ容量は128MiBにした (diff)
downloadmisskey-8c4143290735b39bc68bf98439b2735af1910518.tar.gz
misskey-8c4143290735b39bc68bf98439b2735af1910518.tar.bz2
misskey-8c4143290735b39bc68bf98439b2735af1910518.zip
Set empty array instead of null to mediaIds property of posts
Diffstat (limited to 'src/client/docs/api')
-rw-r--r--src/client/docs/api/entities/post.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/docs/api/entities/post.yaml b/src/client/docs/api/entities/post.yaml
index 74d7973e38..da79866ba1 100644
--- a/src/client/docs/api/entities/post.yaml
+++ b/src/client/docs/api/entities/post.yaml
@@ -33,8 +33,8 @@ props:
type: "id(DriveFile)[]"
optional: true
desc:
- ja: "添付されているメディアのID"
- en: "The IDs of the attached media"
+ ja: "添付されているメディアのID (なければレスポンスでは空配列)"
+ en: "The IDs of the attached media (empty array for response if no media is attached)"
- name: "media"
type: "entity(DriveFile)[]"
optional: true