[PR 13] Implement Frontend Group & Config API Clients (E4.S*, E5.S*, E6.S*) #59

Closed
opened 2025-06-24 23:56:56 +00:00 by rwachters · 0 comments
rwachters commented 2025-06-24 23:56:56 +00:00 (Migrated from github.com)

Summary

Implement KtorGroupApiClient, KtorProviderApiClient, KtorModelApiClient, and KtorSettingsApiClient classes in app/api/client.

Details

  • Implement all methods defined in their respective interfaces.
  • Use the KtorHttpClient base setup from PR 11 and Ktor resources.
  • Ensure all methods are suspend functions and return Either<ApiError, T>.

Dependencies

  • PR 11 (Frontend HttpClient & Either Conversion)
  • Group, Provider, Model, and Settings API interfaces
  • common module DTOs and Resources
  • PRs 9, 10 (Backend APIs must be wired for these to work end-to-end)

Tests

  • Add integration tests for these API clients.

Assignee

Maya

Labels

frontend, api, ktor, arrow, good first issue

## Summary Implement `KtorGroupApiClient`, `KtorProviderApiClient`, `KtorModelApiClient`, and `KtorSettingsApiClient` classes in `app/api/client`. ## Details - Implement all methods defined in their respective interfaces. - Use the `KtorHttpClient` base setup from PR 11 and Ktor `resources`. - Ensure all methods are `suspend` functions and return `Either<ApiError, T>`. ## Dependencies - PR 11 (Frontend HttpClient & Either Conversion) - Group, Provider, Model, and Settings API interfaces - `common` module DTOs and Resources - PRs 9, 10 (Backend APIs must be wired for these to work end-to-end) ## Tests - Add integration tests for these API clients. ## Assignee Maya ## Labels frontend, api, ktor, arrow, good first issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Torvian.eu/chatbot#59
No description provided.