Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add API_cluster #1

Merged
merged 1 commit into from
Jun 14, 2021
Merged

add API_cluster #1

merged 1 commit into from
Jun 14, 2021

Conversation

geun9716
Copy link
Member

getClusterAll, getClusterId 구현

getClusterAll : /cluster
-> 클러스터Topic에 5개씩 전체 클러스터 정보 리턴

RESULT

{
"clusterInfo": [
{
"cId": 1,
"count": 1018,
"Topic": ["북한", "도널드트럼프", "정상회담", "미국", "김정은"],
"summary": "",
"img": ""
},
{
"cId": 2,
"count": 22,
"Topic": ["북한","대사","이탈리아","대리","조"],
"summary": "",
"img": ""
},
...
}
getClusterId : /cluster/:cId
-> cId의 특정 클러스터 정보 리턴

RESULT

{
"clusterInfo": [
{
"cId": 1,
"count": 1018,
"Topic": [
"북한",
"도널드트럼프",
"정상회담",
"미국",
"김정은",
"핵",
"중국",
"협상",
"회담",
"북미",
"차",
"대통령",
"정상",
"하노이",
"대화",
"문재인",
"미",
"주석",
"간",
"무역"
],
"summary": "",
"img": ""
}
]
}

@Rudezoo Rudezoo merged commit 7fbf150 into develop Jun 14, 2021
@geun9716 geun9716 deleted the API_Cluster branch June 14, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants