feat(api): expose provider connection health (#1636)

* feat(api): expose provider connection health

* fix(api): harden provider health review paths

* fix(api): refine provider health responses

* test(api): align provider health docs key scope

* fix(api): clarify provider connection status

* fix(api): batch provider connection sync status

* fix(api): polish provider connection status review feedback

* fix(api): correct provider connection summaries
This commit is contained in:
ghost
2026-05-06 16:42:32 -06:00
committed by GitHub
parent d1081547ec
commit 45c5284148
10 changed files with 887 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# frozen_string_literal: true
json.extract! provider_connection,
:id,
:provider,
:provider_type,
:name,
:status,
:requires_update,
:credentials_configured,
:scheduled_for_deletion,
:pending_account_setup,
:institution,
:accounts,
:sync,
:created_at,
:updated_at

View File

@@ -0,0 +1,5 @@
# frozen_string_literal: true
json.data do
json.array! @provider_connections, partial: "api/v1/provider_connections/provider_connection", as: :provider_connection
end