Comment #1050
· 9/16/2024
Spero tergo defleo civis argumentum adsidue theologus. Decens pax in eaque uter. Concedo conspergo advoco terror cibo ultra benigne decet cohors claudeo.
Overview
comments / #1050
Spero tergo defleo civis argumentum adsidue theologus. Decens pax in eaque uter. Concedo conspergo advoco terror cibo ultra benigne decet cohors claudeo.
Comment #1050
9/16/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/1050" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/1050" ); 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/1050"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/1050"
)
comment = res.json() Response
{
"id": 1050,
"userId": 59,
"targetType": "post",
"targetId": 322,
"body": "Spero tergo defleo civis argumentum adsidue theologus. Decens pax in eaque uter. Concedo conspergo advoco terror cibo ultra benigne decet cohors claudeo.",
"isEdited": true,
"createdAt": "2024-09-16T08:24:20.427Z",
"updatedAt": "2024-11-29T23:03:45.096Z"
}