Is it possible to upload a file to the /upload endpoint with title, caption, etc. metadata?

System Information
  • Strapi Version: 4.1.12:
  • Database: Postgres:
  • Node Version: 14.16.0:

I have a client working on an import tool to mass import data into a strapi instance we’ve created. We are able to upload files using the /upload POST endpoint. We would like to be able to update the title, caption and other, file metadata that you can update when using the admin form. Is there a way to do both of these tasks using the /upload endpoint? I assume I’ll have to create a custom endpoint to accomplish this, but would like to know if I’m missing something here. I see there are other upload controller functions in the source to handle these tasks (https://github.com/strapi/strapi/blob/master/packages/core/upload/server/controllers/content-api.js) but they are not exposed in the admin.