Create Document List Type

Create Document List Type. Creating a new documentListType will tell the Content service to immediately create a document list of the new type within the set scopeType. For instance, a scopeType of "site" will create a list in each site for the tenant. Any defaultDocuments defined for the type will be created within each list, which will be addressable via the type's fully qualified name (FQN) and will use the type's defined views, usages, and metadata by default.

Query Params
string

limits which fields are returned in the response body

Body Params
string | null

The name component of the documentListTypeFQN, name@namespace. The name must be unique within the namespace component and cannot be updated.
Each documentList created from the documentListType will use this value.

string | null

The namespace component of the documentListTypeFQN, name@namespace. The issued dev account namespace must be used unless elevated privileges allow a blank namespace to be used. The namespace cannot be updated.
Each documentList created from the documentListType will use this value.

string | null

The unique identifier of the documentListType, represented by name@namespace. The documentListTypeFQN must be provided when creating the documentListType, or the name and namespace fields must be provided.
This field cannot be updated and each documentList created from the documentListType will use this value.

string | null

The context level at which this documentListType will create documentLists. Valid values are "tenant", "masterCatalog", "catalog" and "site". This field is read-only after insert.

string | null

Optionally, a documentListType can be defined in an installationPackage and then installed into a tenant. Installed documentListsTypes can only be updated via installation upgrades.
Currently only internal Mozu platform components can create installations. This field is system-supplied and read-only.

string | null

The version of the installationPackge installed. This field is read-only.

array of objects | null

The definition of any documents to create when a documentList is created.

defaultDocuments
array of strings | null

The full names (name@namespace) of the types of documents that can be created within the documentLists belonging to this documentListType.
Each documentList created from the documentListType will use this value, but it can be overridden in an individual documentList.

documentTypeFQNs
boolean

Determines if documentLists belonging to this documentListType will support drafting and publishing documents.
This field defaults to false and cannot be updated. Each documentList created from the documentListType will use this value.

boolean | null

Determines if documentLists belonging to this documentListType have publishing turned on or off.
Each documentList created from the documentListType will use this value, but it can be overridden in an individual documentList.

boolean

Determines if documentLists belonging to this documentListType will support drafting and ActiveDateRanges documents.
This field defaults to false and cannot be updated. Each documentList created from the documentListType will use this value.

boolean | null

Determines if documentLists belonging to this documentListType have ActiveDateRanges turned on or off.
Each documentList created from the documentListType will use this value, but it can be overridden in an individual documentList.

array of objects | null

An array of one or more views, which each allow GET access to a projection of fields from the documents in the given documentList.
Each documentList created from this documentListType will use this value, but it can be overridden in an individual documentList.

views
array of strings | null

An array of strings that describes to the Mozu platform the manner(s) in which a documentList can be used. The following values are valid:
entitymanager -- the documentList should be visible in the Admin Content/Entities screen, which allows admin users to create, manage and publish documents within the documentList.
sitebuilder -- the documentList should be visible in Sitebuilder. A documentList will display in the Sitebuilder Navigation Content List node, which supports document creation, management and web cms integration.
Each documentList created from this documentListType will use this value, but it can be overridden in an individual documentList.

usages
string

Allows arbitrary data to be stored on the documentListType. Each documentList created from this documentListType will use this value,
but it can be overridden in an individual documentList.

Response

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
text/plain