Entity object representation

The entity object representation and fields are described below.

entity was introduced in API version V1

entity has not been marked for deprecation

Usages

Description

A content entity, similar to a page with a collection of content items of differing types

Example create representation

{
  "owner" : {
    "urn" : "32a90f18-aaa0-4bdc-a63e-4efd2e16c28c",
    "url" : "/n/v1/company/32a90f18-aaa0-4bdc-a63e-4efd2e16c28c"
  },
  "status" : "DRAFT_UNPUBLISHED",
  "name" : "/32a90f18-aaa0-4bdc-a63e-4efd2e16c28c/content/",
  "language" : "en-GB",
  "variant" : "",
  "publishTimestamp" : "2025-07-14T09:00:00",
  "updatedTimestamp" : "2025-07-14T09:00:00"
}

Example response representation

{
  "urn" : "4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
  "url" : "/n/v1/entity/4fdf15cf-cfa3-4b43-9e92-57dfbbc0366d",
  "owner" : {
    "urn" : "32a90f18-aaa0-4bdc-a63e-4efd2e16c28c",
    "url" : "/n/v1/company/32a90f18-aaa0-4bdc-a63e-4efd2e16c28c"
  },
  "status" : "PUBLISHED",
  "name" : "/32a90f18-aaa0-4bdc-a63e-4efd2e16c28c/content/",
  "language" : "en-GB",
  "variant" : "",
  "publishTimestamp" : "2025-07-14T09:00:00",
  "updatedTimestamp" : "2025-07-14T09:00:00",
  "texts" : [ {
    "urn" : "c7fde7fa-e51c-4f63-a2a6-c790fa6457d6",
    "name" : "page_headline",
    "sortOrder" : 0,
    "value" : "Welcome to Baack!",
    "url" : "/n/v1/textitem/c7fde7fa-e51c-4f63-a2a6-c790fa6457d6"
  } ],
  "doubles" : [ ],
  "dateTimes" : [ ],
  "booleans" : [ ],
  "images" : [ ],
  "templates" : [ ],
  "markdowns" : [ ],
  "latLongs" : [ ],
  "longs" : [ ]
}

Fields

NameTypeDescriptionConstraints
urnString representation of a Unique Resource Name. Typically a UUID with 36 characters.UUID for the entityRequired on create. Minimum length: 36. Maximum length: 36.
urlURL represented as a stringURL for accessing this entity
ownercompanyThe company owner for the entityRequired on create.
statusPublication status used to manage publication lifecycle. Set to 'PUBLISH' (verb) to trigger publication of all draft items pending.Required on create.

Allowed values:

  • DRAFT_UNPUBLISHED
  • PUBLISH_PENDING
  • PUBLISH
  • PUBLISHED
  • PUBLISHED_WITH_DRAFTS
nameA path string similar to UNIX path for absolute pathsname of the content entityRequired on create. Maximum length: 1024.
languageLanguage code typically expressed in ISO 639 codes used by browsersISO 639-1 code for entity language. See https://en.wikipedia.org/wiki/ISO_639-1 e.g. en_GBRequired on create. Maximum length: 16.
variantString literalThe variant of the entity, typically a tag, used for creating variations of the content for experimentationMaximum length: 128.
publishTimestampTimestamp expressed in ISO 8601 format without timezone including milliseconds. Note unless otherwise stated in UTC zone.Timestamp the entity was published. Note unpublished entities are not visible (publish time in the past).
updatedTimestampTimestamp expressed in ISO 8601 format without timezone including milliseconds. Note unless otherwise stated in UTC zone.Timestamp of the last update of the content entity.
textstextitem[]Collection of text items associated with the entityIgnored on update.
doublesdoubleitem[]Collection of double items associated with the entityIgnored on update.
dateTimesdatetimeitem[]Collection of date time items associated with the entityIgnored on update.
booleansbooleanitem[]Collection of boolean items associated with the entityIgnored on update.
imagesimageitem[]Collection of image items associated with the entityIgnored on update.
templatestemplateitem[]Collection of template items associated with the entityIgnored on update.
markdownsmarkdownitem[]Collection of markdown items associated with the entityIgnored on update.
latLongslatlong[]Collection of latitude longitude itemsassociated with the entityIgnored on update.
longslongitem[]Collection of long integer itemsIgnored on update.