New Endpoint: Create List of Users #237
Labels
P3
Low priority. No set deadline to address.
Size: Medium
The work involved in addressing this issue is a sizable amount. 1-2 days of work.
Status: Available
Work on this issue has not yet started and is available to be worked on.
Type: Feature
Addresses adding a new feature to the application.
Milestone
Describe the problem that this feature would solve
Right now you can
POST
to/users
with a single User. You should also be able toPOST
to/users
with 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
UserResource
that 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:
The text was updated successfully, but these errors were encountered: