-
Notifications
You must be signed in to change notification settings - Fork 7
New Endpoint: Create List of Users #237
Copy link
Copy link
Open
Labels
P3Low priority. No set deadline to address.Low priority. No set deadline to address.Size: MediumThe work involved in addressing this issue is a sizable amount. 1-2 days of work.The work involved in addressing this issue is a sizable amount. 1-2 days of work.Status: AvailableWork on this issue has not yet started and is available to be worked on.Work on this issue has not yet started and is available to be worked on.Type: FeatureAddresses adding a new feature to the application.Addresses adding a new feature to the application.
Milestone
Description
Metadata
Metadata
Assignees
Labels
P3Low priority. No set deadline to address.Low priority. No set deadline to address.Size: MediumThe work involved in addressing this issue is a sizable amount. 1-2 days of work.The work involved in addressing this issue is a sizable amount. 1-2 days of work.Status: AvailableWork on this issue has not yet started and is available to be worked on.Work on this issue has not yet started and is available to be worked on.Type: FeatureAddresses adding a new feature to the application.Addresses adding a new feature to the application.
Describe the problem that this feature would solve
Right now you can
POSTto/userswith a single User. You should also be able toPOSTto/userswith a list of users to create. Thunder should then issue a batch create request to the database with those users.Describe the solution you'd like
A new endpoint in the
UserResourcethat is very similar to the currentPOST /users, but takes in a list of users.The method should call into the UsersDao with that list of users, and the UsersDao should do a batch create.
Additional context
For Dynamo: Will probably have to do a batch get, check for existing primary keys, and then do the batch update. Dynamo doesn't support conditional put with batch requests
Questions: