Skip to content

Input Tips

  • Endpoint Path: /api/fresns/v1/common/input-tips
  • 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
typeStringrequiredChoose one from user, hashtag
keyStringrequiredKeyword

Return

json
{
    "code": 0,
    "message": "ok",
    "data": [
        {
            "fsid": "String / username or hid",
            "name": "String / nickname or hashtag name",
            "image": "String / user avatar or hashtag cover",
            "interaction": {
                "likeStatus": "Boolean / Like status",
                "dislikeStatus": "Boolean / Dislike status",
                "followStatus": "Boolean / Follow status",
                "blockStatus": "Boolean / Block status",
                "note": "String / My interaction note (follow or block)"
            }
        }
    ]
}

Released under the Apache-2.0 License