diff --git a/doc/api/resources/carts.rst b/doc/api/resources/carts.rst index fb3bcdb8b..e42632fec 100644 --- a/doc/api/resources/carts.rst +++ b/doc/api/resources/carts.rst @@ -207,7 +207,7 @@ Cart position endpoints POST /api/v1/organizers/bigevents/events/sampleconf/cartpositions/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "item": 1, diff --git a/doc/api/resources/categories.rst b/doc/api/resources/categories.rst index e379cda62..1fad90fbb 100644 --- a/doc/api/resources/categories.rst +++ b/doc/api/resources/categories.rst @@ -131,7 +131,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/categories/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": {"en": "Tickets"}, diff --git a/doc/api/resources/checkinlists.rst b/doc/api/resources/checkinlists.rst index 6bbd6d722..11805f391 100644 --- a/doc/api/resources/checkinlists.rst +++ b/doc/api/resources/checkinlists.rst @@ -209,7 +209,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/checkinlists/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": "VIP entry", diff --git a/doc/api/resources/events.rst b/doc/api/resources/events.rst index 2c40b1b83..a732ffc05 100644 --- a/doc/api/resources/events.rst +++ b/doc/api/resources/events.rst @@ -203,7 +203,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": {"en": "Sample Conference"}, @@ -285,7 +285,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/clone/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": {"en": "Sample Conference"}, @@ -362,7 +362,7 @@ Endpoints PATCH /api/v1/organizers/bigevents/events/sampleconf/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "plugins": [ diff --git a/doc/api/resources/item_add-ons.rst b/doc/api/resources/item_add-ons.rst index 843904401..b2494e132 100644 --- a/doc/api/resources/item_add-ons.rst +++ b/doc/api/resources/item_add-ons.rst @@ -134,7 +134,7 @@ Endpoints POST /api/v1/organizers/(organizer)/events/(event)/items/(item)/addons/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "addon_category": 1, diff --git a/doc/api/resources/item_bundles.rst b/doc/api/resources/item_bundles.rst index a5894f93d..1babc4bed 100644 --- a/doc/api/resources/item_bundles.rst +++ b/doc/api/resources/item_bundles.rst @@ -134,7 +134,7 @@ Endpoints POST /api/v1/organizers/(organizer)/events/(event)/items/(item)/bundles/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "bundled_item": 3, diff --git a/doc/api/resources/item_variations.rst b/doc/api/resources/item_variations.rst index 3ffa5d373..6f0367dff 100644 --- a/doc/api/resources/item_variations.rst +++ b/doc/api/resources/item_variations.rst @@ -152,7 +152,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/items/1/variations/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "value": {"en": "Student"}, diff --git a/doc/api/resources/items.rst b/doc/api/resources/items.rst index a6cf5db0c..df2c69c1e 100644 --- a/doc/api/resources/items.rst +++ b/doc/api/resources/items.rst @@ -342,7 +342,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/items/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "id": 1, diff --git a/doc/api/resources/questions.rst b/doc/api/resources/questions.rst index 596ced03d..eb3f91609 100644 --- a/doc/api/resources/questions.rst +++ b/doc/api/resources/questions.rst @@ -228,7 +228,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/questions/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "question": {"en": "T-Shirt size"}, diff --git a/doc/api/resources/quotas.rst b/doc/api/resources/quotas.rst index 75e489854..3d899decf 100644 --- a/doc/api/resources/quotas.rst +++ b/doc/api/resources/quotas.rst @@ -123,7 +123,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/quotas/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": "Ticket Quota", diff --git a/doc/api/resources/seatingplans.rst b/doc/api/resources/seatingplans.rst index e1c46ddd5..4086f1ce1 100644 --- a/doc/api/resources/seatingplans.rst +++ b/doc/api/resources/seatingplans.rst @@ -109,7 +109,7 @@ Endpoints POST /api/v1/organizers/bigevents/seatingplans/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": "Main plan", diff --git a/doc/api/resources/subevents.rst b/doc/api/resources/subevents.rst index fe1423796..e531f9b23 100644 --- a/doc/api/resources/subevents.rst +++ b/doc/api/resources/subevents.rst @@ -140,7 +140,7 @@ Endpoints POST /api/v1/organizers/bigevents/events/sampleconf/subevents/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": {"en": "First Sample Conference"}, @@ -271,7 +271,7 @@ Endpoints PATCH /api/v1/organizers/bigevents/events/sampleconf/subevents/1/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "name": {"en": "New Subevent Name"}, diff --git a/doc/api/resources/webhooks.rst b/doc/api/resources/webhooks.rst index 83b1ebb4c..1257a9e5c 100644 --- a/doc/api/resources/webhooks.rst +++ b/doc/api/resources/webhooks.rst @@ -137,7 +137,7 @@ Endpoints POST /api/v1/organizers/bigevents/webhooks/ HTTP/1.1 Host: pretix.eu Accept: application/json, text/javascript - Content: application/json + Content-Type: application/json { "enabled": true,