Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /api/study/<id>/<chapter>.pgn endpoint #12687

Merged
merged 1 commit into from Apr 15, 2023

Conversation

benediktwerner
Copy link
Member

Closes #12548

Mirrored the all chapters API endpoint but I wonder if it really makes sense to return error JSON here 馃

Not doing it certainly would make things cleaner. Though I guess maybe it also just makes sense to duplicate the bit of code instead of having a fairly small function with a lot of parameters 馃

@ornicar ornicar merged commit 5f917a2 into lichess-org:master Apr 15, 2023
3 checks passed
ornicar added a commit to benediktwerner/lila that referenced this pull request Apr 16, 2023
* master:
  fix date parsing in mod activity aggregator
  scalalib 9.3.5
  code tweaks
  fix mod activity maxDoc
  fix boost mod games view
  fix blog dates
  upgrade scalachess to fix UciCharPair
  upgrade scalalib to fix toNow
  New Crowdin updates (lichess-org#12683)
  add `status` and `winner` fields to the event stream game objects
  return textual error messages in PGN endpoints - after lichess-org#12687
  Add /api/study/<id>/<chapter>.pgn endpoint
kraktus added a commit to lichess-org/api that referenced this pull request Apr 16, 2023
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.

Allow "export one study chapter" API endpoint to be used by the browser
2 participants