Skip to navigation

Create a media item

View as Markdown
Create new profile media

Authentication

AuthorizationToken

Your API key, sent as Authorization: Token <your API key>

Path parameters

directoryIdstringRequiredformat: "uuid"
ID of the directory containing the profile media
entryIdstringRequiredformat: "uuid"
ID of the entry containing the profile media

Request

This endpoint expects an object.
titlestring or nullOptional1-150 characters
descriptionstring or nullOptional>=1 character
urlstring or nullOptionalformat: "uri">=1 character
filestring or nullOptionalformat: "binary"
fileUrlstring or nullOptionalformat: "uri">=1 character
orderinteger or nullOptional>=0

Response

Profile media details in the entry in the directory
idstringformat: "uuid"
titlestring or null<=150 characters
descriptionstring or null
orderinteger or null>=0
pdfFileThumbnailUrlstring or null
urlstring or nullformat: "uri"
filestring or nullformat: "uri"
typestring or null
fileUrlstring or nullOptionalformat: "uri"