example-data.com
Menu
Browse docs and collections

Overview

applications / #266

Component variants

Medium
Small

User #173 applied (applied) Job #22 · 6/15/2024, 4:03:46 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 266,
  "userId": 173,
  "jobId": 22,
  "status": "applied",
  "coverLetter": "Bardus aranea thermae fugiat apostolus deduco. Ex argentum casus. Sub bos delego coaegresco acerbitas subseco suppono rerum optio.",
  "appliedAt": "2024-06-15T04:03:46.673Z",
  "lastUpdatedAt": "2024-06-29T09:53:46.421Z"
}