When I POST an image file via rest, response is 201: Object Moved, status is temporary
Suggestions


I think filemime is autogenerated depending on the file you're uploading.
To make the file permanent, have you tried sending the property status: [value: 1]?


A status of 1 indicates that the file is permanent.