Skip to content

Commit

Permalink
Tweak note about default behavior if no Accept header
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jul 8, 2024
1 parent 57f992f commit de4405c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ info:
When handling requests, the server should return a 415 status code if the "Content-Type" header in the request specifies a format
that is not supported. Similarly, it should return a 406 status code if none of the content types specified in the "Accept" header
of the request are supported or alternatively, default to return data in JSON format.
of the request are supported; if no "Accept" header is provided then it is assumed to be "application/json".
API endpoints are individually versioned. As such, there is no direct relationship between all v1 endpoints, all v2 endpoints,
_etc._ and no such relationship should be inferred. All JSON responses return the requested data under a `data` key in the top
Expand Down

0 comments on commit de4405c

Please sign in to comment.