This commit is contained in:
syuilo 2018-07-06 00:04:40 +09:00
parent 10e9d3f32f
commit fcfd9239c1
1 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,7 @@ export const meta = {
desc: {
ja: '投稿します。'
},
params: {
visibility: $.str.optional.or(['public', 'home', 'followers', 'specified', 'private']).note({
default: 'public',
@ -82,8 +83,10 @@ export const meta = {
}
})
},
res: {
data: {
type: 'object',
object: {
createdNote: {
type: 'entity(Note)',
desc: {