Upload multiples files to an entry after its creation (and how to add a caption ?)

Hey I’m using the Upload file during entry creation"

It’s working and uploading the files when I create my entry:

const formData = new FormData()
formData.append('data', JSON.stringify({
  title,
  // etc
}))

data.images.forEach((f) => {
  formData.append(`files.images`, f, f.name)
})

data.documents.forEach((f) => {
  formData.append(`files.documents`, f, f.name)
})

fetch(`http://localhost:1337/api/my-entries`, {
  method: 'post',
  headers: new Headers({
    'Authorization': `Bearer ${jwt}`,
  }),
  body: formData,
})

But I’d like to add the fileInfo to add caption etc.
I have tried doing various things but can’t seem to get anything to work e.g.:

data.images.forEach((f) => {
  formData.append(`files.images`, f, f.name)
  formData.append(`fileInfo.images`, JSON.stringify({ caption: "test" }))
})

I’m trying to work out how to set caption and alternativeText and also the order field

Any ideas @cajazzer thanks!