{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kaltura OTT accessControl searchHistory API",
    "version": "3.6.287.20720"
  },
  "items": [
    {
      "info": {
        "name": "searchHistory",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "searchHistory.clean",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/searchhistory/action/clean"
          },
          "docs": "Clean the user’s search history"
        },
        {
          "info": {
            "name": "searchHistory.delete",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/searchhistory/action/delete"
          },
          "docs": "Delete a specific search history.\r\n            Possible error code: 2032 - ItemNotFound"
        },
        {
          "info": {
            "name": "searchHistory.list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/searchhistory/action/list"
          },
          "docs": "Get user&#39;s last search requests"
        },
        {
          "info": {
            "name": "searchHistory.delete",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/searchhistory_searchhistory/action/delete",
            "params": [
              {
                "name": "ks",
                "value": "",
                "type": "query"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "searchHistory.list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/searchhistory_searchhistory/action/list",
            "params": [
              {
                "name": "ks",
                "value": "",
                "type": "query"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}