GET /console/ask/answers
NO
YES
{
rows: [
{
id
status
slug
persona: {}
question: {}
index
image
content
references: []
data: {}
}
...
]
totalRowCount
paging: {
page
pages
pageSize
previous
next
}
}
GET /console/ask/answers/:id
NO
NO
與List answers中的Answer object格式相同
POST /console/ask/answers
editor
NO
Key | Type | Required | Description |
---|---|---|---|
status |
string | 🌑 | 此答案的狀態 |
slug |
string | 🌑 | 此答案的短網址 |
persona |
integer: persona ID | 🌕 | 回答此答案的 Persona ID |
question |
integer: question ID | 🌕 | 此答案所屬的問題 ID |
index |
integer | 🌑 | 此答案排序 |
image |
string | 🌑 | 此答案的封面圖片連結 |
content |
string | 🌕 | 此答案的內容 |
references |
array of objects (JSON) | 🌑 | 此答案的參考資料 |
data |
JSON | 🌑 | 此答案的其他資訊 |
PATCH /console/ask/answers/:id
editor
NO