GET api/Content/FileList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of FileName | Type | Additional information | Description |
---|---|---|---|
Id | integer |
None. |
|
UserID | integer |
None. |
|
filesize | integer |
None. |
|
filetype | string |
None. |
|
filename | string |
None. |
|
original_filename | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "UserID": 2, "filesize": 3, "filetype": "sample string 4", "filename": "sample string 5", "original_filename": "sample string 6" }, { "Id": 1, "UserID": 2, "filesize": 3, "filetype": "sample string 4", "filename": "sample string 5", "original_filename": "sample string 6" } ]
text/html
Sample:
[{"Id":1,"UserID":2,"filesize":3,"filetype":"sample string 4","filename":"sample string 5","original_filename":"sample string 6"},{"Id":1,"UserID":2,"filesize":3,"filetype":"sample string 4","filename":"sample string 5","original_filename":"sample string 6"}]
application/xml, text/xml
Sample:
<ArrayOfFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EnergyProject.Domain"> <File> <Id>1</Id> <UserID>2</UserID> <filename>sample string 5</filename> <filesize>3</filesize> <filetype>sample string 4</filetype> <original_filename>sample string 6</original_filename> </File> <File> <Id>1</Id> <UserID>2</UserID> <filename>sample string 5</filename> <filesize>3</filesize> <filetype>sample string 4</filetype> <original_filename>sample string 6</original_filename> </File> </ArrayOfFile>