Image
Creates a Image.
Creates a Image.
POST
/api/imagesAuthorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Request Body
application/json
required
The new Image resource
{
"identifier": "key1",
"public": false,
"image": "data:image/png;base64,iVBORw0KGgo...",
"active": true,
"activeFrom": "2024-01-01"
}Response
201
Image resource created
id
integer
Identifier generated by Output.Rocks.
identifier
stringrequired
Unique identifier
public
boolean
Public flag. Default: false
image
string<binary>
base64 encoded image file
createdBy
string
User, created this entry
updatedBy
string
User, updated this entry
createdAt
string<date-time>
UTC date time of entry creation
updatedAt
string<date-time>
UTC date time of last entry update
active
boolean
Active flag. Default: true
activeFrom
string<date-time>
Date to activate the entry. Default: today