Skip to main content
Version: 0.3

Emit approval for request

Emit approval for request

Allows you to issue an affirmative or negative approval for a previously received request.

Path Parameters
  • id string required

    Approval's unique id

Request Body required

Vote of the user for an existing request

    oneOf

  • state string required

    Possible values: [RespondedAccepted]

Responses

Request successfully voted


Schema
  • 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...