Skip to main content

My Subscribe Topic list


My Subscribe Topic list

GET /api/my_subscribe_topic_list/

Request Headers

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

Request Payload

Parameters in URLTypeRequiredParameters Description
useridstringYesuserid
timestampintYestimestamp milliseconds
web3mq_signaturestringYesuse ed25519 base64 encode signature see signing detail
pagenotYes
sizenotYes

web3mq_signature signing rule

base64 encode signature

web3mq_signature = ed25519 private key signing(userid + timestamp)

url query params

/api/my_subscribe_topic_list/?userid=userid&web3mq_signature=web3mq_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": [
{
"topicid": "topic:asdfasdfasdfa",
"topic_name": "topic name"
}
]
}