example-data.com
Menu
Browse docs and collections

Overview

comments / #1288

Comment #1288

· 6/9/2025

Corrigo vaco summa alienus vigilo. Concido stips deprecator umquam voluptatibus.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/comments/1288" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/comments/1288"
);
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/1288"
);
const comment = (await res.json()) as Comment;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/comments/1288"
)
comment = res.json()

Response

{
  "id": 1288,
  "userId": 143,
  "targetType": "post",
  "targetId": 18,
  "body": "Corrigo vaco summa alienus vigilo. Concido stips deprecator umquam voluptatibus.",
  "isEdited": true,
  "createdAt": "2025-06-09T01:26:43.397Z",
  "updatedAt": "2026-03-21T15:50:30.641Z"
}