jtf

Updated 环信添加好友系列接口 (markdown)

... ... @@ -213,4 +213,52 @@
"alias": "rose"
}
]
```
\ No newline at end of file
```
----------------------------
####获取通知接口
接口地址:/notification/list
请求方式:GET
参数:
|参数 |是否必须 |说明 |
|---------|----------|---------|
|readed |否 |(true或false)|
|lastDate |否 |时间戳 |
返回值:
若不写参数,则返回当前用户所收到的所有未读通知。若写参数,则根据参数过滤结果并将过滤后的结果暴露给调用者。
```json
[
{
"id": "4028804749b2270e0149b22dddd60000",
"source": {
"id": 3145,
"username": "123@q.com",
"realName": "Ji",
"figureUrl": null,
"type": "STUDENT"
},
"target": {
"id": 3144,
"username": "19911218@qq.com",
"realName": null,
"figureUrl": null,
"type": "STUDENT"
},
"type": "USER_RELATIONSHIP_APPLY或USER_RELATIONSHIP_DENY或USER_RELATIONSHIP_PASS或VERIFY_PASS或VERIFY_DENY",
"body":通过
"readed": false,
"createAt": "2014-11-15T06:39:51.000+0000",
"updateAt": "2014-11-15T06:39:51.000+0000",
"version": 0
}
]
```
... ...