Skip to content

younify: add skip_sync and refresh by body - #359

Merged
mfederowicz merged 1 commit into
mainfrom
younify-skip-sync
Nov 18, 2026
Merged

mfederowicz merged 1 commit into
mainfrom
younify-skip-sync

Conversation

@mfederowicz

Copy link
Copy Markdown
Owner

Implements the two younify contract additions from trakt/trakt-api 28e57aa: the optional skip_sync body on the refresh routes and POST /younify/users/refresh (service in the body).

  • younify -a refresh -skip_sync sends {"skip_sync":true} (with or without -all_data); without it the request is unchanged (no body).
  • Library (breaking): YounifyService.RefreshService takes refresh *str.YounifyRefresh; nil keeps the old request.
  • Library: YounifyService.RefreshServiceByBody + str.YounifyRefreshService for the body route; the CLI keeps the path routes.
  • Tests: exact request bodies in the service tests (incl. no body without skip_sync), handler and cmds flag cases.
  • Docs: docs/younify.md, API_COVERAGE.md (body route row + Findings), CHANGELOG.md.

Mock-tested only: younify is first-party only and answers 403 for API apps (contract 0c044fd, trakt/trakt-api#1075).

AI: Claude Code wrote the changes and tests; reviewed by the maintainer.

@mfederowicz
mfederowicz merged commit 7a3b1c4 into main Nov 18, 2026
6 checks passed
@mfederowicz
mfederowicz deleted the younify-skip-sync branch November 19, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant