GET api/comments/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
comment| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| memeId | integer |
None. |
|
| userId | string |
None. |
|
| tStamp | date |
None. |
|
| text | string |
None. |
|
| statusId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"memeId": 1,
"userId": "sample string 2",
"tStamp": "2025-12-18T07:17:30.1473579+02:00",
"text": "sample string 3",
"statusId": 1
}
application/xml, text/xml
Sample:
<comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models"> <id>1</id> <memeId>1</memeId> <statusId>1</statusId> <tStamp>2025-12-18T07:17:30.1473579+02:00</tStamp> <text>sample string 3</text> <userId>sample string 2</userId> </comment>