GET api/Document/GetLatestDocuments?count={count}

Gets the latest documents for user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
count

count documents

integer

Default value is 20

Body Parameters

None.

Response Information

Resource Description

Collection of GetDocumentResult
NameDescriptionTypeAdditional information
Id

The document id

integer

None.

ContentType

MIME type

string

None.

Description

The description

string

None.

DateAddUTC

Date when the document was inserted to Requestor

date

None.

FileName

File name

string

None.

ContentLength

The length in bytes

integer

None.

RealFileName

The filename which was generated on server

string

None.

SourceType

the file source

DocumentSourceEnum

None.

SourceUrl

Source url for link's documents

string

None.

Image

Icon for document. If it is null the image doesn't exist.

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ContentType": "text/plain",
    "Description": "Everything else",
    "DateAddUTC": "2024-04-28T02:03:39.5280153Z",
    "FileName": "sample.txt",
    "ContentLength": 1200,
    "RealFileName": "81f06a9f-b9ca-4bc2-9c73-a9f9139e528e.txt",
    "SourceType": 0,
    "SourceUrl": null,
    "Image": null
  }
]