budgets / #8
- userId
-
Mara Johnson @mara.johnson17
- name
- Subscriptions
- categoryId
- —
- amount
- 1555.65
- period
- monthly
- spent
- 944.31
- currency
- AUD
- startsAt
- 2024-08-02
- endsAt
- 2024-09-01
- createdAt
Component variants
Medium
Subscriptions
#8
Small
budgets/8 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/8" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/8"
);
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/8"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/8"
)
budget = res.json() {
"id": 8,
"userId": 12,
"name": "Subscriptions",
"categoryId": null,
"amount": 1555.65,
"period": "monthly",
"spent": 944.31,
"currency": "AUD",
"startsAt": "2024-08-02",
"endsAt": "2024-09-01",
"createdAt": "2025-11-01T03:49:23.403Z"
}