Hi All,

I have a VM running mistral api server at port 8989 on it. I was trying out
the API's. I was able to do

Request :
[GET] 192.168.56.103:8989/v2/executions

Response :
{
  "executions": [
    {
      "state_info": null,
      "created_at": "2017-04-17 08:34:39",
      "description": "",
      "state": "SUCCESS",
      "workflow_name": "my_workflow",
      "task_execution_id": null,
      "updated_at": "2017-04-17 08:34:40",
      "workflow_id": "8104b38b-a493-4b75-b6c5-02f7d7cbe3ba",
      "params": "{}",
      "input": "{\"names\": [\"John\", \"Mistral\", \"Ivan\",
\"Crystal\"]}",
      "id": "ecec10fe-3b7c-4d45-b83d-3f5d9f25fe93"
    },
    {
      "state_info": null,
      "created_at": "2017-04-17 08:40:12",
      "description": "",
      "state": "SUCCESS",
      "workflow_name": "my_workflow",
      "task_execution_id": null,
      "updated_at": "2017-04-17 08:40:14",
      "workflow_id": "8104b38b-a493-4b75-b6c5-02f7d7cbe3ba",
      "params": "{}",
      "input": "{\"names\": [\"John\", \"Mistral\", \"Ivan\",
\"Crystal\"]}",
      "id": "d01db85d-d627-4a84-b006-a138ec29f207"
    },
    {
      "state_info": null,
      "created_at": "2017-05-29 08:35:04",
      "description": "",
      "state": "SUCCESS",
      "workflow_name": "my_workflow",
      "task_execution_id": null,
      "updated_at": "2017-05-29 08:35:07",
      "workflow_id": "8104b38b-a493-4b75-b6c5-02f7d7cbe3ba",
      "params": "{}",
      "input": "{\"names\": [\"John\", \"Mistral\", \"Ivan\",
\"Crystal\"]}",
      "id": "389247d6-c9be-40b7-a19b-0c47adaffbc6"
    }
  ]
}

Now, I wanted to do [POST] 192.168.56.103:8989/v2/executions.


I don't know what wf_ex parameter is. Can someone suggest me with the
sample POST body for the above API?​


Cheers,
Sameer
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to