example-data.com
Menu
Browse docs and collections

Overview

applications / #143

Component variants

Medium
Small

User #101 applied (applied) Job #75 · 10/22/2024, 8:48:07 AM

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/applications/143"
);
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/143"
);
const application = (await res.json()) as Application;

Python example

import requests

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

Response

{
  "id": 143,
  "userId": 101,
  "jobId": 75,
  "status": "applied",
  "coverLetter": "Sublime amet terreo approbo sui adduco bene atavus explicabo. Speciosus video tabesco abutor maiores ocer atrocitas fugiat socius. Decet distinctio currus careo administratio.",
  "appliedAt": "2024-10-22T08:48:07.705Z",
  "lastUpdatedAt": "2024-11-21T19:23:49.559Z"
}