budgets / #20
- userId
-
Jennifer Stoltenberg @jennifer_stoltenberg
- name
- Fitness
- categoryId
- —
- amount
- 3888.22
- period
- monthly
- spent
- 431.67
- currency
- GBP
- startsAt
- 2024-06-17
- endsAt
- 2024-07-17
- createdAt
Component variants
Medium
Fitness
#20
Small
budgets/20 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/20" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/20"
);
const budget = await res.json();import type { Budget } from "https://example-data.com/types/budgets.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/budgets/20"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/20"
)
budget = res.json() {
"id": 20,
"userId": 25,
"name": "Fitness",
"categoryId": null,
"amount": 3888.22,
"period": "monthly",
"spent": 431.67,
"currency": "GBP",
"startsAt": "2024-06-17",
"endsAt": "2024-07-17",
"createdAt": "2026-05-02T01:04:54.072Z"
}