Post --> Note

Closes #1411
This commit is contained in:
syuilo 2018-04-08 02:30:37 +09:00
parent c7106d250c
commit a1b490afa7
167 changed files with 4440 additions and 1762 deletions

View file

@ -1,8 +1,8 @@
endpoint: "posts/create"
endpoint: "notes/create"
desc:
ja: "投稿します。"
en: "Compose new post."
en: "Compose new note."
params:
- name: "text"
@ -10,7 +10,7 @@ params:
optional: true
desc:
ja: "投稿の本文"
en: "The text of your post"
en: "The text of your note"
- name: "cw"
type: "string"
optional: true
@ -24,17 +24,17 @@ params:
ja: "添付するメディア(1~4つ)"
en: "Media you want to attach (1~4)"
- name: "replyId"
type: "id(Post)"
type: "id(Note)"
optional: true
desc:
ja: "返信する投稿"
en: "The post you want to reply"
- name: "repostId"
type: "id(Post)"
en: "The note you want to reply"
- name: "renoteId"
type: "id(Note)"
optional: true
desc:
ja: "引用する投稿"
en: "The post you want to quote"
en: "The note you want to quote"
- name: "poll"
type: "object"
optional: true
@ -51,9 +51,9 @@ params:
en: "Choices of a poll"
res:
- name: "createdPost"
type: "entity(Post)"
- name: "createdNote"
type: "entity(Note)"
optional: false
desc:
ja: "作成した投稿"
en: "A post that created"
en: "A note that created"

View file

@ -1,4 +1,4 @@
endpoint: "posts/timeline"
endpoint: "notes/timeline"
desc:
ja: "タイムラインを取得します。"
@ -11,12 +11,12 @@ params:
desc:
ja: "取得する最大の数"
- name: "sinceId"
type: "id(Post)"
type: "id(Note)"
optional: true
desc:
ja: "指定すると、この投稿を基点としてより新しい投稿を取得します"
- name: "untilId"
type: "id(Post)"
type: "id(Note)"
optional: true
desc:
ja: "指定すると、この投稿を基点としてより古い投稿を取得します"