Skip to content

Add JSON support to gallery endpoint#4508

Merged
casey merged 5 commits intoordinals:masterfrom
twosatsmaxi:ft-gallery-json-api
Apr 3, 2026
Merged

Add JSON support to gallery endpoint#4508
casey merged 5 commits intoordinals:masterfrom
twosatsmaxi:ft-gallery-json-api

Conversation

@twosatsmaxi
Copy link
Copy Markdown
Contributor

Allow gallery endpoint to return JSON when requested with Accept: application/json header, following the same pattern used by children and other endpoints.

Allow gallery endpoint to return JSON when requested with
Accept: application/json header, following the same pattern
used by children and other endpoints.
@twosatsmaxi
Copy link
Copy Markdown
Contributor Author

twosatsmaxi commented Mar 28, 2026

fixes #4507

@twosatsmaxi
Copy link
Copy Markdown
Contributor Author

@casey ^ looks like only you're active, @raphjaph is on vacation.

@twosatsmaxi
Copy link
Copy Markdown
Contributor Author

need it for my node, currently running forked version, guessing many people would need it as galleries starts getting adopted widely.

Copy link
Copy Markdown
Collaborator

@casey casey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! This needs docs in api.md.

@twosatsmaxi twosatsmaxi force-pushed the ft-gallery-json-api branch from f49533e to 5a6edd3 Compare April 3, 2026 03:58
@twosatsmaxi
Copy link
Copy Markdown
Contributor Author

Looks good! This needs docs in api.md.

done.

Copy link
Copy Markdown
Collaborator

@casey casey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@casey casey enabled auto-merge (squash) April 3, 2026 04:18
@casey casey merged commit 5241ef3 into ordinals:master Apr 3, 2026
5 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.

2 participants