Content types section is located at the libraries content-types level.
To add a new content type list, use the following command:
Admin@nodename# create libraries content-types <parameter>
Specify the following parameters:
Parameter |
Description |
---|---|
name |
Content type list name. |
description |
List description. |
type |
List type:
Crontab format: (minutes: 0-59) (hours: 0-23) (days of the month: 1-31) (month: 1-12) (days of the week: 0-6; where 0 is Sunday). You can set each field as follows:
|
mime |
Content types to add to the list. A list of content types and their descriptions can be found at this link: https://www.iana.org/assignments/media-types/media-types.xhtml. |
To edit the list, use the following command:
Admin@nodename# set libraries content-types <content-types-list-name> <parameter>
The parameters available to update are listed in the table above.
To delete a content type list, use the following command:
Admin@nodename# delete libraries content-types <content-types-list-name>
To delete individual content types from the list, use the following command:
Admin@nodename# delete libraries content-types <content-types-list-name> mime [ <mime-type> ... ]
To display information about the content type lists, use the following commands:
Admin@nodename# show libraries content-types Admin@nodename# show libraries content-types <content-types-list-name>
To display content types included in a list, use the following command:
Admin@nodename# show libraries content-types <content-types-list-name> mime