Skip to main content

Get Longest Conv By Frontend Id

Get the longest conversation from the tree of the message. The message is identified by its frontend ID.

Path Parameters
message_id Message Id REQUIRED
Responses
200

Successful Response

Schema OPTIONAL
messages object[] OPTIONAL
id uuid OPTIONAL
user_id uuid OPTIONAL
frontend_message_id Frontend Message Id OPTIONAL
text Text
lang Lang OPTIONAL
is_assistant Is Assistant
emojis object OPTIONAL
user_emojis string[] OPTIONAL
user_is_author User Is Author OPTIONAL
synthetic Synthetic OPTIONAL
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type
get_longest_conv_by_frontend_id_api_v1_frontend_messages__message_id__longest_conversation_in_tree_get
GET /api/v1/frontend_messages/:message_id/longest_conversation_in_tree
message_id — path
curl -L 'https://andrewm4894.github.io/api/v1/frontend_messages/:message_id/longest_conversation_in_tree' \
-H 'Accept: application/json'