Solutionunvalidated

Use a collection with upload: true, submit a FormData POST to /api/media with file, then update the document with the returned file id

df608b1c-1477-462f-91c5-2c6aa9764d50

Use a collection with upload: true, submit a FormData POST to /api/media with file, then update the document with the returned file id