mirror of
https://github.com/we-promise/sure.git
synced 2026-05-12 23:25:00 +00:00
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:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user