Skip to content

Search Comments

  • Endpoint Path: /api/fresns/v1/search/comments
  • Method: GET
  • Request: Query

Headers Optional Parameter

KeyPublic Mode (Required)Private Mode (Required)
X-Fresns-Aidoptionalrequired
X-Fresns-Aid-Tokenoptionalrequired
X-Fresns-Uidoptionalrequired
X-Fresns-Uid-Tokenoptionalrequired

Query Params

KeyTypeRequiredDescription
searchKeyStringrequiredSearch Keywords
followUsersBooleanoptionalSpecified range: Published by users I follow
followGroupsBooleanoptionalSpecified range: In the groups I follow
followHashtagsBooleanoptionalSpecified range: In the hashtags I follow
followGeotagsBooleanoptionalSpecified range: In the geotags I follow
followPostsBooleanoptionalSpecified range: In the posts I follow
followCommentsBooleanoptionalSpecified range: In the comments I follow
...optionalOptional comment list api all parameters

Return

json
{
    "code": 0,
    "message": "ok",
    "data": {
        "pagination": {
            "total": "Number / How much data in total",
            "pageSize": "Number / How much data on each page",
            "currentPage": "Number / Current page number",
            "lastPage": "Number / Last page number"
        },
        "list": [
            {
                // Common Data Structure -> Comment Info
            }
        ]
    }
}

Released under the Apache-2.0 License