Open cmgrulke opened 4 years ago
Worth reading jsonapi's extention to handle "bulk" operations. https://jsonapi.org/ext/atomic/
I don't love the implementation, but this has been a topic of conversation on the jsonapi boards. There is also no way DRF:JA but we could probably add a wrapper to handle these requests. The functionality/design it's basically in our court.
Discussion :
As a user I want be able to post multiple records with their record identifier child entities in a single request So that If I have a list of hundreds of records to register, I don't have to make hundreds of requests
POST https://api.chemreg.epa.gov/TBD
Acceptance Criteria: A set records can be posted to the record endpoint using json that is closely aligned with the json needs to submit a single record resource. The new records will all need to be mapped according to issue #237