Skip to main content

ContentMediaLink

Description

Link object that attaches uploaded media to domain entities. Canonical ContentData flow: (1) upload/register file via /v1/files/uploads/init, /v1/files/uploads/{sessionId}/direct, and /v1/files/uploads/complete (or equivalent file registration path), (2) persist the FileRecord/media URL, (3) create ContentMediaLink with contentDataId and a contentUse role such as hero/header/cover, (4) read back ContentData.contentMedia to verify attachment.

Properties

NameTypeDescriptionNotes
applicationIdUUIDused when linked to an Application[optional]
contentDataIdUUIDused when linked to ContentData[optional]
contentUseContentUseEnumSpecialized usage role for the media object, including article presentation roles such as header/hero/cover.[optional]
contentTypeContentTypeEnumcontent type of the media object[optional]
mediaUrlStringurl to the media object[optional]
fileNameStringpath to a file[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]
trashedBooleanIndicates if the object is trashed (soft deleted)[optional]

Enum: ContentUseEnum

NameValue
NONE"none"
SCREENSHOT"screenshot"
SELFIE"selfie"
PORTRAIT"portrait"
BANNER"banner"
HERO"hero"
HEADER"header"
COVER"cover"
PROMOTIONAL"promotional"
INFORMATIONAL"informational"
ENTERTAINMENT"entertainment"
PRODUCT"product"
SUPPORT"support"
TRAINING"training"

Enum: ContentTypeEnum

NameValue
IMAGE"image"
ICON"icon"
VIDEO"video"
AUDIO"audio"
TEXT"text"
JSON"json"
YAML"yaml"
XML"xml"
MARKDOWN"markdown"
SPREADSHEET"spreadsheet"
PDF"pdf"

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-05-16T11:45:23.900207-07:00[America/Los_Angeles]