Session Replays

Update Replay Collection

PATCH
/v0/projects/{idOrSlug}/replay-collections/{collectionId}

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string
collectionId*string

Request Body

application/json
  1. body
name?string|null
mode?|null
filterConfig?|null|null

Response Body

ReplayCollectionRecord

application/json
  1. response
id*string
projectId*string
name*string
mode*string
Value in"manual""automatic"
filterConfig*|null
position*number|
defaultKey*string|null
createdBy*string|null
updatedBy*string|null
createdAt*string
updatedAt*string
replayCount?number||null
curl -X PATCH "https://example.com/v0/projects/string/replay-collections/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "projectId": "string",  "name": "string",  "mode": "manual",  "filterConfig": {    "viewed": true,    "identifiedState": "identified",    "browserIn": [      "string"    ],    "osIn": [      "string"    ],    "countryIn": [      "string"    ],    "routeVisitedAny": [      "string"    ],    "minClickCount": 0,    "maxClickCount": 0,    "minRageClickCount": 0,    "maxRageClickCount": 0,    "minEventCount": 0,    "maxEventCount": 0,    "minDurationMs": 0,    "maxDurationMs": 0,    "hasErrors": true,    "hasSummary": true,    "hasPainPoints": true,    "hasPoorVitals": true,    "poorVitalMetric": "string",    "playbackStart": "session_start",    "datasourceFilters": [      {        "referenceId": "string",        "operator": "equals",        "value": "string",        "dataType": "string"      }    ]  },  "position": 0,  "defaultKey": "string",  "createdBy": "string",  "updatedBy": "string",  "createdAt": "string",  "updatedAt": "string",  "replayCount": 0}