Skip to main content

Add an icon to a category

Add an icon to a category.

Authorizations:Token
Query Parameters
category_id
required
integer
Request Body Schema:
altstringAlt text
externalUrlstringURL to the image file which will be downloaded from there
attachmentstringbase64-encoded image
filenamestringImage name with correct extension. Required for 'attachement' field.

Responses

201Category Icon resource created
Response schema:
Category Icon resource created
idinteger
altstring
urlstring
widthinteger
heightinteger
400Invalid input
422Unprocessable entity