Media Library
Upload a media asset
Changed onUpload a file into the library. Dedup by checksum returns the existing asset.
post/api/v1/media
Request
- Base URLhttps://api.pwapps.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLhttps://api.pwapps.com/api/v1/user/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
Successful Response
Changes
- warning
added the new
DOMAIN_PURCHASE_INSUFFICIENT_FUNDSenum value to the/response property for the response status - warning
added the new
DOMAIN_PURCHASE_INSUFFICIENT_FUNDSenum value to the/response property for the response status - warning
added the new
DOMAIN_PURCHASE_INSUFFICIENT_FUNDSenum value to the/response property for the response status
- warning
- breaking
the
request property contentMediaType changed fromtoapplication/octet-stream - warning
removed the request property
- info
added the new optional request property
- info
the
request property format was generalized frombinaryto no format
- breaking