Get a config file

View as Markdown
Get a configuration file. If version is not specified, returns the latest version.

Path parameters

device_uuidstringRequiredformat: "uuid"
filenamestringRequired

Query parameters

file_typeenumOptional
Enum for config file types.
Allowed values:
versioninteger or nullOptional

Response

Successful Response
authorstring
Author email
commit_messagestring
Commit message
contentstring
Configuration file content
content_hashstring
SHA256 hash of content
created_atdatetime
Timestamp when version was created
device_uuidstringformat: "uuid"
Device UUID
file_typeenum

Config file type (intended or backup)

filenamestring
File name
idstringformat: "uuid"
Config file ID
versioninteger
Version number
deviceobject or null
Device metadata from Nautobot

Errors

422
Unprocessable Entity Error