Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document streaming responses #21803

Open
1 task done
cowwoc opened this issue Jan 13, 2025 · 0 comments
Open
1 task done

Document streaming responses #21803

cowwoc opened this issue Jan 13, 2025 · 0 comments
Labels
status/triage Needs triage

Comments

@cowwoc
Copy link

cowwoc commented Jan 13, 2025

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

When the server responds to any endpoint that streams data, it returns a combination of the "stream", "aux" and "errorDetail" properties embedded in a JSON object. I've had to handle such properties based on empirical tests. Is the full list of properties and their meaning, format documented anywhere?

Location

https://docs.docker.com/reference/api/engine/version/v1.47/

Suggestion

Pages like https://docs.docker.com/reference/api/engine/version/v1.47/#tag/Image/operation/ImageBuild should explicitly mention the existence of a payload for an HTTP 200 response, explain the payload format, document all possible values and their meaning.

@cowwoc cowwoc added the status/triage Needs triage label Jan 13, 2025
@cowwoc cowwoc changed the title Document stream, aux, errorDetail Document streaming responses Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant