summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-30 11:24:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-30 11:24:07 +0900
commit75c4c844e6d679cd94da59525801fdd879e780c1 (patch)
treeafbba7da50f7af3106e3e8d15e53ced1f726c041 /src/client
parentUpdate user.ts (diff)
downloadsharkey-75c4c844e6d679cd94da59525801fdd879e780c1.tar.gz
sharkey-75c4c844e6d679cd94da59525801fdd879e780c1.tar.bz2
sharkey-75c4c844e6d679cd94da59525801fdd879e780c1.zip
cw
Diffstat (limited to 'src/client')
-rw-r--r--src/client/docs/api/endpoints/posts/create.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/docs/api/endpoints/posts/create.yaml b/src/client/docs/api/endpoints/posts/create.yaml
index 11d9f40c54..d2d6e27fc7 100644
--- a/src/client/docs/api/endpoints/posts/create.yaml
+++ b/src/client/docs/api/endpoints/posts/create.yaml
@@ -11,6 +11,12 @@ params:
desc:
ja: "投稿の本文"
en: "The text of your post"
+ - name: "cw"
+ type: "string"
+ optional: true
+ desc:
+ ja: "コンテンツの警告。このパラメータを指定すると設定したテキストで投稿のコンテンツを隠す事が出来ます。"
+ en: "Content Warning"
- name: "mediaIds"
type: "id(DriveFile)[]"
optional: true