Retrieving all premium peers
Protocol: HTTP
Encoding: JSON
Endpoint: /auth/api/v1/peer-management/premium
Method: GET
Parameters: —
Input/request structure:
A GET
request to the endpoint.
Output/response structure:
Show
json5
{
status: {
code: 0, //integer($int32)
name: 'string',
message: 'string'
},
data: [
{
peerId: 'string' //A unique identifier of a peer
}
]
}
{
status: {
code: 0, //integer($int32)
name: 'string',
message: 'string'
},
data: [
{
peerId: 'string' //A unique identifier of a peer
}
]
}
Responses
Response Code | Description |
---|---|
200 | All premium peers have been retrieved successfully. |
500 | Internal server error. |