Mime type: Create

LOCKED.
This API is extremely reliable and will not be broken unless absolutely necessary.

Method

POST

Path

/qrs/mimetype

Description

Add a mime type to the list of mime types. To associate a mime type with a file extension, refer to File extension: Create. The additionalHeaders property specifies if any additional headers will be added when serving this content. The binary property specifies whether the content is considered binary, that is, not text. Both properties are optional.

Body

{ "mime": "application/andrew-inset", "additionalHeaders": "header1", "binary": false }

Return value

{ "id": "ac4797c9-0cc1-4528-b4c3-67701149a42e", "createdDate": "2017-05-10T18:19:20.865Z", "modifiedDate": "2017-05-10T18:19:20.865Z", "modifiedByUserName": "some_user", "mime": "application/andrew-inset", "extensions": "", "additionalHeaders": "header1", "binary": false, "privileges": null, "impactSecurityAccess": false, "schemaPath": "MimeType" }

Optional parameters

Did this information help you?

Can you tell us why it did not help you and how we can improve it?

Thanks for helping us improve!