-
Notifications
You must be signed in to change notification settings - Fork 1
Tags
Leeyoujin edited this page Feb 21, 2021
·
5 revisions
user following/unfollowing tags user following tag list
[req] POST /tag/following
header : {
authorization : token (String)
}
{
tag_name: tag_name (String) // follwing/unfollowing하는 tag이름
following: 'following' or 'unfollowing'(String)
}
[res]
status code : 200
{
msg: 'following tag_name' (String) // or unfollowing tag_name
}
status code : 400
[req] GET /tag/following/list/:user_id
header : {
authorization: token (String)
}
[res]
status code : 200
{
'msg': 'user following tags',
'tags' : ['trip', 'book'] or 'No following tags'
}
status code : 400
{
'msg':`Invalid user id`
}