Obscreen icon

Obscreen

Automate digital signage using Obscreen

Content → Create

AI-generated

Summary

Create new content in Obscreen.

Inputs

  • folderAttachMode (required) — Select how to attach the content to a folder: 'Pick From List', 'Absolute Path', or 'Root Folder'.
  • folderId — Specify the folder to attach the content to, either by selecting from a list or providing the folder ID.
  • path — Provide the absolute path of the folder for content attachment.
  • contentType (required) — Select the type of content to be created from a list or provide the content type ID.
  • location — Text payload for the content (optional, depending on content type).
  • object — Binary input for uploading a file as content (required for specific content types).
  • name (required) — Set the name for the new content.

Output shape

a single record

The operation returns the created content record. Ensure appropriate parameters based on content type to avoid errors.

Examples

Example 1: Upload an image file as content.

Set 'folderAttachMode' to 'pickFromList', choose a folder, select 'contentType' for image, provide the binary file in 'object', and give a name in 'name'.

Example 2: Create text content attached to a root folder.

Set 'folderAttachMode' to 'rootFolder', choose 'contentType' for text, provide text in 'location', and assign a name in 'name'.

Discussion