# Migration plan for a new API — prompt for ChatGPT

Compare the old and new contracts and prepare a sequence of client-code changes.

Canonical URL: https://boswidget.ru/en/migration-plan-for-a-new-api-prompt-for-chatgpt/

Model: ChatGPT

Category: Code

Tags: API, migration, compatibility

![Migration plan for a new API](https://boswidget.ru/assets/images/text-preview-cg-plan-perehoda-na-novyj-api-1200.3876f3d89bab.webp)

Migration plan for a new API

## Prompt

Old contract: {old}. New contract: {new}. Our calls and constraints: {usage}. Make a breaking-change table: field or behavior, affected code, required edit and verification method. Separately list preserved compatibility and unknown conditions. Propose a migration order and rollback condition. Use only the supplied contracts; do not invent documentation or version support. Do not claim the migration has been performed.

## Template fields

- `{old}` — Old contract. Example input: Routes, fields, statuses and a sample response
- `{new}` — New contract. Example input: Documented changes and examples
- `{usage}` — Usage. Example input: Client call excerpts and release constraints

## Launch

[Open ChatGPT in YesAI](https://yesai.su/en/chatgpt)
