From 70e9d9faad5fdbb39fdfdb8633ac1a0184cf06bf Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Tue, 28 May 2019 12:42:03 +0200 Subject: [PATCH] Add documentation change for cloning events with testmode-attribute --- doc/api/resources/events.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/resources/events.rst b/doc/api/resources/events.rst index abd2937846..a4173197ac 100644 --- a/doc/api/resources/events.rst +++ b/doc/api/resources/events.rst @@ -50,6 +50,10 @@ plugins list A list of packa The ``testmode`` attribute has been added. +.. versionchanged:: 2.8 + + When cloning events, the ``testmode`` attribute will now be cloned, too. + Endpoints --------- @@ -246,7 +250,7 @@ Endpoints .. http:post:: /api/v1/organizers/(organizer)/events/(event)/clone/ Creates a new event with properties as set in the request body. The properties that are copied are: 'is_public', - settings, plugin settings, items, variations, add-ons, quotas, categories, tax rules, questions. + `testmode`, settings, plugin settings, items, variations, add-ons, quotas, categories, tax rules, questions. If the 'plugins' and/or 'is_public' fields are present in the post body this will determine their value. Otherwise their value will be copied from the existing event.