Ga naar hoofdinhoud

conversationsUrl

conversationsUrl(appId?) returns the AI Chat Companion's conversation-list endpoint (GET) — {chatApiBase}/conversations.

import { conversationsUrl } from '@conduction/nextcloud-vue'

conversationsUrl() // '/index.php/apps/openregister/api/conversations'
conversationsUrl('hermiq') // '/index.php/apps/hermiq/api/conversations'

Derived from chatApiBase; appId falls back to DEFAULT_CHAT_APP_ID. For a single conversation's messages, see conversationMessagesUrl.

Source: src/composables/aiChatConfig.js (ADR-034).