Skip to content
Streamkap
Esc
↑↓navigate↵open⌘Jpreview

Get Source Config Comparison

Compare a source’s current config against its original recorded config (secret-masked diff).

GET/sources/{source_id}/config-history/compare-to-original
Authorization
AuthorizationBearer token · headerrequired
Path parameters
source_idstringrequired
Responses
200

Successful Response

has_changesboolean

Whether the current config differs from the original

default: false
oldest_timestampstring<date-time> | null

Timestamp of the original recorded config

Show properties
Any of:
string<date-time>
string<date-time>
null
null
latest_timestampstring<date-time> | null

Timestamp of the latest recorded config

Show properties
Any of:
string<date-time>
string<date-time>
null
null
masked_diffstring

Unified diff (secret-masked) of original vs current config

default: ""
422

Validation Error

detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X GET 'https://api.streamkap.com/sources/string/config-history/compare-to-original' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "has_changes": false,
  "oldest_timestamp": "2019-08-24T14:15:22Z",
  "latest_timestamp": "2019-08-24T14:15:22Z",
  "masked_diff": ""
}