mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
api docs: Specify array types.
This commit is contained in:
committed by
Tim Abbott
parent
d45fac0327
commit
586e013069
@@ -626,6 +626,8 @@ paths:
|
|||||||
in our Python API."
|
in our Python API."
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
example: [{"name": "Verona"}]
|
example: [{"name": "Verona"}]
|
||||||
required: true
|
required: true
|
||||||
- name: invite_only
|
- name: invite_only
|
||||||
@@ -652,6 +654,8 @@ paths:
|
|||||||
If not provided, then the requesting user/bot is subscribed.
|
If not provided, then the requesting user/bot is subscribed.
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
default: []
|
default: []
|
||||||
example: ['ZOE@zulip.com']
|
example: ['ZOE@zulip.com']
|
||||||
- name: authorization_errors_fatal
|
- name: authorization_errors_fatal
|
||||||
|
|||||||
Reference in New Issue
Block a user