summaryrefslogtreecommitdiff
path: root/src/client/docs
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-31 19:53:30 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-31 20:30:28 +0900
commit7da60a0147116130a94274e4a20ae54dd7d59dea (patch)
tree442514d76f90ede80906659b14d5f7bbc531d32a /src/client/docs
parentSet empty array instead of null to mediaIds property of posts (diff)
downloadsharkey-7da60a0147116130a94274e4a20ae54dd7d59dea.tar.gz
sharkey-7da60a0147116130a94274e4a20ae54dd7d59dea.tar.bz2
sharkey-7da60a0147116130a94274e4a20ae54dd7d59dea.zip
Store texts as HTML
Diffstat (limited to 'src/client/docs')
-rw-r--r--src/client/docs/api/entities/post.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/docs/api/entities/post.yaml b/src/client/docs/api/entities/post.yaml
index da79866ba1..7077700129 100644
--- a/src/client/docs/api/entities/post.yaml
+++ b/src/client/docs/api/entities/post.yaml
@@ -27,8 +27,14 @@ props:
type: "string"
optional: true
desc:
- ja: "投稿の本文"
- en: "The text of this post"
+ ja: "投稿の本文 (ローカルの場合Markdown風のフォーマット)"
+ en: "The text of this post (in Markdown like format if local)"
+ - name: "textHtml"
+ type: "string"
+ optional: true
+ desc:
+ ja: "投稿の本文 (HTML) (投稿時は無視)"
+ en: "The text of this post (in HTML. Ignored when posting.)"
- name: "mediaIds"
type: "id(DriveFile)[]"
optional: true