GET api/v1/Media?folderId={folderId}

Returns a list of Media in the requested folder.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
folderId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ReadMediaDto
NameDescriptionTypeAdditional information
Id

The ID of the media

integer

None.

Name

The name of the media

string

String length: inclusive between 0 and 255

ContentType

The content type of the media

string

String length: inclusive between 0 and 50

SizeInBytes

The media's size in bytes

integer

None.

PublicUrl

The media's public URL

string

String length: inclusive between 0 and 500

ThumbnailUrl

The media's Thumbnail URL

string

String length: inclusive between 0 and 500

LastModified

The Datetimeoffset when the Media was last modified

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "ContentType": "sample string 3",
    "SizeInBytes": 4,
    "PublicUrl": "sample string 5",
    "ThumbnailUrl": "sample string 6",
    "LastModified": "2024-11-21T06:21:40.324021+00:00"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "ContentType": "sample string 3",
    "SizeInBytes": 4,
    "PublicUrl": "sample string 5",
    "ThumbnailUrl": "sample string 6",
    "LastModified": "2024-11-21T06:21:40.324021+00:00"
  }
]