Comments
Get a single comment
get/comments/{id}
Request
- Base URLhttps://dummyjson.com
- URLhttps://dummyjson.com/comments/{id}
- Authnone required
Path parameters
idinteger required
Resource id.
Query parameters
selectstring
Comma-separated fields to include (id is always included).
delayinteger
Artificial response delay in milliseconds (0–5000).
Response
Comment
Example response
{
"id": 1,
"body": "This is some awesome thinking!",
"postId": 242,
"likes": 3,
"user": {
"id": 105,
"username": "emmac",
"fullName": "Emma Wilson"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.