Skip to content
Orillion logo
Soramitsu logo

Flagging a contribution

Protocol: HTTP

EncodingJSON

Endpoint/data/api/v1/contribution-management/contribution/flag

MethodPATCH

Parameters: —

Input/request structure:

Show
json5
'string'
'string'

Output/response structure:

Show
json5
{
  status: {
    code: 0, //integer($int32)
    name: 'string',
    message: 'string'
  },
  data: {
    rewarded: 0 //integer($int32)
  }
}
{
  status: {
    code: 0, //integer($int32)
    name: 'string',
    message: 'string'
  },
  data: {
    rewarded: 0 //integer($int32)
  }
}

Responses

Response CodeDescription
200Contribution has been flagged and its transaction data has been retrieved successfully.
400Invalid transaction.
500Internal server error.