Get diff between two versions

View as Markdown
Generate a diff between two versions of a configuration file.

Authentication

AuthorizationBearer

Bearer JWT used by CLI and machine clients on svc-* endpoints. Authentication is required by default, but deployments may disable it with [auth] required = false. Browser OIDC sessions, mTLS, SPIFFE identities, and trusted gateway identity headers may also satisfy authentication outside this generated client flow.

Path parameters

device_uuidstringRequired
filenamestringRequired

Query parameters

from_versionintegerRequired
to_versionintegerRequired
file_typeenumOptional
Enum for config file types.
Allowed values:

Response

Successful Response
device_uuidstring
DCIM provider device identifier
diffstring
Unified diff output
diff_statsmap from strings to integers
Statistics about the diff
filenamestring
File name
from_versioninteger
Source version
new_contentstring
Content of target version
old_contentstring
Content of source version
to_versioninteger
Target version
deviceobject or nullOptional
Device metadata from the selected DCIM provider

Errors

422
Unprocessable Entity Error