Requesting access to premium contributions by a certain peer
Protocol: HTTP
Encoding: JSON
Endpoint: /data/api/v1/premium-provider-management/application?peer={peerID}
Method: POST
Parameters:
Field | Value Type | Description |
---|---|---|
peer | string | A unique peer identifier. peer is a required parameter. See Retrieving all premium peer. |
Input/request structure:
A POST
request to the endpoint, where peer
is a unique peer identifier.
Output/response structure:
Show
json5
{
status: {
code: 0, //integer($int32)
name: 'string',
message: 'string'
},
data: [
{
domainId: 'string',
requestedByPeer: 'string',
status: 'PENDING' //Could be one of the following: PENDING, DECLINED, APPROVED, NONE
}
]
}
{
status: {
code: 0, //integer($int32)
name: 'string',
message: 'string'
},
data: [
{
domainId: 'string',
requestedByPeer: 'string',
status: 'PENDING' //Could be one of the following: PENDING, DECLINED, APPROVED, NONE
}
]
}
Responses
Response Code | Description |
---|---|
200 | Access to premium contributions by a certain peer has been requested. |
400 | The Entity field is not set. |
500 | Internal server error. |