Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api_docs: Clarify parameters in get-file-temporary-url.

santhoshh-kumar3b1d7d233dc5
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index d23c44950e9..f0fa5f15bec 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -10646,7 +10646,8 @@ paths:
- name: realm_id_str
in: path
description: |
- The ID of the Zulip organization.
+ The realm ID component of the file's `path_id`. If the `path_id` is
+ `1/4e/m2A3MSqFnWRLUf9SaPzQ0Up_/zulip.txt`, the `realm_id_str` would be `1`.
schema:
type: integer
example: 1
@@ -10654,7 +10655,10 @@ paths:
- name: filename
in: path
description: |
- Path to the [uploaded file](/api/upload-file).
+ The file path component of the file's `path_id` (everything
+ after the first `/`). If the `path_id` is
+ `1/4e/m2A3MSqFnWRLUf9SaPzQ0Up_/zulip.txt`, the `filename`
+ would be `4e/m2A3MSqFnWRLUf9SaPzQ0Up_/zulip.txt`.
schema:
type: string
example: 4e/m2A3MSqFnWRLUf9SaPzQ0Up_/zulip.txt