About this resource

Representation of a paged collection of FileType items

Properties

Property Description Type
items One page of this paged collection, which is a subcollection of the complete collection. Collection of FileType items
page The current page of this paged collection. int32
pageSize The current page size of this paged collection. int32
skip The current skip size of this paged collection. int32
take The current take size of this paged collection. int32
totalCount The total count of items in this paged collection, not just on the current page. int64

Relations

Method Name Select-key Resource type Description
GET self Provides a link to this resource.
GET first A link to the first page of this paged collection.
GET prev A link to the previous page of this paged collection.
GET next A link to the next page of this paged collection.
GET last A link to the last page of this paged collection.

Actions

Method Action Description Response codes
POST /filetypes create Creates a new file type.
201 Request completed successfully. The header parameter 'Location' contains the location of the new file type resource. The response body is a JSON object which contains the property "id" that corresponds to the newly created file type resource.
400 Bad request (in general)
403 Insufficient permissions

Examples

Creating a new file type
POST /filetypes HTTP/1.1
{
	"name": "filetype name",
	"kind": "knd",
	"extension": "ext",
	"mimeType": "application/octet-stream",
	"thumbnail": "ZGJjZWE1ZDRkMTM4NDRiZDhkMThhODI3MDA3ZmY3Y2M=",
	"icon": "ZTFlOGRhOWQxM2Y5NGE0MDg1ZDVhODI3MDA4MDEwMjM=",
	"labels": [
		{
			"languageId": "c2bd4f9b-bb95-4bcb-80c3-1e924c9c26dc",
			"value": "file type"
		}
	],
	"isCatalogable": true,
	"engineFormat": "ef",
	"catalogActions": {
		"addOrUpdate": [
			{
				"name": "ReadXmp",
				"isCritical": true
			},
			{
				"name": "ReadExif",
				"isCritical": false
			}
		]
	},
	"mediaEngines": {
		"addOrUpdate": [
			"Exif",
			"Text"
		]
	},
	"previewFormat": "Jpg",
	"previewRenderWebControls": {
		"addOrUpdate": [
			"Adam.PdfPreviewPlayer"
		]
	},
	"previewRequired": true,
	"keepDocumentDimensions": true,
	"allowOrderResizeSource": true,
	"supportsWatermarking": true,
	"registeredFields": {
		"addOrUpdate": [
			"c2ed2f3e-a145-44c0-8477-a82400d1f8cd"
		]
	},
	"registeredFieldGroups": {
		"addOrUpdate": [
			"40cd3ee8-08e5-4c52-8ec8-50a372e4de1c"
		]
	},
	"preferredExtension": false,
	"tag": "<xml>some tag</xml>"
}