GET api/file/{id}
Gets the file information for this file id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
unique id of the file |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SDFileName | Description | Type | Additional information |
---|---|---|---|
version |
File Version |
integer |
None. |
size |
File Size in bytes |
integer |
None. |
i_node |
Unique database id of the item |
integer |
None. |
f_node |
Unique database id of the item's parent, this is needed sometimes to figure out the structure of the content |
integer |
None. |
item |
Name\Title of the item |
string |
None. |
description |
Description of the item |
string |
None. |
creator |
User details who created the item |
ViewUserDTO |
None. |
status |
Current status of the item |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "version": 1, "size": 2, "i_node": 3, "f_node": 4, "item": "sample string 5", "description": "sample string 6", "creator": { "userID": 1, "userName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "email": "sample string 5", "customFields": [ { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" }, { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" } ], "status": "sample string 6", "createDate": "2024-12-22T06:19:56.1228183+00:00", "groups": [ { "name": "sample string 1", "id": 2 }, { "name": "sample string 1", "id": 2 } ] }, "status": "sample string 7" }