Skip to main content
POST
Migrate subscription evaluators

Authorizations

Authorization
string
header
required

API key, not necessarily a JWT. Server derives Organization, permitted actions and Corpus scope; every resource access is authorized.

Body

application/json
plugin_id
string
required

The alert-rule plugin, such as alerts.

Required string length: 1 - 256
from_version
string
required

The version the Subscriptions to move pin now.

Required string length: 1 - 256
dry_run
boolean
required

true validates and lists what would move, without moving anything.

limit
integer
default:100

The most Subscriptions this call looks at.

Required range: 1 <= x <= 500
after
string

Continue after this Subscription id, the next_after of the previous call.

Minimum string length: 1

Response

Successful response

plugin_id
string
required
from_version
string
required
to_version
string
required

The version the active plan serves, which moved Subscriptions pin.

dry_run
boolean
required
moved
object[]
required

The Subscriptions moved, or that would move in a dry run.

refused
object[]
required

The Subscriptions left on from_version. code is invalid_expression or invalid_subscription_configuration when the served version's schemas refuse them (field and message name the first issue), or subscription_changed when the Subscription got another Version during the call.

next_after
string

Present when more Subscriptions may pin from_version; pass it as after.