Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

api docs (ja)

Marihachi edited this page Apr 28, 2018 · 39 revisions

まだ内容は多くありません

オブジェクト

User

{
    "user": {
        "createdAt": 1500702964,
        "description": "data",
        "followersCount": 3,
        "followingsCount": 5,
        "iconFileId": "5a813952bf8f203120a6b189",
        "id": "5972e8f4d61aea367cbf6972",
        "name": "aaa",
        "postsCount": {
            "status": 173
        },
        "screenName": "testuser2"
    }
}

エンドポイント


目次


新しいStatusポストを投稿する

POST /posts/post_status

パラメータ

パラメータ名 備考
text string 必須。ポストの本文を指定します。
attachments fileId[] 添付するメディアのIDを配列で指定します。

リクエスト例

{ "text": "piyo" }

レスポンス

status: 200 OK
{
    "postStatus": {
        "createdAt": 1524890102,
        "id": "5ae3f9f630f9d22b8499f162",
        "text": "piyo",
        "type": "status",
        "user": { "Userオブジェクトが入ります" },
        "userId": "5972e8f4d61aea367cbf6972"
    }
}
Clone this wiki locally