Skip to main content Skip to complementary content

Mime type: Create

Information noteLOCKED.

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 page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!