budgets / #1
- userId
-
Charlene Roberts @charlene_roberts
- name
- Groceries
- categoryId
- 18
- amount
- 4245.1
- period
- quarterly
- spent
- 156.23
- currency
- EUR
- startsAt
- 2024-12-03
- endsAt
- —
- createdAt
Component variants
Medium
Groceries
#1
Small
budgets/1 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/1" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/1"
);
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/1"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/1"
)
budget = res.json() {
"id": 1,
"userId": 1,
"name": "Groceries",
"categoryId": 18,
"amount": 4245.1,
"period": "quarterly",
"spent": 156.23,
"currency": "EUR",
"startsAt": "2024-12-03",
"endsAt": null,
"createdAt": "2025-12-09T19:44:56.377Z"
}