Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
jtf
2015-08-07 16:53:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
230ff600108723e1e3328181c9313b827026bfe6
230ff600
1 parent
cffb64a2
Updated 环信添加好友系列接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
1 deletions
环信添加好友系列接口.md
环信添加好友系列接口.md
View file @
230ff60
...
...
@@ -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
}
]
```
...
...
Please
register
or
login
to post a comment