Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
apidocs: Move stray events description to OpenAPI.
Suyash Vardhan Mathur8d7634a5723c
diff --git a/templates/zerver/api/get-events.md b/templates/zerver/api/get-events.mdindex 39320b373ed..6a285faac99 100644--- a/templates/zerver/api/get-events.md+++ b/templates/zerver/api/get-events.md@@ -40,13 +40,6 @@ a queue for you.{generate_api_arguments_table|zulip.yaml|/events:get}-**Note**: The parameters documented above are optional in the sense that-even if you haven't registered a queue by explicitly requesting the-`{{ api_url}}/v1/register` endpoint, you could pass the parameters for-[the `{{ api_url}}/v1/register` endpoint](/api/register-queue) to this-endpoint and a queue would be registered in the absence of a `queue_id`.-{generate_parameter_description(/events:get)}-## Response{generate_return_values_table|zulip.yaml|/events:get}diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex e234cd24d03..67714e0b73c 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -159,6 +159,12 @@ paths:enum:- queue_id- last_event_id+ x-parameter-description: |+ **Note**: The parameters documented above are optional in the sense that+ even if you haven't registered a queue by explicitly requesting the+ `{{ api_url}}/v1/register` endpoint, you could pass the parameters for+ [the `{{ api_url}}/v1/register` endpoint](/api/register-queue) to this+ endpoint and a queue would be registered in the absence of a `queue_id`.parameters:- $ref: "#/components/parameters/QueueId"- name: last_event_id