uncefact / project-traceability

API definitions and testable mocks for a garment traceability project with UNECE and ITC based on GS1 EPCIS
GNU General Public License v3.0
6 stars 2 forks source link

API: POST multiple events #25

Closed Fak3 closed 2 years ago

Fak3 commented 2 years ago

Will it be needed to allow an API client post multiple events at once?

Broader question: will there ever be a need to ingest huge number of events during a normal operation of the system

Fak3 commented 2 years ago

Sorry, that is a question, not issue yet. Should be moved to Discussions?

onthebreeze commented 2 years ago

Batch POSTING could be useful - but If multiple events are posted at once, how will the POST response return unique IDs for each event? I suppose a dedicated end point that is for POSTing batches and returning a batch ID as well as individual IDs? I think we can probably drop this need for now- add it as a feature later if needed