Authorization: Bearer ********************{
"source_type": "article",
"source_id": 100,
"content": "这是一条评论",
"parent_id": 1,
"mentioned_users": [
0
]
}curl --location '/api/v1/comments' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"source_type": "article",
"source_id": 100,
"content": "这是一条评论",
"parent_id": 1,
"mentioned_users": [
0
]
}'{
"id": 1,
"source_type": "article",
"source_id": 100,
"is_top": false,
"status": "approved",
"content": "这是一条评论",
"like_count": 0,
"comment_count": 0,
"mentioned_users": [
0
],
"created_at": "2019-08-24T14:15:22.123Z"
}