GET
/
{id}
curl --request GET \
  --url https://{appDomain}/{id} \
  --header 'Authorization: Bearer <token>'
":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"

Authorizations

Authorization
string
header
required

Standard JWT token obtained via a separate authentication process. Required for most user-facing API endpoints.

Path Parameters

id
string
required

The base62 encoded UUID representing the Runbook token.

Example:

"4KuKNp3QzpfwLcg3BUnn1a"

Response

200
text/plain
RouterOS script for bootstrapping.

The response is of type string.

Example:

":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?