GET LABEL STATE

description

  1. NAME:
  2. get_label_state: get label's state
  3. SYNOPSIS
  4. curl -u user:passwd http://host:port/api/{db}/{label}/_state
  5. DESCRIPTION
  6. Check the status of a transaction
  7. RETURN VALUES
  8. Return of JSON format string of the status of specified transaction:
  9. Label: The specified label.
  10. Status: Success or not of this request.
  11. Message: Error messages
  12. State:
  13. UNKNOWN/PREPARE/COMMITTED/VISIBLE/ABORTED
  14. ERRORS

example

  1. 1. Get status of label "testLabel" on database "testDb"
  2. curl -u root http://host:port/api/testDb/testLabel/_state

keyword

  1. GET, LABEL, STATE