diff --git a/doc/api/resources/carts.rst b/doc/api/resources/carts.rst index fb3bcdb8b8..e42632fec9 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 e379cda620..1fad90fbb8 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 6bbd6d7227..11805f3915 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 2c40b1b834..a732ffc056 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 8439044014..b2494e1327 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 a5894f93d1..1babc4bede 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 3ffa5d373e..6f0367dffe 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 a6cf5db0c9..df2c69c1ef 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 596ced03d4..eb3f916095 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 75e4898542..3d899decf5 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 e1c46ddd53..4086f1ce1a 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 fe14237964..e531f9b237 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 83b1ebb4cc..1257a9e5c6 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,