Group members
Get group member list
GET
/api/group_members/
Request Headers
field | Required | headers Description | example |
---|---|---|---|
web3mq-request-pubkey | Yes | your login keyapir's public key | 59daabd77706ba02a97c523513a2ceaed10e4275bd6 |
didkey | Yes | your did_type + ":" + did_value | eth:0xa1b1233fdfde |
Request Payload
Parameters in URL | Type | Required | Parameters Description |
---|---|---|---|
page | int | Yes | page number |
size | int | Yes | page size |
userid | string | Yes | userid |
timestamp | int | Yes | timestamp milliseconds |
web3mq_signature | string | Yes | use ed25519 base64 encode signature private key signing |
groupid | string | Yes | group id |
web3mq_signature signing rule
base64 encode
signature
web3mq_signature = ed25519 private key signing(userid + groupid + timestamp)
url query params
{
"userid": "your userid",
"groupid": "groupid",
"web3mq_signature": "web3mq_signature",
"timestamp": 1656991509327,
"page": 1,
"size": 20
}
response
Parameters | Type | Always Return | Parameters Description |
---|---|---|---|
code | int | Yes | result code, 0 means success, other code see msg's contents |
msg | string | Yes | result description |
data | dict | Yes | return includes response info |
{
"code": 0,
"msg": "ok",
"data": {
"total": 35,
"result": [
{
"userid": "userid"
}
]
}
}