From 6763e77ee2c1edad2b792ea021841790226df396 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 24 Jun 2019 22:22:00 -0700 Subject: [PATCH] api docs: Fix syntax for get-user-groups. This apparently had some sort of rebase conflict issue with the migration to the nicer syntax for tabs. --- templates/zerver/api/get-user-groups.md | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/templates/zerver/api/get-user-groups.md b/templates/zerver/api/get-user-groups.md index 6085cd955e..23a66e44d6 100644 --- a/templates/zerver/api/get-user-groups.md +++ b/templates/zerver/api/get-user-groups.md @@ -6,31 +6,19 @@ Fetches all of the user groups in the organization. ## Usage examples -
- -
+{start_tabs} +{tab|python} -
+{generate_code_example(python)|/user_groups:get|example} + +{tab|curl} ``` curl curl -X GET {{ api_url }}/v1/user_groups \ -u BOT_EMAIL_ADDRESS:BOT_API_KEY ``` -
- -
- -{generate_code_example(python)|/user_groups:get|example} - -
- -
- -
+{end_tabs} ## Arguments