This commit is contained in:
syuilo 2017-12-14 22:36:04 +09:00
parent 5166fc92b6
commit 5b66410031
3 changed files with 45 additions and 21 deletions

View file

@ -7,7 +7,7 @@ desc:
params:
- name: "text"
type: "string"
optional: false
optional: true
desc:
ja: "投稿の本文"
en: "Text of a post"
@ -30,20 +30,19 @@ params:
ja: "引用する投稿"
en: "A post you want to quote"
- name: "poll"
type: "object(poll)"
type: "object"
optional: true
desc:
ja: "投票"
en: "A poll"
paramDefs:
poll:
- name: "choices"
type: "string[]"
optional: false
desc:
ja: "投票の選択肢"
en: "Choices of a poll"
defName: "poll"
def:
- name: "choices"
type: "string[]"
optional: false
desc:
ja: "投票の選択肢"
en: "Choices of a poll"
res:
- name: "created_post"