Unverified Commit b91e2260 authored by Joel's avatar Joel Committed by GitHub

fix: api doc update conversation list api to real response (#548)

parent da5782df
...@@ -138,7 +138,6 @@ For high-quality text generation, such as articles, summaries, and translations, ...@@ -138,7 +138,6 @@ For high-quality text generation, such as articles, summaries, and translations,
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null, "display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ", "conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200 "created_at": 692233200
}, },
{ {
......
...@@ -138,7 +138,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' ...@@ -138,7 +138,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null, "display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ", "conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200 "created_at": 692233200
}, },
{ {
......
...@@ -137,12 +137,11 @@ For versatile conversational apps using a Q&A format, call the chat-messages API ...@@ -137,12 +137,11 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
"data": [ "data": [
{ {
"id": "WAz8eIbvDR60rouK", "id": "WAz8eIbvDR60rouK",
"username": "FrankMcCallister",
"phone_number": "1-800-759-3000",
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ", "conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200, "inputs": {},
"query": "...",
"answer": "...",
"feedback": "like",
"created_at": 692233200 "created_at": 692233200
}, },
{ {
...@@ -208,7 +207,6 @@ For versatile conversational apps using a Q&A format, call the chat-messages API ...@@ -208,7 +207,6 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null, "display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ", "conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200 "created_at": 692233200
}, },
{ {
......
...@@ -142,7 +142,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' ...@@ -142,7 +142,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg", "avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null, "display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ", "conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200,
"created_at": 692233200 "created_at": 692233200
}, },
{ {
...@@ -203,12 +202,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' ...@@ -203,12 +202,11 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
"data": [ "data": [
{ {
"id": "WAz8eIbvDR60rouK", "id": "WAz8eIbvDR60rouK",
"username": "FrankMcCallister",
"phone_number": "1-800-759-3000",
"avatar_url": "https://assets.protocol.chat/avatars/frank.jpg",
"display_name": null,
"conversation_id": "xgQQXg3hrtjh7AvZ", "conversation_id": "xgQQXg3hrtjh7AvZ",
"last_active_at": 705103200, "inputs": {},
"query": "...",
"answer": "...",
"feedback": "like",
"created_at": 692233200 "created_at": 692233200
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment