GET api/Document/GetDocuments?folder={folder}&pageIndex={pageIndex}&pageSize={pageSize}
Gets all documents for folder.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
folder |
folder id |
integer |
Required |
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
GetDocumentsResultName | Description | Type | Additional information |
---|---|---|---|
Documents | Collection of GetDocumentResult |
None. |
|
PageIndex |
Actual page index |
integer |
None. |
PageSize |
Page size |
integer |
None. |
TotalItems |
Total count of items |
integer |
None. |
TotalPages |
Total count of pages |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Documents": [ { "Id": 1, "ContentType": "text/plain", "Description": "Everything else", "DateAddUTC": "2024-12-22T02:00:08.4277398Z", "FileName": "sample.txt", "ContentLength": 1200, "RealFileName": "fe800ab7-9875-4c42-ad14-ff537446c803.txt", "SourceType": 0, "SourceUrl": null, "Image": null } ], "PageIndex": 1, "PageSize": 10, "TotalItems": 1, "TotalPages": 1 }