Searches with no results - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service responds with information about which search terms returned no results in a selected period.

Method Endpoint
POST /analytics/api/v2/searches/no-results-top

Request example

The following lines show an example of a JSON request body:

{
  "startDate": "2023-03-29",
  "endDate": "2023-04-29",
  "paging": {
    "page": 2,
    "perPage": 10
  },
  "contentLocale": "fr-FR"
}
Field Name Type Required? Description
startDate String Yes Inclusive start date of the period. Must be within the past year.
endDate String Yes Exclusive end date of the period. Must be later than the start date.
contentLocale String Yes Combination of ISO 639-1 language code and ISO 3166-1 country code.
paging Object Yes Element containing page and perPage elements.
page Number Yes Current page number. Starts at 1.
perPage Number Yes Number of results per page.

All elements described above are mandatory.

Response body

The following lines show an example of a JSON response body:

{
  "startDate": "2023-03-29",
  "endDate": "2023-04-29",
  "results": [
    {
      "facets": [
        {
          "key": "version",
          "label": "Version Number",
          "values": [
            "1.78",
            "14.54.5"
          ]
        }
      ],
      "queryCount": 312,
      "terms": "install guide"
    }
  ],
  "paging": {
    "lastPage": false,
    "page": 2,
    "perPage": 20,
    "totalCount": 1328
  }
}
Field Type Description
startDate String Inclusive start date of the period as defined in the request body.
endDate String Exclusive end date of the period as defined in the request body.
lastPage Boolean Boolean operator indicating whether the page is the last page.
page Number Current page number.
perPage Number Number of results per page.
totalCount Number Total number of available results.
terms Array Keywords that were typed in the search box.
key String Unique name to identify the facet.
label String Localized name of the facet.
values Array Values of the facets.
queryCount Number Number of queries containing the terms that were submitted.
Return code Description
200 OK Returns 0 or more results.