The Content types section is located at the libraries content-types level.
To add a new content type list, use the following command:
Admin@UGOS# create libraries content-typesSpecify the following parameters:
|
Parameter |
Description |
|---|---|
|
name |
Content type list name. |
|
description |
List description. |
|
url |
If the list is updatable, specify the update URL. |
|
types |
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 update information about an existing list, use the following command:
Admin@UGOS# set libraries content-types <content-types-list-name>The parameters available to update are listed in the table above.
To delete a content type list, use the following command:
Admin@UGOS# delete libraries content-types <content-types-list-name>To delete individual content types from the list, use the following command:
Admin@UGOS# delete libraries content-types <content-types-list-name> types [ <mime-type> ... ]To display information about the content type lists, use the following commands:
Admin@UGOS# show libraries content-types
Admin@UGOS# show libraries content-types <content-types-list-name>To display content types included in a list, use the following command:
Admin@UGOS# show libraries content-types <content-types-list-name> types