tv2regionerne / statamic-private-api

MIT License
3 stars 3 forks source link

Support file uploads #3

Closed ryanmitchell closed 8 months ago

ryanmitchell commented 8 months ago

@SylvesterDamgaard is this the approach you were hoping for?

Its a POST to the asset container end point, requiring a folder input field. If a file is in the request it will try to upload it, otherwise if a file_url is there it will download the file from that url and add it as an uploaded file.