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

Get list of accounts #447

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Get list of accounts #447

merged 1 commit into from
Nov 13, 2023

Conversation

kxait
Copy link

@kxait kxait commented Nov 12, 2023

Adds GET /v1/accounts which returns an array of phone numbers (accounts) available to use.
The main signal-cli manpage does not reference this functionality, but the manpage for the dbus API does:

listAccounts() → accountList<as>
accountList : Array of all attached accounts in DBus object path form

Tested with both json-rpc and native mode, confirmed to show linked accounts, I sadly can't test it with number registrations, so it would be nice if somebody could confirm it works!

Also, I noticed that when running swag i on the latest version of swaggo, there are a lot of additional changes to the swagger spec. @bbernhard what version of swaggo are you using?

@bbernhard
Copy link
Owner

Many thanks!

regarding swag: I am currently using version 1.6.7 which is already pretty outdated. So I guess it makes sense to update my local version of swag 😅

@bbernhard bbernhard merged commit 63c767e into bbernhard:master Nov 13, 2023
2 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