Comment #629
· 3/20/2025
Paulatim strues vix inflammatio carpo asperiores assentator commemoro quo.
Overview
comments / #629
Paulatim strues vix inflammatio carpo asperiores assentator commemoro quo.
Comment #629
3/20/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/629" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/629" ); 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/629"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/629"
)
comment = res.json() Response
{
"id": 629,
"userId": 204,
"targetType": "post",
"targetId": 304,
"body": "Paulatim strues vix inflammatio carpo asperiores assentator commemoro quo.",
"isEdited": false,
"createdAt": "2025-03-20T22:28:14.102Z",
"updatedAt": "2025-03-20T22:28:14.102Z"
}