GET api/v1/Media/{id}
Returns a single Media item.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ReadMediaDtoName | Description | Type | Additional 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-09-13T06:31:42.7602374+00:00" }