Skip to content

Search version history

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
contentIdsArray of strings
pageobject(Page_request)
sortobject(Sort_request)
sinceIdstring
createdTimeRangeFilterobject(TimeRange_ds)
statusListArray of strings(ContentStatus)
publicContentboolean
ownerUserIdsArray of integers, (int64)
contentIdOrBaseCountryContentIdstring
countryCodesArray of strings
localestring
curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/knowledgebase/version-history/search \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "contentIds": [
      "string"
    ],
    "page": {
      "page": 0,
      "size": 0,
      "skip": 0,
      "cursor": "string"
    },
    "sort": {
      "type": "string",
      "key": "string",
      "order": "string",
      "additional": {
        "property1": {},
        "property2": {}
      },
      "postProjectionSort": {}
    },
    "sinceId": "string",
    "createdTimeRangeFilter": {
      "from": {},
      "upto": {},
      "includeLower": true,
      "includeUpper": true,
      "offset": 0,
      "rangeStart": 0,
      "end": {},
      "interval": {}
    },
    "statusList": [
      "string"
    ],
    "publicContent": true,
    "ownerUserIds": [
      0
    ],
    "contentIdOrBaseCountryContentId": "string",
    "countryCodes": [
      "string"
    ],
    "locale": "string"
  }'

Responses

Success

Bodyapplication/json
dataobject
errorsArray of objects(Error)
metadataobject(ResponseMetadata)
Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }