Sharkey/src/server/web/docs/api/endpoints/posts/timeline.yaml

33 lines
1.1 KiB
YAML
Raw Normal View History

2017-12-16 05:04:02 +09:00
endpoint: "posts/timeline"
desc:
ja: "タイムラインを取得します。"
en: "Get your timeline."
params:
- name: "limit"
type: "number"
optional: true
desc:
ja: "取得する最大の数"
- name: "since_id"
type: "id(Post)"
optional: true
desc:
ja: "指定すると、この投稿を基点としてより新しい投稿を取得します"
2017-12-21 02:20:02 +09:00
- name: "until_id"
2017-12-16 05:04:02 +09:00
type: "id(Post)"
optional: true
desc:
ja: "指定すると、この投稿を基点としてより古い投稿を取得します"
- name: "since_date"
type: "number"
optional: true
desc:
ja: "指定した時間を基点としてより新しい投稿を取得します。数値は、1970 年 1 月 1 日 00:00:00 UTC から指定した日時までの経過時間をミリ秒単位で表します。"
2017-12-21 02:20:02 +09:00
- name: "until_date"
2017-12-16 05:04:02 +09:00
type: "number"
optional: true
desc:
ja: "指定した時間を基点としてより古い投稿を取得します。数値は、1970 年 1 月 1 日 00:00:00 UTC から指定した日時までの経過時間をミリ秒単位で表します。"