Get the next or previous post in a search
Changed onReturns the post that comes after (or before, with seq=prev) the given post within the supplied tag search. Falls back to the given post itself when the search yields nothing.
When v2=true, the response uses the v2 Post format selected by mode (basic default, extended, or thumbnail). Otherwise the legacy format wrapped in { "post": {...} } is returned.
Request
- Base URL: https://e621.net
- URL: https://e621.net/posts/{id}/show_seq.json
- Auth: one of:
- none
- HTTP basic
- API key in query parameter login and API key in query parameter api_key
Path parameters
The unique ID of the post to move away from
Query parameters
Direction to move in the sequence. prev moves backwards. Any other value moves forwards.
The tag search the sequence is taken from. Takes precedence over tags.
The tag search the sequence is taken from. Used when q is absent.
If "true", the response uses the v2 Post format. Otherwise the legacy format is returned.
Selects the v2 Post payload shape. Only effective when v2=true. Default basic.
Response
Successful response containing the neighbouring post
Changes
- ○
endpoint added
- ○