Media

Confirm an upload so it appears in the gallery

post/api/media/complete

Request

  • Base URL: https://api.dunsocial.com
  • URL: https://api.dunsocial.com/api/media/complete
  • Auth: HTTP bearer

Headers

X-Workspace-Idstring required

Request body

storageKeystring required
originalFilenamestring required
mimeTypestring required
fileSizenumber required
widthnumber
heightnumber
durationnumber

Video duration in milliseconds. Values under 1000 are treated as seconds and converted on write.

altTextstring

Response

Asset

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.