Skip to content

Add backend info endpoint#189

Open
kishore08-07 wants to merge 2 commits into
masterfrom
kishore/info-endpoint
Open

Add backend info endpoint#189
kishore08-07 wants to merge 2 commits into
masterfrom
kishore/info-endpoint

Conversation

@kishore08-07

@kishore08-07 kishore08-07 commented Jun 22, 2026

Copy link
Copy Markdown
Member

This pr adds /jam/api/v0/info endpoint to both joinmarket-clientserver and joinmarket-ng standalone images with information about which backend it uses and its version.

Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
@kishore08-07 kishore08-07 self-assigned this Jun 22, 2026
@kishore08-07 kishore08-07 added build SoB Issues, PRs, tasks, and discussions related to Summer of Bitcoin. labels Jun 22, 2026
Comment thread standalone-ng/nginx/default.conf Outdated
Comment thread standalone-ng/Dockerfile Outdated
Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
auth_request /jam/internal/auth;

default_type application/json;
return 200 '{"backend":"joinmarket-clientserver","version":"__BACKEND_VERSION__"}';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
return 200 '{"backend":"joinmarket-clientserver","version":"__BACKEND_VERSION__"}';
return 200 '{"backend":{"name":"joinmarket-clientserver","version":"__BACKEND_VERSION__"}}';

auth_request /jam/internal/auth;

default_type application/json;
return 200 '{"backend":"joinmarket-ng","version":"__BACKEND_VERSION__"}';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
return 200 '{"backend":"joinmarket-ng","version":"__BACKEND_VERSION__"}';
return 200 '{"backend":{"name":"joinmarket-ng","version":"__BACKEND_VERSION__"}}';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build SoB Issues, PRs, tasks, and discussions related to Summer of Bitcoin.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants