Note: By default, the maximum results returned is 10. Example: If 42 content items meet the criteria specified in the query of the request, only 10 will be returned. To override the default, set maxitems in the query string of the URL; e.g., https://dnnapi.com/content/api/ContentItems?maxitems=500

Content Type Versus Content Item

Content type nodes differ from content item nodes as follows:

Content Type

Content Item

idname

icon

slug

The portion of the URL that uniquely identifies the content type for retrieval.

description

contentTypeIdcontentTypeNamelanguage

enabled

If true, content items can be created for this content type.

alreadyPublished

fields

Each field node includes the field type, the default value, the validation criteria, and the field's position in the form.

details

The values for the fields. If a field is a reference to another content type, details includes a node with the values for the fields of that referenced content type.

currentVersion

numberOfItems

The number of content items of this content type.

numberOfVisualizers

The number of visualizers associated with this content type.

usages

The number of times that a content item is used in other content items, in pages, or in apps.

Note: This is not the number of hits on the content item.

createdAtcreatedByupdatedAtupdatedBy

isSystem

If true, the content type is one of the defaults and cannot be modified or deleted.

stateId

A code that represents the current workflow state. If 0, the item is in draft (unpublished) mode. If 1, the item is published.

tags

The list of tags associated with the content item.

clientReferenceId

[string] An external identifier used to synchronize the content item with clients, specifically the HTMLPro module in Evoq.

properties

seoSettings

Content Type of the Content Item

The details node of the content item varies based on the defined fields of its content type.

Example: Suppose the content type definition contains the following two fields. (The definitions are simplified for clarity.)