v4

latestOpenAPI 3.1.02026-08-08221179273.1 KB
journal

Get Journal

Fetch the combined Journal screen payload for the authenticated user (gratitudes, prayer journals and saved Bible verses) in a single call.

Backed by the get_journal_bundle(p_user_id uuid) Postgres function which returns everything plus latest_change in a single round-trip. Freshness is managed client-side via per-source stale signals; the server holds no cache.

get/api/journal

Headers

x-user-idstring nullable

Response

Successful Response

latest_changestring nullable

Example response

{
  "verses": [
    {
      "book": "John",
      "chapter": 3,
      "created_at": "2024-05-11T19:42:00+00:00",
      "verse": 16,
      "version": "KJV"
    }
  ]
}