Get Bootstrap Script
Retrieves the initial bootstrap script for a device based on a runbook token. The device fetches this script to start the adoption process. Requires a valid runbook token middleware (RunbookToken
). Accepts x-ros-debug
header for verbose/non-minified script.
Authorizations
Standard JWT token obtained via a separate authentication process. Required for most user-facing API endpoints.
Path Parameters
The base62 encoded UUID representing the Runbook token.
"4KuKNp3QzpfwLcg3BUnn1a"
Response
The response is of type string
.
":log info \"Starting Altostrat SDX Bootstrap\";\n/tool fetch url=\"https://api.altostrat.io/adopt/4KuKNp3QzpfwLcg3BUnn1a\" http-method=post mode=https \\\nhttp-header-field=\"content-type:text/plain\" \\\noutput=script on-event=\"/log info \\\"Bootstrap script fetched\\\";/import file-name=script.auto.rsc;/file remove script.auto.rsc\" \\\nsrc-path=\"/system identity print without-paging; /system resource print without-paging; /system license print without-paging; /system routerboard print without-paging\";\n:log info \"Bootstrap fetch initiated\";\n"
Was this page helpful?