Create or update a config file
Create or update a configuration file.
If the content has not changed, the existing version is returned without creating a new one.
Path parameters
device_uuid
filename
Request
This endpoint expects an object.
commit_message
Commit message describing the change
content
Configuration file content
created_at
Optional timestamp for the version (defaults to current time)
file_type
Config file type (intended or backup)
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