Config blobs

Upload a config change request

Changed on

Uploads a config blob as a change request. It is analyzed in the background: poll the request until it is needs_review, then read its plan. With ?dryRun=true the blob is analyzed at once and nothing is stored (no change request, nothing superseded): the response is 200 { dryRun, plan, errors }, for CI checks. errors are what would make the request invalid; plan.summary.blocking counts items that would need a decision.

post/v1/config-blobs/change-requests

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

dryRun, 'true' | 'false'

Request body

object required
blob, unknown required
mode, 'merge' | 'mirror'
title, string
autoApply, boolean

Response

Dry run: the plan the upload would produce. Nothing was stored.

ConfigChangeRequestDryRunResponse required
dryRun, true required
plan, ConfigPlan nullable required
errors, string[] required

Changes

    • info

      added the optional property plan/anyOf[#/components/schemas/ConfigPlan]/refTargets to the response with the status

    • warning

      removed the optional property feature from the response with the status