---
title: "GET /api/v1/scripts/local/{scriptId}/migrate-local-to-global-what-if"
method: GET
path: "/api/v1/scripts/local/{scriptId}/migrate-local-to-global-what-if"
tags: ["Scripts"]
---

# GET /api/v1/scripts/local/{scriptId}/migrate-local-to-global-what-if

`GET /api/v1/scripts/local/{scriptId}/migrate-local-to-global-what-if`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/scripts/local/{scriptId}/migrate-local-to-global-what-if`
- Auth: none declared

## Path parameters

- `scriptId` integer, required

## Response `200`

OK

- MigrationPreviewResponse
  - `software` MigratorDataDto[], nullable
    - `id` integer
    - `name` string, nullable
  - `softwareVersions` MigratorDataDto[], nullable
    - `id` integer
    - `name` string, nullable
  - `maintenanceTasks` MigratorDataDto[], nullable
    - `id` integer
    - `name` string, nullable
  - `scripts` MigratorDataDto[], nullable
    - `id` integer
    - `name` string, nullable
  - `softwareHasLocalPrerequisites` boolean

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
