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-22T03:00:16.2518355Z", "FileName": "sample.txt", "ContentLength": 1200, "RealFileName": "4054dc1b-ede9-4190-b76e-f83cb994fd7c.txt", "SourceType": 0, "SourceUrl": null, "Image": null } ], "PageIndex": 1, "PageSize": 10, "TotalItems": 1, "TotalPages": 1 }