Get a config file
Get a configuration file.
If version is not specified, returns the latest version.
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_uuid
filename
Query parameters
file_type
Enum for config file types.
Allowed values:
version
Response
Successful Response
commit_message
Commit message
content
Configuration file content
content_hash
SHA256 hash of content
created_at
Timestamp when version was created
device_uuid
Device UUID
file_type
Config file type (intended or backup)
filename
File name
id
Config file ID
version
Version number
device
Device metadata from Nautobot
Errors
422
Unprocessable Entity Error