search.tagSearch ✎ Edit on GitHub

Search for #tags with given character sequence (3 characters minimum!). Tags are sorted by their popularity.

NameRequiredTypeDescription
query true String

Character sequence (3 characters minimum!)

filter false TagContentSearchFilter

Filters determining where and when to look:

  • since - date filter (yyyy-MM-dd HH:mm:ss)
  • until - date filter (yyyy-MM-dd HH:mm:ss)
  • types - content types to look into: USER_TOPIC, USER_PHOTO, USER_VIDEO, GROUP_TOPIC, GROUP_PHOTO, GROUP_VIDEO
count false Integer

Number of tags to return

Authorization

Session is required

Response example:

{
    "tags":[
        {
            "query":"ok",
            "all":4,
            "userTopics":0,
            "userPhotos":0,
            "userVideos":0,
            "groupTopics":4,
            "groupPhotos":0,
            "groupVideos":0
        },{
            "query":"apiok",
            "all":2,
            "userTopics":2,
            "userPhotos":0,
            "userVideos":0,
            "groupTopics":0,
            "groupPhotos":0,
            "groupVideos":0
        }
    ],
    "count":3
}

Response

{ "count": "Integer", "tags": [ { "all": "Integer", "groupPhotos": "Integer", "groupTopics": "Integer", "groupVideos": "Integer", "query": "String", "userPhotos": "Integer", "userTopics": "Integer", "userVideos": "Integer" } ] }

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig