Your API docs seem to indicate that I can attach metadata to files that I upload to DSP. I just cannot figure out how to do that. In POST /files/{file_path} it says the schema for the body is:
But where does the file content go in this case? On the other hand, I can post the file contents directly, but how do I attach metadata then?
As an example often explains things best, could you give me a plain but complete HTTP request (as opposed to a PHP/JavaScript/whatever API call) that would do the following:
Thanks, that’s another nice way of posting a file. But what about the metadata? The API talks about such a field, it being an array of strings. Yet, it does not appear to actually be stored. Does it require a specific backend (you are talking about S3 in your answer, I am using local file storage)? Is it a leftover from the past? A hint to the future?