You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SI-6: Introduce ApiClient — a high-level typed client over protocol DTOs #1944
Subissue of EPIC #1938 — REST API Contract-First Migration
Problem
The REST API client package (torrust-tracker-rest-api-client) currently exposes only a low-level Client where all methods return raw reqwest::Response. Callers parse the body manually. Some methods panic via .unwrap(). External consumers (Torrust Index, E2E tests) build their own ad-hoc wrappers.
Decision
Introduce a two-tier client architecture in packages/rest-api-client/src/v1/client.rs:
ApiHttpClient (renamed from Client) — low-level HTTP transport. Handles connection info, URL building, auth headers. Returns raw Response.
Activity
docs(1938): add EPIC and sub-issue specs for REST API contract-first …
Merge #1936: feat(rest-api): adopt contract-first REST API architectu…
Merge torrust#1968: refactor(rest-api-client): align client with rest…
chore(issues): archive closed issue specs torrust#1447, torrust#1459, t…
Merge #1984: chore(issues): archive 10 closed issue specs from docs/i…