GET /console/lab/insights
NO
Key | Type | Description | Match | Example |
---|---|---|---|---|
st |
integer: specific topic ID | 用關聯小議題過濾分析評論 | exact | 1 2 |
doc |
integer: document ID | 用文件過濾分析評論 | exact | 1 2 |
{
rows: [
{
id
status
slug
image
st: {
id
title
image
index
}
}
...
]
totalRowCount
}
GET /console/lab/insight/:id
NO
{
id
status
slug
image
st_id
doc_id
}
POST /console/lab/insight
NO
Key | Type | Required | Description |
---|---|---|---|
status |
string | 🌕 | 狀態 |
slug |
string | 🌑 | 短網址 |
image |
string | 🌑 | 圖像的路徑 |
title |
integer | 🌕 | 標語 |
st_id |
integer | 🌕 | 關聯小議題 ID |
doc_id |
integer | 🌑 | 文件 ID |
{
"status": "active",
"slug": "bill-comp/recall/xxxx",
"image": "path/image.png",
"title": "數據分析報告",
"st_id": 1,
"doc_id": 3
}
Returns the newly created insight
PATCH /console/lab/insight/:id
NO
DELETE /console/lab/insight/:id
NO
204 No Content