latestOpenAPI 3.0.02026-08-10621852.7 KB

c8f0d96c040e

Search

Save search data

post/search/save

Cookies

SessionIndexstring required

Concierge session

Request body

namestring required

Name of the search

searchtextstring required

Search text or query entered by the user

descriptionstring

Additional description of the search

featuretoggleboolean

Whether a certain feature is enabled or not

searchbystring

The criteria by which the search is filtered

sortingbystring

Sorting method used for the search results

Example request

{
  "name": "Product Name",
  "searchtext": "Search Text",
  "description": "Description",
  "searchby": "allcontents or titles",
  "sortingby": "relevance or recentlyadded",
  "filters": {
    "product": [
      "product name"
    ],
    "version": [
      "version 0.1"
    ],
    "language": [
      "en-us"
    ]
  }
}

Response

Successfully saved search data

idinteger
emailstring
namestring
searchTextstring
featuretoggleboolean
searchbystring
sortingbystring
descriptionstring
positioninteger