From 25b1e1e5bdbb8a2480c671e3bab9d56f02b9bfbf Mon Sep 17 00:00:00 2001 From: Benbb96 Date: Thu, 7 Apr 2022 00:48:50 +0200 Subject: [PATCH] Add a sentence about custom fields --- docs/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index c11df0c5..805000ca 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -32,6 +32,8 @@ You need to provide a JSON body with the following data : - **last_escalation**: date representation of when last escalation has been done - **merged_to**: ID of the ticket to which it is merged +Moreover, if you created custom fields, you can add them into the body with the key ``custom_``. + Here is an example of a cURL request to create a ticket (using Basic authentication) :: curl --location --request POST 'http://127.0.0.1:8000/api/tickets/' \