Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Wrap list offerings response in data object (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diane Huxley authored Mar 21, 2024
1 parent b1bcd62 commit 9888a37
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions specs/http-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ False


### Response
| Status | Body |
| ------------------ | --------------------- |
| `200: OK` | `Offering[]` |
| `400: Bad Request` | `{ errors: Error[] }` |
| Status | Body |
| ------------------ | ---------------------- |
| `200: OK` | `{ data: Offering[] }` |
| `400: Bad Request` | `{ errors: Error[] }` |

---

Expand Down Expand Up @@ -508,4 +508,4 @@ True
```

# References
* JSON:API spec: https://jsonapi.org/format/
* JSON:API spec: https://jsonapi.org/format/

0 comments on commit 9888a37

Please sign in to comment.