]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Include 'first', 'last' refs in 'Link' header
authorStephen Finucane <stephen@that.guru>
Tue, 14 Apr 2020 09:46:05 +0000 (10:46 +0100)
committerStephen Finucane <stephen@that.guru>
Fri, 6 May 2022 18:51:04 +0000 (19:51 +0100)
commit838ebe34d5bc239e4576fccdb476dfb5f0b549f5
tree19dc3e7591002c5df15077a04d0b8dbcd2db012e
parentd45df8c0f1cec91c682c894ae0196b57741bb5b7
REST: Include 'first', 'last' refs in 'Link' header

I've no idea why this wasn't done from day one, but it's a huge
usability win for anyone attempting to do pagination with this header.
Note that this change is not versioned as I haven't figured out how to
do that at this layer.

Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/api/schemas/latest/patchwork.yaml
docs/api/schemas/patchwork.j2
docs/api/schemas/v1.0/patchwork.yaml
docs/api/schemas/v1.1/patchwork.yaml
docs/api/schemas/v1.2/patchwork.yaml
docs/api/schemas/v1.3/patchwork.yaml
patchwork/api/base.py
releasenotes/notes/improved-rest-pagination-headers-4140a70044bbd6cf.yaml [new file with mode: 0644]