Content Object


Properties
idstringRead-onlyformat GUID

Translation content ID.


schemaIdstringformat GUID

Translation schema ID.


entityIdstringminLength 1maxLength 100

A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the entityId can be 'blog-posts-1'.


localestringformat LANGUAGE_TAG

Translation content locale.


fieldsMap <string, ContentField>minItems 0maxItems 2000format map

List of fields for the translation content. This property uses a string to map to a ContentField (Map<string, ContentField>). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema.


parentEntityIdstringminLength 1maxLength 100

A reference to the parent content. For example, if the content is a menu item, this property would contain the entityId of the menu it belongs to.


publishStatusstringRead-only

The aggregated published status across all content fields.

Supported values:

  • UNPUBLISHED: None of the fields have been sent for publication.
  • PUBLISHED: All of the fields have been sent for publication.
  • PARTIALLY_PUBLISHED: Some of the fields have been sent for publication.

previewFieldstringRead-onlymaxLength 20000

Contains the value of the preview field if the schema defines one.


createdDatestringRead-onlyformat date-time

Date and time the translation content was created.


updatedDatestringRead-onlyformat date-time

Date and time the translation content was updated.

Was this helpful?
Yes
No