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.
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"
]
}
}Unpublish a chart POST
Clears the `publishedVersion` on a chart. Events already created from previously-published versions keep working (they read the chart's current `publishedVersion` live; if `null`, the chart appears empty). Use with care.
Events
bind a chart to a scheduled performance and inherit its seat layout.