Create a badge
Create a directory badge. The image is given either as base64 in image or as the URL returned by the files upload endpoint in imageUrl; one of the two is required.
Authentication
AuthorizationToken
Your API key, sent as Authorization: Token <your API key>
Path parameters
directoryId
Request
This endpoint expects an object.
title
image
imageUrl
Response
Successful operation
href
title
image
id
imageUrl
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error