Skip to main content

Get My Follower list

Get My Follower list

GET /api/user_followers/

Request Headers

fieldRequiredheaders Descriptionexample
web3mq-request-pubkeyYesyour login keyapir's public key59daabd77706ba022ceaed10e4275bd6
didkeyYesyour did_type + ":" + did_valueeth:0xa1b1233fdfde

Request Payload

Parameters in URLTypeRequiredParameters Description
useridstringYes
timestampintYestimestamp milliseconds
web3mq_user_signaturestringYesuse ed25519 base64 encode web3mq_signature see signing detail
pageintNo
sizeintNo

web3mq_user_signature signing rule

web3mq_user_signature = ed25519 private key signing(userid + timestamp)

url query params

/api/user_followers/?userid=userid&web3mq_user_signature=web3mq_user_signature&timestamp=timestamp&page=1&size=20

response

ParametersTypeAlways ReturnParameters Description
codeintYesresult code, 0 means success, other code see msg's contents
msgstringYesresult description
{
"code": 0,
"msg": "ok",
"data": {
"total_count": 10,
"user_list": [
{
"userid": "user:asdfasdfasdfa",
"follow_status": "following"
},
{
"userid": "user:53245",
"follow_status": "follow_each"
}
]
}
}