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
Actions
Method | Action | Description | Response codes | ||||||
---|---|---|---|---|---|---|---|---|---|
POST /filetypes | create | Creates a new file type. |
|
Examples
Searching for file types
The parameters are specified as http headers.
GET /filetypes HTTP/1.1 accept: application/hal+json filter: ModifiedOn in today sort: createdon page: 1 pageSize: 20
The parameters are specified as query string parameters.
GET /filetypes?filter=ModifiedOn+in+today&sort=createdon&page=1&pagesize=10 HTTP/1.1
The parameters are specified as a combination of query string parameters and http headers.
GET /filetypes?filter=ModifiedOn+in+today&sort=createdon HTTP/1.1 page: 1 pageSize: 20
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>" }