Connecting
Create a connection to an external app. You can connect by intent — just describe what you want to connect to and Membrane finds the right app automatically.Managing Connections
Listing
List all connections for the current tenant.Status
Each connection carries astatus — the single field that says where it stands:
When a connection is
broken, statusReason names the cause: reauthenticate (the app rejected the
stored authorization — a person must re-connect), configure (the connection’s configuration is
invalid), unavailable (the app kept failing without ever rejecting the authorization — nothing is
asked of the user), or error (an internal setup failure).
The connected and state fields remain on the response as projections of status, for consumers
written before it existed.
Reconnecting
A single failed request does not disconnect a connection. Membrane counts failures, keeps using the connection while the failures look temporary, and marks itbroken only when the app confirms the
authorization is no longer valid — or when failures persist long enough to be more than a bad
afternoon at the provider.
Every broken connection is retried automatically in the background, and returns to active on its
own as soon as the app answers again. healingExhausted: true means those retries have stopped and a
person is now the only way back. To reconnect manually: