SeatBuilderSeatBuilder Docs

Preview the impact of publishing

Dry run of `POST /charts/{chartKey}/publish`: lists every booked or held label, per event of this chart (both environments), that publishing the current draft would remove, turn from seat to GA or back, re-categorise, or squeeze below a GA area's booked + held quantity. An empty `affected` list means the publish is safe.

GET/api/v1/charts/{chartKey}/publish-check

Path Parameters

chartKeystring

Response Body

curl -X GET "https://seatbuilder.org/api/v1/charts/string/publish-check"

{
  "chartKey": "chart_8a2b1c",
  "affected": [
    {
      "eventKey": "tg-prod-session-44778",
      "environment": "production",
      "objectLabel": "A-1",
      "reason": "removed",
      "booked": 1,
      "held": 0
    },
    {
      "eventKey": "tg-prod-session-44778",
      "environment": "production",
      "objectLabel": "lawn",
      "reason": "capacity_below_reserved",
      "booked": 120,
      "held": 4
    }
  ]
}
{
  "statusCode": 0,
  "error": "string",
  "message": "string",
  "code": "validation_failed",
  "failed": [
    {
      "objectLabel": "string",
      "reason": "string",
      "eventKey": "string",
      "environment": "string",
      "booked": 0,
      "held": 0
    }
  ],
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}
{
  "statusCode": 0,
  "error": "string",
  "message": "string",
  "code": "validation_failed",
  "failed": [
    {
      "objectLabel": "string",
      "reason": "string",
      "eventKey": "string",
      "environment": "string",
      "booked": 0,
      "held": 0
    }
  ],
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}
Preview the impact of publishing — SeatBuilder Docs