Configuration API

Supported fileTypes info

OVERVIEW

Purpose

This api method helps to obtain information about blacklist/whitelist filetypes of Instance

Request URI

GET /configuration/supportedfiletypes

Sample request URL : https://domain.com/instancename/api/1/configuration/supportedfiletypes

Assumptions

  • Any system user can call this API
  • If matched extension not found in system then only <type> tag is display for that filetype

Response XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration>
    <listtype>blacklist</listtype>
    <filetypes>
        <filetype>
            <type>txt</type>
            <typeicon>https://domain.com/instancename/images/fileicon/txt.png</typeicon>
            <typedesc>Plain Text Document</typedesc>
        </filetype>
        <filetype>
            <type>jpg</type>
            <typeicon>https://domain.com/instancename/images/fileicon/jpg.png</typeicon>
            <typedesc>JPEG Image</typedesc>
        </filetype>
    </filetypes>
</configuration>

Response Code

Code Meaning
200 Response successfully
401 Unauthorized
403 Validation failed/ Forbidden
405 Method not allowed (calling api with wrong method)
500 Internal error occured while uploading document
 

Comments


1 Comments

Last Updated: Jun 10,2023