Skip to main content

An entry definition in the Delivery API contains a mixture of standard properties and properties that have been defined by the content type that an entry is based on.

Data properties

Data properties are items defined by the fields collection set in a content type.

Standard properties

These are the standard properties that all entries have. The language property is the indexer for the entry data as an entry can have multiple language variations which can be be edited and versioned independently. In the Delivery API context only a single language variation is available on an entry.

Entry

NameTypeFormatDescription
[field id]AnyAnyField data that is defined in the associated content type. The data is keyed by a unique field id.
sysobjectSysThe container of the entry system data.

Sys

NameTypeFormatDescription
idstringGUIDThe entry identifier as a 128 bit GUID.
projectIdstring[optional] The project identifier, e.g. "movieDb". Found in the project overview screen of the management console.
contentTypeIdstringThe API identifier of the content type that the entry is based on.
dataFormatstringEither entry or asset.
languagestringLanguage codeThe language code of the entry variation.
availableLanguagesstring[]Language code[optional] A list languages which have available translations.
uristringURIThe entry uri.
allUrisstring[]URIAll uris associated with the entry.
metadataobject[optional] Metadata associated with the entry instance.
workflowobject[optional] Workflow associated with the entry instance.
workflow.idstringThe API identifier of the workflow that the entry is using.
workflow.statestringThe API identifier of the current workflow state of the entry.
isPublishedboolean[optional] If the entry is currently published then the value will be true. If the entry has yet to be published or has been unpublished it will be false.
versionobjectVersion[optional] Version info specific to the entry variation.

Example

TypeScript
// Using TypeScript, or ES Module await syntax
const entry = await client.entries.get('<entry_id>');

console.log(entry.entryTitle);
JavaScript
// Using Common JS promise callback syntax
client.entries.get('<entry_id>')
  .then(function (entry) {
    console.log(entry.title);
  });

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request