Comment #261
· 5/28/2024
Desidero creber quidem distinctio. Harum commemoro vespillo utor admiratio sit bellicus sponte cunctatio peccatus.
Overview
comments / #261
Desidero creber quidem distinctio. Harum commemoro vespillo utor admiratio sit bellicus sponte cunctatio peccatus.
Comment #261
5/28/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/261" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/261" ); const comment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/comments.d.ts https://example-data.com/types/comments.d.ts
import type { Comment } from "./types/comments";
const res = await fetch(
"https://example-data.com/api/v1/comments/261"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/261"
)
comment = res.json() Response
{
"id": 261,
"userId": 25,
"targetType": "post",
"targetId": 479,
"body": "Desidero creber quidem distinctio. Harum commemoro vespillo utor admiratio sit bellicus sponte cunctatio peccatus.",
"isEdited": true,
"createdAt": "2024-05-28T14:18:18.401Z",
"updatedAt": "2026-04-18T18:33:21.502Z"
}