Upload image
POST/images/:siteId/uploadImage
Upload image for site with specific id
Request
Path Parameters
siteId int64required
- application/json
Body
image-to-upload binaryrequired
Responses
- 200
- 400
- 403
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
baseColor int32
colorDepth int32
createdById int64
Account id to whom created this image
date date-time
fileName string
fileWeight int64
File size of the image
format string
Possible values: [PNG
, JPEG
, GIF
, SVG
, MVG
, WEB
]
height int32
id int64
Unique identifier of the given image
keywords string[]
name string
path string
shared boolean
siteId int64
size int64
Size of image
source string
sourceUrl string
width int32
{
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-07-29T15:51:28.071Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Loading...