Retrieves comments from a specified record.
GET
/records/{id}/comments请求参数
Path 参数
id
string
必需
A record's ID.
Query 参数
Order
array[string]
可选
The field(s) by which the result is sorted.
Desc
array[string]
可选
Whether the result is sorted in descending order on each field.
Page
integer
可选
The page number. Defaults to 1.
PerPage
integer
可选
The number of entries that are presented in one page. Defaults to DataSettings:PaginationPerPage.
Search
string
可选
The search string. Optional.
Predicate
string
可选
The predicate string, which will be evaluated into a Func
and filter the query result.
Optional. Administrators only.
示例代码
返回响应
Returns an array of comments.(200)
When any of the parameters is invalid.(400)
When the specified record is not found.(404)
Returns an array of comments.
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
未设置
修改于 2 个月前