Skip to main content

Add new content image

Add new content image

Authorizations:Token
Request Body Schema:
Content object that needs to be added
widthintegerWidth
heightintegerHeight
hashstringImage hash
needProcessbooleanIs image need process or not
idintegerUnique id
pathstringPath (URL or file name in storage directory)
fileNamestringFile name
mimestringMIME type
storageTypestringStorage type
sizeintegerSize
dateintegerCreate / modify date (UNIX timestamp)

Responses

200Success
Response schema:
Success
widthintegerWidth
heightintegerHeight
hashstringImage hash
needProcessbooleanIs image need process or not
idintegerUnique id
pathstringPath (URL or file name in storage directory)
fileNamestringFile name
mimestringMIME type
storageTypestringStorage type
sizeintegerSize
dateintegerCreate / modify date (UNIX timestamp)