Skip to main content
Version: 0.2

Get approvals

Get approvals

Allows to obtain the list of requests for approvals received by the node. It can also be used, by means of the "status" parameter, to list the requests pending approval.

Path Parameters
  • id string required

    Approval's unique id

Query Parameters
  • status string

    Approval's status (possibilities: pending, obsolete, responded)

  • from string

    Id of initial approval

  • quantity integer

    Quantity of approvals requested

Responses

Approvals Data successfully retrieved


Schema array
  • id string

    Approval request identifier

  • reponse object
  • ApprovalResponseBody object
  • appr_req_hash string

    Hash of the request for approval

  • approved boolean

    Value specifying if it has been approved

  • SignatureBody object
  • signer string

    Signature of the issuer

  • timestamp int64

    Timestamp at which the signature was made

  • value string

    Signature value

  • request object
  • ApprovalRequestResponse object
  • event_request object
  • EventRequestBody object
    oneOf

  • Create object
  • governance_id string

    Governance identifier

  • name string

    Name of subject

  • namespace string

    Namespace to which the subject belongs

  • public_key string

    Public key of the subject

  • schema_id string

    Subject schema json identifier

  • SignatureBody object
  • signer string

    Signature of the issuer

  • timestamp int64

    Timestamp at which the signature was made

  • value string

    Signature value

  • gov_version int64

    Governance version

  • hash_prev_event string

    Previous event hash

  • patch

    Changes to be applied to the subject

  • sn int64

    Current sequence number of the subject

  • state_hash string

    Hash of the state

  • SignatureBody object
  • signer string

    Signature of the issuer

  • timestamp int64

    Timestamp at which the signature was made

  • value string

    Signature value

  • state string

    Possible values: [Pending, RespondedAccepted, RespondedRejected, Obsolete]

Loading...