Listing All Files
This operation allows you to retrieve a list of all of the files that currently exist in the servers storage folder.
HTTP method |
GET
|
URI |
/FileService |
Request headers |
Host: <server_dns_or_ip> Accept: <mime_type> |
Request body |
n/a |
Response headers |
Content-Length: <int> Content-Type: <mime_type> Date: <date_time> Server: Microsoft-HTTPAPI/2.0 |
Response body |
A JSON or XML array containing the names of the files present in the server folder.
|
HTTP result code(s) |
HTTP 200 (OK) indicates a successful response.
|
Response Data Format
The format of the returned data is determined by the value of the HTTP request Accept header that you pass.
Response Format |
MIME Type |
JSON |
application/json |
XML |
application/xml |
If you do not pass an Accept header then the default response will be a JSON array.