aboutsummaryrefslogtreecommitdiffstats
path: root/notes/more_api_patterns.txt
blob: ca61ac81bc378bd10a49376f49682dc5a58afc3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

If returning a long list (eg, all releases for a container):

  "releases": {
    "data": [
        <release>,
        <release>,
        ...
    ],
    "has_mode": true,
    "total_count": 100,
    "url": "/v0/container/asdf/releases"
  }

This pattern from the Stripe API.