Skip to main content

Module liveness

Module liveness 

Source
Expand description

Confluence LivenessProbe impl per [ADR-021] §6.

Self-hosted / Server / DC probes GET /rest/api/user/current. Confluence Cloud uses two paths depending on auth:

  • Basic auth (email + API token): probe GET <site>/wiki/rest/api/user/current
  • Bearer auth (Atlassian OAuth): discover the matching cloud_id via Atlassian accessible-resources, then probe GET https://api.atlassian.com/ex/confluence/{cloud_id}/wiki/api/v2/space?limit=1

The Cloud bearer path does not return a user profile directly, so the liveness detail reports the matched site origin / cloud id rather than a username.