Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Search history and suggestions

7 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Save search

POST/search

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
queryrequiredstringAt least 2 characters, at most 80 characters.
active_profile_idstring

Response

201. The payload in data is not described in the spec yet.

Get search history

GET/search/history

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1, maximum 50.
active_profile_idstring, query
scopestring, query
x-refstring, header

Response

200. The payload in data is not described in the spec yet.

Delete search history

DELETE/search/history

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
x-refstring, header

Request body application/json

FieldTypeDescription
keyword_idnumber
active_profile_idstring
matchstring
scopestring

Response

200. The payload in data is not described in the spec yet.

Set keyword status

PATCH/search/keywords/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Get suggestions

GET/search/suggestions

Public: no sign-in needed.

Parameters

NameTypeDescription
qrequiredstring, query
limitrequiredstring, query
x-refstring, header

Response

200. The payload in data is not described in the spec yet.

Get trending

GET/search/trending

Public: no sign-in needed.

Parameters

NameTypeDescription
pagenumber, queryMinimum 1.
limitnumber, queryMinimum 1, maximum 50.
active_profile_idstring, query
scopestring, query
x-refstring, header

Response

200. The payload in data is not described in the spec yet.