zulip/templates/zerver/api/fetch-api-key.md
Suyash Vardhan Mathur 1fa82c2fcd apidocs: Fix response in API templates.
Now, the descriptions and all subschemas
are directly returned just by
`generate_code_example`, and so, these individual
subschemas and descriptions can be removed from the
templates.

All API endpoints docs are exactly the same after the
change, except few where missing 400 responses got added
due to the modification
2021-06-09 12:43:12 -07:00

459 B

{generate_api_title(/fetch_api_key:post)}

{generate_api_description(/fetch_api_key:post)}

Usage examples

{start_tabs} {tab|curl}

{generate_code_example(curl)|/fetch_api_key:post|example}

{end_tabs}

Parameters

{generate_api_arguments_table|zulip.yaml|/fetch_api_key:post}

Response

Return values

{generate_return_values_table|zulip.yaml|/fetch_api_key:post}

Example response

{generate_code_example|/fetch_api_key:post|fixture(200)}