Skip to content

faultstring action is a required property #5989

Description

@doing-cr7

flowing this post https://api.stackstorm.com/api/v1/executions/#/action_executions_controller.post
CleanShot 2023-06-15 at 16 34 58@2x

i try execute a post of HTTP

curl -X POST http://st2/api/v1/executions -H "St2-Api-Key: NTEQ" --data-binary '{"action":"core.remote", "parameters": {"cmd": "docker restart nginx","hosts": "10.0.0.1","username": "root","port": 22}}'

but i get a unexpected respone

{"faultstring":"'action' is a required property"}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions