Skip to content

Structured JSON response from GET operationΒ #53

@davidjgoss

Description

@davidjgoss

πŸ€” What's the problem you're trying to solve?

If a tool has made a GET request to kick off a publishing process, the end user URL is part of the terminal-formatted message in the response, and if you want to do something with that you have to parse it out of there.

✨ What's your proposed solution?

Make a backwards-compatible change to the API, so with an Accept: application/json header you get a structured JSON response that includes the message but also the URL as its own field.

⛏ Have you considered any alternatives or workarounds?

A custom header would also work, but I like this better on balance.

πŸ“š Any additional context?

cucumber/cucumber-js#1797)

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