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

API [POST] User #977

Closed
stavtsob opened this issue Jul 22, 2019 · 6 comments
Closed

API [POST] User #977

stavtsob opened this issue Jul 22, 2019 · 6 comments

Comments

@stavtsob
Copy link

Hello once again,

I wanted to ask if a POST API request for users will be added soon.
Currently User is the only entity that cannot be created via API. It would be really helpful if it could be added.

Thank you in advance.

@kevinpapst
Copy link
Member

Can you explain the use-case?

@stavtsob
Copy link
Author

stavtsob commented Aug 5, 2019

In case I want to merge Kimai in a bigger system, and I want users from another platform to be transferred to Kimai through API. So if I want to create a new user in my system, I won't have to register the user account to each platform separately.

@kevinpapst
Copy link
Member

Isn't that what directory servers (LDAP, AD) were made for?

@stavtsob
Copy link
Author

stavtsob commented Aug 6, 2019

That is right. But in my case I am trying to connect different platforms with different kind of data for users for example (different columns and different columns count, different kind of implementations for the similar entities etc). That is why I created a script that syncs the data from the different platforms using APIs.
I am almost sure that there is a better solution for this, but my boss told me to do it using APIs, so here I am.

@kevinpapst
Copy link
Member

kevinpapst commented Aug 6, 2019

my boss told me to do it using APIs

Hahaha! Don't know if that translates well, but it sounds like: if all you know is a hammer, every problems looks like a nail ;-)
Did he say "HTTP API"?
Otherwise you could SSH into the server and use the bin/console fos:user:create "API" for now.

@stavtsob stavtsob closed this as completed Aug 6, 2019
@lock
Copy link

lock bot commented Oct 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants