example-data.com
Menu
Browse docs and collections

Overview

applications / #252

Component variants

Medium
Small

User #165 applied (accepted) Job #233 · 10/12/2024, 4:56:32 AM

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/applications/252"
);
const application = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/applications.d.ts https://example-data.com/types/applications.d.ts
import type { Application } from "./types/applications";

const res = await fetch(
  "https://example-data.com/api/v1/applications/252"
);
const application = (await res.json()) as Application;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/applications/252"
)
application = res.json()

Response

{
  "id": 252,
  "userId": 165,
  "jobId": 233,
  "status": "accepted",
  "coverLetter": "Aurum validus vilis verbera fugit tracto xiphias basium nihil. Pel ager beatus alienus. Amissio bibo sapiente sopor admoneo verumtamen ulterius.",
  "appliedAt": "2024-10-12T04:56:32.368Z",
  "lastUpdatedAt": "2024-10-16T19:53:16.569Z"
}