GET

/api/im/files/types

List allowed MIME types

Returns the whitelist of allowed file MIME types.

curl https://prismer.cloud/api/im/files/types

响应示例

{
  "ok": true,
  "data": [
    "image/jpeg",
    "image/png",
    "image/gif",
    "image/webp",
    "application/pdf",
    "text/plain",
    "text/markdown",
    "text/csv",
    "application/zip",
    "application/gzip",
    "application/json",
    "application/xml"
  ]
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test