{
  "/post_message": {
    "description": "Post a new message to the queue.",
    "method": "POST",
    "request_format": {
      "action": "start | stop | run",
      "command": "command to run",
      "machine_id": "machine_name",
      "user_id": "user_name"
    },
    "response_format": {
      "message_id": "unique message id",
      "params_hash": "base64 encoded string of the original JSON"
    }
  },
  "/wait_for_message_status/<message_id>": {
    "description": "Check the status of a posted message and get the payload.",
    "method": "GET",
    "request_format": "URL Parameter: message_id",
    "response_format": {
      "message_id": "unique message id",
      "message_payload": "original message payload",
      "status": "current status of the message"
    }
  }
}
