Anthias icon

Anthias

Node for controlling Anthias deployments with the Anthias API

Asset → Create Asset

AI-generated

Summary

Create a new asset in the Anthias deployment by specifying its name, URI, start and end dates, duration, MIME type, enabled status, and optional processing settings.

Inputs

  • Overwrite Credential Base URL — Optionally overwrite the credential base URL used for the API request.
  • Name (required) — Enter the name of the asset to create.
  • URI (required) — Enter the URI of the asset.
  • Start Date (required) — Specify the start date and time of the asset in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
  • End Date (required) — Specify the end date and time of the asset in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
  • Duration (required) — Set the duration of the asset in seconds.
  • MIME Type (required) — Specify the MIME type of the asset (e.g., 'video/mp4').
  • Is Enabled (required) — Define whether the asset is enabled (true or false).
  • Options — Additional asset options including whether it is processing, whether to bypass cache, the play order, and whether to skip asset check.

Output shape

a single JSON object representing the created asset or error details on failure

Returns the API response as a JSON object. If multiple items are processed, results are paired to the input items. Errors can be captured and returned if 'Continue On Fail' is enabled; otherwise, execution will fail on error.

Discussion