specification icon indicating copy to clipboard operation
specification copied to clipboard

Missing icon and gallery endpoints

Open Foorack opened this issue 4 years ago • 5 comments
trafficstars

Foorack avatar Sep 25 '21 11:09 Foorack

POST /icon

bild

Image is not resized by the API. That needs to be done client-side before upload. This is essentially just a shortcut for the File API, except with some limitations:

  • Always has an attached tag that is not possible to modify.
  • Not possible to do multipart upload.

Although this upload skips the "delta" and "signature" FileData's of the resulting FileVersion object.

POST /gallery

Works exactly the same as /icon, except that the tag is "gallery" instead of "icon".

Foorack avatar Nov 10 '21 21:11 Foorack

In case of trying to upload without VRC+: bild

Foorack avatar Nov 10 '21 21:11 Foorack