mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
This commit adds automated tests that make sure that every curl example command in our API docs has the '-X (POST|GET)' argument. Fixes: #11927
744 B
744 B
Remove linkifiers
Remove linkifiers, regular expression patterns that are automatically linkified when they appear in messages and topics.
DELETE {{ api_url }}/v1/realm/filters/<filter_id>
Usage examples
{start_tabs} {tab|python}
{generate_code_example(python)|/realm/filters/<filter_id>:delete|example}
{tab|curl}
curl -X DELETE {{ api_url }}/v1/realm/filters/<filter_id> \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
{end_tabs}
Arguments
{generate_api_arguments_table|zulip.yaml|/realm/filters/<filter_id>:delete}
Response
Example response
A typical successful JSON response may look like:
{generate_code_example|/realm/filters/<filter_id>:delete|fixture(200)}