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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose info endpoint via proxy #24

Open
kilrau opened this issue Dec 17, 2020 · 1 comment
Open

Expose info endpoint via proxy #24

kilrau opened this issue Dec 17, 2020 · 1 comment
Assignees
Labels
P2 mid priority

Comments

@kilrau
Copy link
Contributor

kilrau commented Dec 17, 2020

xud-ui should be able to judge wether

  • password is still default or was already set by user
  • mnemonic already shown or not
  • backup directory still default or not
@reliveyy
Copy link
Collaborator

reliveyy commented Dec 23, 2020

The response of endpoint /api/v1/info will be JSON like @krrprr

{
    "wallets": {
        "defaultPassword": true,
        "mnemonicShown": false,
     },
    "backup": {
        "location": "...",
        "defaultLocation": true,
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 mid priority
Projects
None yet
Development

No branches or pull requests

2 participants