Skip to content
Orillion logo
Soramitsu logo

Requesting access to premium contributions by a certain peer

Protocol: HTTP

EncodingJSON

Endpoint/data/api/v1/premium-provider-management/application?peer={peerID}

MethodPOST

Parameters:

FieldValue TypeDescription
peerstringA 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 CodeDescription
200Access to premium contributions by a certain peer has been requested.
400The Entity field is not set.
500Internal server error.