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

Add support for Organisation #132

Open
lasconic opened this issue Oct 26, 2023 · 0 comments
Open

Add support for Organisation #132

lasconic opened this issue Oct 26, 2023 · 0 comments

Comments

@lasconic
Copy link
Owner

With the introduction of family mode and soon the holding/enterprise feature, Finary changed all the calls in the webUI and probably the app (I didn't test) from /users/me/XXX to organisations/<organisation_id>/XXX. We would need a nice way to handle that in the API wrapper and on the command line. So far /users/me/XXXis not deprecated but Finary could decide to remove it anytime

The not nice solutions I can think of :

  • Adding --org-id as an option for all the command. Command line user will call finary_uapi organisations to get org id and then call the functions they want...
  • For each user_ functions do a call a first call to users/me/organizations to get the main org and do the call with its id. (not nice because we can't get the results for other orgs)

A first step:

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

No branches or pull requests

1 participant