GET api/Document/GetDocuments?folder={folder}&pageIndex={pageIndex}&pageSize={pageSize}

Gets all documents for folder.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
folder

folder id

integer

Required

pageIndex

integer

None.

pageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

GetDocumentsResult
NameDescriptionTypeAdditional 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:53.8046802Z",
      "FileName": "sample.txt",
      "ContentLength": 1200,
      "RealFileName": "0141c370-b527-477d-8d6f-5e1b9964edc0.txt",
      "SourceType": 0,
      "SourceUrl": null,
      "Image": null
    }
  ],
  "PageIndex": 1,
  "PageSize": 10,
  "TotalItems": 1,
  "TotalPages": 1
}