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
| Name | Type | Description | Notes |
|---|---|---|---|
| applicationId | UUID | used when linked to an Application | [optional] |
| contentDataId | UUID | used when linked to ContentData | [optional] |
| contentUse | ContentUseEnum | Specialized usage role for the media object, including article presentation roles such as header/hero/cover. | [optional] |
| contentType | ContentTypeEnum | content type of the media object | [optional] |
| mediaUrl | String | url to the media object | [optional] |
| fileName | String | path to a file | [optional] |
| id | UUID | Unique identifier for object in the system | [optional] [readonly] |
| ownerId | UUID | UUID of owner of the object in the system | [optional] [readonly] |
| createdDate | OffsetDateTime | Date of object creation | [optional] [readonly] |
| keyHash | String | Data, including hash of the key(s) used to encrypt this record. | [optional] [readonly] |
| lastAccessedById | UUID | Last user to access object | [optional] [readonly] |
| lastAccessedDate | OffsetDateTime | Timestamp of last access of object | [optional] [readonly] |
| lastModifiedById | UUID | Unique identifier for user who last modifed the object in the system | [optional] [readonly] |
| lastModifiedDate | OffsetDateTime | Date of last object modification | [optional] [readonly] |
| trashed | Boolean | Indicates if the object is trashed (soft deleted) | [optional] |
Enum: ContentUseEnum
| Name | Value |
|---|---|
| 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
| Name | Value |
|---|---|
| IMAGE | "image" |
| ICON | "icon" |
| VIDEO | "video" |
| AUDIO | "audio" |
| TEXT | "text" |
| JSON | "json" |
| YAML | "yaml" |
| XML | "xml" |
| MARKDOWN | "markdown" |
| SPREADSHEET | "spreadsheet" |
| "pdf" |
Implemented Interfaces
- Serializable
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2026-05-16T11:45:23.900207-07:00[America/Los_Angeles] |