トピックメンバーの取得

メソッド

GET

URL

https://typetalk.com/api/v1/topics/:topicId/members/status

スコープ

topic.read

URLパラメーター

名前 説明
topicId 数値 トピックID

レスポンスの例

{
  "accounts": [
    {
      "account": {
        "id": 101,
        "name": "ahorowitz",
        "fullName": "AHorowitz",
        "suggestion": "AHorowitz",
        "imageUrl": "https://typetalk.com/accounts/101/profile_image.png?t=1403663549000",
        "isBot": false,
        "createdAt": "2014-06-25T02:32:29Z",
        "updatedAt": "2014-06-25T02:32:29Z"
      },
      "online": false
    },
    {
      "account": {
        "id": 105,
        "name": "brad",
        "fullName": "BradMarshalls",
        "suggestion": "BradMarshalls",
        "imageUrl": "https://typetalk.com/accounts/105/profile_image.png?t=1404009149000",
        "isBot": false,
        "createdAt": "2014-06-29T02:32:29Z",
        "updatedAt": "2014-06-29T02:32:29Z"
      },
      "online": false
    },
    {
      "account": {
        "id": 104,
        "name": "cooper",
        "fullName": "CooperDaChopper",
        "suggestion": "CooperDaChopper",
        "imageUrl": "https://typetalk.com/accounts/104/profile_image.png?t=1403922749000",
        "isBot": false,
        "createdAt": "2014-06-28T02:32:29Z",
        "updatedAt": "2014-06-28T02:32:29Z"
      },
      "online": false
    },
    {
      "account": {
        "id": 100,
        "name": "jessica",
        "fullName": "Jessica Fitzherbert",
        "suggestion": "Jessica Fitzherbert",
        "imageUrl": "https://typetalk.com/accounts/100/profile_image.png?t=1403577149000",
        "isBot": false,
        "createdAt": "2014-06-24T02:32:29Z",
        "updatedAt": "2014-06-24T02:32:29Z"
      },
      "online": false
    },
    {
      "account": {
        "id": 102,
        "name": "moss",
        "fullName": "Moss",
        "suggestion": "Moss",
        "imageUrl": "https://typetalk.com/accounts/102/profile_image.png?t=1403749949000",
        "isBot": false,
        "createdAt": "2014-06-26T02:32:29Z",
        "updatedAt": "2014-06-26T02:32:29Z"
      },
      "online": false
    },
    {
      "account": {
        "id": 103,
        "name": "stefhull",
        "fullName": "StefHull",
        "suggestion": "StefHull",
        "imageUrl": "https://typetalk.com/accounts/103/profile_image.png?t=1403836349000",
        "isBot": false,
        "createdAt": "2014-06-27T02:32:29Z",
        "updatedAt": "2014-06-27T02:32:29Z"
      },
      "online": false
    }
  ],
  "pendings": []
}

レスポンスのフォーマットは全てJSONです。GETメソッドはETagに対応しているので、If-None-Match ヘッダを付けて送ると、変更がない場合は304を返します。日付のフォーマットは ISO 8601 で、UTC です。 (例 : 2014-01-09T06:20:08Z )