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
chong
2015-10-12 12:10:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d3d56ac8a15798cecc89b04319800bedb6d77dd0
d3d56ac8
1 parent
cc0c6dd9
Created 用户单词同步 (markdown)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
0 deletions
用户单词同步.md
用户单词同步.md
0 → 100644
View file @
d3d56ac
###接口地址
```
`
/event/statistic/synchronize/word
```
`
###请求方式
```
`
POST请求
```
`
###URL参数
access_token
last_update_time 默认0
###POST内容
```
`
[
{
"key": "phrase",
"count": 1,
"segmentation": {
"userId": 7,
"phrase": "Don't speak to unfamiliar persons.",
"template": 101
},
"timestamp": 1399459252,
"sum": 0
},
{
"key": "word",
"count": 1,
"segmentation": {
"userId": 7,
"word": "Dont",
"template": 101
},
"timestamp": 1399459252,
"sum": 0
},
{
"key": "word",
"count": 1,
"segmentation": {
"userId": 7,
"word": "speak",
"template": 101
},
"timestamp": 1399459252,
"sum": 0
}
]
```
`
###返回值
有返回值
```
json
{
updateTime:
"请求用户单词统计的最后更新时间"
,
wordList
:[
{
word:
"apple"
,
template
:
101
,
count
:
3
},
{
word:
"desk"
,
template
:
101
,
count
:
1
}
],
phraseList
:
[
{
phrase:
”anredapple”,
template:
101,
count:
3
},
{
phrase:
”anewdesk”,
template:
101,
count:
1
}
]
}
```
无返回值
```
java
httpcode:
404
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment