Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

support POST /api/v1/import/users #68

Closed
mandric opened this issue May 24, 2016 · 1 comment
Closed

support POST /api/v1/import/users #68

mandric opened this issue May 24, 2016 · 1 comment

Comments

@mandric
Copy link
Contributor

mandric commented May 24, 2016

This endpoint would take a list of normalized (it doesn't do any normalization) and check for:

required fields: name, username, password
optional fields: phone, external_id, district/parent place

Maybe do some basic validation like check if name, password and username are decent. Then import that data, generate request bodies and make the calls to POST /api/v1/users.

Would be nice to have a dryrun option that returns the request bodies that would be used.

See medic-import/Readme.md for more information about the import process.

@mandric mandric changed the title support POST /import/api/v1/users support POST /api/v1/import/users May 24, 2016
@garethbowen
Copy link
Member

We haven't had any demand for this yet. Reopen in medic-webapp or medic-configurer if needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants