Skip to content

Wrong path in the examples for the Stream API endpoint #952

Closed

Description

@winem

The documentation at https://docs.stackstorm.com/reference/action_output_streaming.html#via-the-special-purpose-execution-output-stackstorm-stream-api-endpoint lists /v1/stream/executions/<execution id>/output[?output_type=stdout/stderr/other] as endpoint.

Using that endpoint with Stackstorm 3.1 returns an error that the resource could not be found.

Example:

curl -Lk  -H 'content-type: application/json' -H "St2-Api-Key: my-super-secret-api-key" https://localhost/api/v1/stream/executions/last/output
{
    "faultstring": "The resource could not be found."
}```

The correct path is `/stream/v1/executions/<execution-id>/output[?output_type=stdout/stderr/other]`. This also matches the API docs here: 
https://api.stackstorm.com/stream/v1/executions/#/action_execution_output_controller.get_one
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions