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-04-27T02:02:18.0482156Z",
      "FileName": "sample.txt",
      "ContentLength": 1200,
      "RealFileName": "a27961f3-c5bf-4e4e-9e7b-188ccd93611b.txt",
      "SourceType": 0,
      "SourceUrl": null,
      "Image": null
    }
  ],
  "PageIndex": 1,
  "PageSize": 10,
  "TotalItems": 1,
  "TotalPages": 1
}