Returns a skeleton content item based on the specified content-type.

Use the /types/{id}/new-content end-point to create a new content item applicable for the specified content type document.
User roles: admin, manager, editor, viewer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Provide the ID of the content type document that you wish to generate the content against.

Query Params
string

Specify additional information to include on the content item.
Valid options are:

  • values: Adds empty value attributes to each content element. Note that some empty values, such as id="", may not pass content validation.
  • defaults: Attempts to add default values to each content element. If this is set but defaultContentId is not specified, elements may be populated from a default-content item matching the specified type.
    If both defaults and values are requested (e.g. include=all or include=values,defaults), empty value attributes will be added for elements that were not found on the default content.
  • all: Adds all current and future additional information to the response.
string

Specify a default content item to populate the generated content. If provided, and the item exists, elements and other fields will be copied across to the returned content item.

boolean
Defaults to false

if element is group - returns in the response payload value/values and typeRef
if element is NOT group - returns value/values only if defaults elements are defined

Responses

304

Not modified. The Etag value that you provided in the If-Match parameter matches the recent content version.

400

A default content document with the ID {defaultContentId} was not found, or it did not have a content type matching {id}.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json