A test pyramid depicts that when works test cases there should be essentially more low-level unit tests than strange state end-to-end tests.
While talking about HTTP APIs, it may come down to this:
- A lot of low-level unit tests for your models
- Less joining tests, where your test how your models team up with each other
- Essentially fewer affirmation tests, where you test the certifiable HTTP endpoints