Preserve Trash pagination in the Go topics service
Topics.GetTrash returns the topics but discards the Link header, leaving callers unable to follow Trash pagination. Add Topics.GetTrashPage to return the same typed result together with its opaque continuation cursor, using the existing generated operation and pagination parser.
This enables the proposed Trash browser in hey-cli to read beyond the first page. The existing GetTrash API is unchanged. The wrapper uses the same instrumentation and response handling as other paginated Go service helpers.
Go tests cover cursor forwarding, cursor extraction, the final page, and server errors.
Validation after rebasing onto SDK upstream 6c50bd4: full make check passed using mise-managed tools and the Linux Swift 6.0 image pinned in this repository’s CI.
Summary by cubic
Adds Topics.GetTrashPage so callers can follow Trash pagination instead of losing the Link header.
- Returns the same typed topic list result with an opaque
NextPagecontinuation cursor. - Keeps the existing
GetTrashAPI unchanged. - Uses the same instrumentation and error handling as other paginated Go service helpers.
- Adds Go tests covering cursor forwarding, the final page, and server errors.