Viingx icon

Viingx

Interface to viingx systems

Entity → Suggest Media Entity Payload From Entity File

AI-generated

Summary

Suggests a media entity payload using a file already attached to an entity, so you can use the returned payload when creating or updating a media entity.

Inputs

  • Entity Type Name or ID (required) — Entity type containing the source entity.
  • Entity ID (required) — ID of the entity that holds the file.
  • File ID (required) — ID of the file to use for the media payload suggestion.

Output shape

A single record containing the suggested media entity payload.

The source pack exposes the operation's dispatch and helper names but omits their implementation, so the exact response fields and any additional effects are not shown.

Examples

Example 1: Use a file attached to an entity to prepare a media entity payload.

Provide the entity type, entity ID, and file ID.

Links

Discussion