Ga naar hoofdinhoud

conversationMessagesUrl

conversationMessagesUrl(appId?, conversationUuid) returns the endpoint (GET) for the messages of a single AI Chat Companion conversation — {chatApiBase}/conversations/{conversationUuid}/messages.

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

conversationMessagesUrl('openregister', 'abc-123')
// '/index.php/apps/openregister/api/conversations/abc-123/messages'

Derived from chatApiBase; appId falls back to DEFAULT_CHAT_APP_ID. For the conversation list, see conversationsUrl.

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