New storage plugin for custom API - Is this possible?

Hi all.

We are trying to upload images to a custom API. Read the document at Writing a Storage and it seems doable but found one issue:

The custom API endpoint requires the Image and Thumbnail to be uploaded in the same request. The accepted FormData Parameters are:

  • document_id (required)
  • uploaded_file (required)
  • thumbnail (optional)

I am not sure how to implement a Storage plugin to match that interface. Is it possible?

Thank you,