Skip to content

document POST /bookmark/{gameId}#655

Merged
ornicar merged 1 commit into
lichess-org:masterfrom
jadddon:document-bookmark-endpoint
Jul 14, 2026
Merged

document POST /bookmark/{gameId}#655
ornicar merged 1 commit into
lichess-org:masterfrom
jadddon:document-bookmark-endpoint

Conversation

@jadddon

@jadddon jadddon commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

closes #633 (Add docs for toggling bookmarking your own games #633)

documents POST /bookmark/{gameId}, which was opened to the preference:write OAuth scope in lichess-org/lila@5820514.

the following is taken from the lila source:

  • toggles the bookmark on a game for the authenticated user, returning 204 No Content.
  • optional v query boolean sets the bookmark explicitly instead of toggling it, making the request idempotent.
  • requires an OAuth token with the preference:write scope.

description cross-links to the existing export your bookmarked games endpoint.

testing:
build, lint, spectral, scalar-lint and check-format all pass locally.

@ornicar
ornicar merged commit d6b87f5 into lichess-org:master Jul 14, 2026
6 checks passed
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.

Add docs for toggling bookmarking your own games

2 participants