セッションを取得する。
{
"updated_at":"2016-12-25 08:34:05",
"inserted_at":"2016-12-25 08:34:05",
"id":7,
"email":"info@tai2.net",
"display_name":"tai2",
"avatar_url":"https://secure.gravatar.com/avatar/b7f799d31a76215358b8364a2654c245"
}
emailからアミシ情報を取得する。
{
"updated_at":"2016-12-25 08:34:05",
"inserted_at":"2016-12-25 08:34:05",
"id":7,
"email":"info@tai2.net",
"display_name":"tai2",
"avatar_url":"https://secure.gravatar.com/avatar/b7f799d31a76215358b8364a2654c245"
}
アミシのコト一覧を取得する。
[
{
"updated_at":"2017-02-01 14:38:32",
"posted_in":{
"updated_at":"2017-02-01 12:58:59",
"name":"テスト",
"key":"qcqshmvikch68tkh",
"inserted_at":"2017-02-01 12:58:59",
"id":39,
"coto_id":-1
},
"inserted_at":"2017-02-01 14:38:32",
"id":280,
"cotonoma_key":"mnmdm93100om4v9j",
"content":"aaaaa",
"as_cotonoma":true
},
{
"updated_at":"2017-02-01 12:58:59",
"posted_in":{
"updated_at":"2017-02-01 12:19:01",
"name":"間3",
"key":"esll1ureuculekv3",
"inserted_at":"2017-02-01 12:19:01",
"id":38,
"coto_id":-1
},
"inserted_at":"2017-02-01 12:58:59",
"id":279,
"cotonoma_key":"qcqshmvikch68tkh",
"content":"テスト",
"as_cotonoma":true
}
]
コトを投稿する。
リクエスト
{
"coto":{
"cotonoma_id":40,
"postId":1,
"content":"テスト"
}
}
レスポンス
{
"postId":1,
"updated_at":"2017-02-26 06:35:37",
"posted_in":null,
"inserted_at":"2017-02-26 06:35:37",
"id":560,
"cotonoma_key":"",
"content":"テスト",
"as_cotonoma":false
}
レスポンスは空。
アミシのコトノマ一覧を取得する。
[
{
"updated_at":"2017-01-31 11:09:48",
"name":"間",
"key":"mt9u3qlda0r9joif",
"inserted_at":"2017-01-31 11:09:48",
"id":28,
"coto_id":253
},
{
"updated_at":"2017-01-31 12:05:52",
"name":"間2",
"key":"9tprql4a4ic8cscc",
"inserted_at":"2017-01-31 12:05:52",
"id":29,
"coto_id":255
}
]
コノトマを作成する。
リクエスト
{
"cotonoma":{
"cotonoma_id":null,
"postId":1,
"name":"サンプルコトノマ",
"members":[
{
"email":"work@tai2.net"
}
]
}
}
レスポンス
{
"postId":1,
"updated_at":"2017-02-26 06:51:09",
"posted_in":null,
"inserted_at":"2017-02-26 06:51:09",
"id":567,
"cotonoma_key":"tp2re1drdj106s8d",
"content":"サンプルコトノマ",
"as_cotonoma":true
}
コトノマに属するコト一覧を取得する。
{
"cotos":[
{
"updated_at":"2017-02-01 12:58:59",
"posted_in":{
"updated_at":"2017-02-01 12:19:01",
"name":"間3",
"key":"esll1ureuculekv3",
"inserted_at":"2017-02-01 12:19:01",
"id":38,
"coto_id":-1
},
"inserted_at":"2017-02-01 12:58:59",
"id":279,
"cotonoma_key":"qcqshmvikch68tkh",
"content":"テスト",
"as_cotonoma":true
},
{
"updated_at":"2017-02-01 12:19:12",
"posted_in":{
"updated_at":"2017-02-01 12:19:01",
"name":"間3",
"key":"esll1ureuculekv3",
"inserted_at":"2017-02-01 12:19:01",
"id":38,
"coto_id":-1
},
"inserted_at":"2017-02-01 12:19:12",
"id":278,
"cotonoma_key":"",
"content":"投稿",
"as_cotonoma":false
}
],
"cotonoma":{
"updated_at":"2017-02-01 12:19:01",
"name":"間3",
"key":"esll1ureuculekv3",
"inserted_at":"2017-02-01 12:19:01",
"id":38,
"coto_id":277
}
}
認証用のメールを送信する。
- save_anonymous: 'yes' OR 'no'
レスポンス
ok