Friend.md 8.5 KB

Friend好友列表相关


GetReadSayHelloContactList获取已读打招呼的联系人列表

GET

/stub-api/v1_1/friend/get_read_say_hello_contact_list

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |page | |int|true|

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |pages | |Models.Page|true| |list |列表信息|Models.ListFriend[]|true|

GetUnReadSayHelloContactList获取新的打招呼的联系人列表

GET

/stub-api/v1_1/friend/get_un_read_say_hello_contact_list

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |page | |int|true|

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |pages | |Models.Page|true| |list |列表信息|Models.ListFriend[]|true|

GetFriendList全部好友联系人列表

GET

/stub-api/v1_1/friend/get_friend_list

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |listFriends | |Models.ListFriend[]|true|

GetEachLikeContacts相互心动联系人列表

GET

/stub-api/v1_1/friend/get_each_like_contacts

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |listFriend |列表信息|Models.ListFriend[]|true|

GetStarContactList星标联系人列表

GET

/stub-api/v1_1/friend/get_star_contact_list

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |listFriend | |Models.ListFriend[]|true|

GetContactList全部联系人列表

GET

/stub-api/v1_1/friend/get_contact_list

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |listFriend | |Models.ListFriend[]|true|

GetSendFriendApplyList发出的好友申请列表

GET

/stub-api/v1_1/friend/get_send_friend_apply_list

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |page | |int|true|

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |pages | |Models.Page|true| |list | |Models.ListFriendApply[]|true|

GetReceiveFriendApplyList收到的好友申请列表

GET

/stub-api/v1_1/friend/get_receive_friend_apply_list

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |page | |int|true|

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |pages | |Models.Page|true| |list | |Models.ListFriendApply[]|true|

GetAllFriendApplies全部好友申请列表

POST

/stub-api/v1_1/friend/get_all_friend_applies

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |page | |int|true|

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |pages | |Models.Page|true| |list | |Models.ListFriendApply[]|true|

FriendApplyMsgOverview好友申请消息概览

POST

/stub-api/v1_1/friend/friend_apply_msg_overview

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |total | |int|true| |sendApplies | |int|true| |receiveApplies | |int|true|

UnStarContact取消星标联系人

POST

/stub-api/v1_1/friend/un_star_contact

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

StarContact星标联系人

POST

/stub-api/v1_1/friend/star_contact

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

DeleteContact删除联系人

POST

/stub-api/v1_1/friend/delete_contact

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

UnBlacklistContact取消拉黑联系人

POST

/stub-api/v1_1/friend/un_blacklist_contact

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

BlacklistContact拉黑联系人

POST

/stub-api/v1_1/friend/blacklist_contact

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

ChangeContactNote更新用户备注

POST

/stub-api/v1_1/friend/change_contact_note

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true| |note | |String|true|

RefuseFriendApply拒绝好友申请

POST

/stub-api/v1_1/friend/refuse_friend_apply

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid |联系人|int|true|

AgreeFriendApply同意好友申请

POST

/stub-api/v1_1/friend/agree_friend_apply

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid |联系人|int|true|

SendFriendApply发起好友申请

POST

/stub-api/v1_1/friend/send_friend_apply

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid |被申请的用户|int|true|

RefusePairFriendApply拒绝分配对象活动邀请

POST

/stub-api/v1_1/friend/refuse_pair_friend_apply

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

AgreePairFriendApply同意分配对象活动邀请

POST

/stub-api/v1_1/friend/agree_pair_friend_apply

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

SendPairFriendApply发起分配对象活动邀请

POST

/stub-api/v1_1/friend/send_pair_friend_apply

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

GetContact获取某个联系人信息

POST

/stub-api/v1_1/friend/get_contact

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |contactUid | |int|true|

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |isUnHandlerFriendApply | |boolean|true| |friendLevel | |Enums.FriendLevel|true| |is_blacklist | |int|true| |star_at | |int| | |contact | |Models.ContactUser|true|