获取文章评论
GET
http://test-wp.anawin.com/wp-json/om/v1/getComments?post=45&page=1
请求头
参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC90ZXN0LXdwLmFuYXdpbi5jb20iLCJpYXQiOjE1ODk4ODMyOTYsIm5iZiI6MTU4OTg4MzI5NiwiZXhwIjoxNjIxNDE5Mjk2LCJkYXRhIjp7InVzZXIiOnsiaWQiOiIxIn19fQ.nAVz1bIT10E2Bo9TTlEkexWk4vegq9j3ei7CGFCLQRU
必填
请求参数
参数名
类型
描述
必填
post
int
示例:45
必填
page
int
示例:1
必填
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
message
string
示例:success
必填
comment_ID
string
示例:3
必填
comment_post_ID
string
示例:45
必填
comment_author
string
示例:om
必填
comment_author_IP
string
示例:47.241.29.12
必填
comment_date
string
示例:2020-05-08 08:46:19
必填
comment_date_gmt
string
示例:2020-05-08 08:46:19
必填
comment_content
string
示例:test
必填
comment_parent
string
示例:0
必填
user_id
string
示例:1
必填
total
int
示例:1
必填
last_page
int
示例:1
必填
current_page
int
示例:1
必填