Skip to main content

Migration plans

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: migration-plans · 3 operations

GET /v1/migration-plans/{tenant_slug}​

Get Migration Plan Rules

Get migration plan rules for a (project, from_version, to_version, class_name). Returns rules keyed by migration-edge-prop-{source_property}.

Operation id: get_migration_plan_rules_v1_migration_plans__tenant_slug__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
projectIdquerystringyesRequired. Query parameter: project id.
fromVersionIdquerystringyesRequired. Query parameter: from version id.
toVersionIdquerystringyesRequired. Query parameter: to version id.
classNamequerystringyesRequired. Query parameter: class name.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get migration plan rules.application/json object
422Validation Errorapplication/json HTTPValidationError

PUT /v1/migration-plans/{tenant_slug}​

Save Migration Plan Rules

Save migration plan rules for a (project, from_version, to_version, class_name). Body: project_id, from_version_id, to_version_id, class_name, rules.

Operation id: save_migration_plan_rules_v1_migration_plans__tenant_slug__put

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for save migration plan rules.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for save migration plan rules.application/json object
422Validation Errorapplication/json HTTPValidationError

GET /v1/migration-plans/{tenant_slug}/counts​

Get Migration Plan Rule Counts

Get rule counts per class_name for a migration plan (project, from_version, to_version). Returns { "counts": { "ClassName": 2, ... } }.

Operation id: get_migration_plan_rule_counts_v1_migration_plans__tenant_slug__counts_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
projectIdquerystringyesRequired. Query parameter: project id.
fromVersionIdquerystringyesRequired. Query parameter: from version id.
toVersionIdquerystringyesRequired. Query parameter: to version id.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get migration plan rule counts.application/json object
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.