mirror of
https://github.com/zulip/zulip.git
synced 2026-06-03 21:01:43 +08:00
api: Increment API feature level to 474.
This commit is contained in:
parent
32c1c4bb76
commit
0803a0daad
@ -20,6 +20,19 @@ format used by the Zulip server that they are interacting with.
|
||||
|
||||
## Changes in Zulip 12.0
|
||||
|
||||
**Feature level 474**
|
||||
|
||||
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
||||
Removed `api_key` field from bot objects.
|
||||
* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer
|
||||
sent when a bot's api key is regenerated.
|
||||
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
||||
Removed `avatar_url`, `bot_type`, `email`, `full_name`, `is_active` and
|
||||
`owner_id` fields from bot objects.
|
||||
* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer
|
||||
sent when updating a bot's avatar, email, name, or owner and also when
|
||||
deactivating or reactivating a bot.
|
||||
|
||||
**Feature level 473**
|
||||
|
||||
- [`POST /users/{user_id}/status`](/api/update-status-for-user): Bots
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
||||
Removed `api_key` field from bot objects.
|
||||
* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer
|
||||
sent when a bot's api key is regenerated.
|
||||
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
||||
Removed `avatar_url`, `bot_type`, `email`, `full_name`, `is_active` and
|
||||
`owner_id` fields from bot objects.
|
||||
* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer
|
||||
sent when updating a bot's avatar, email, name, or owner and also when
|
||||
deactivating or reactivating a bot.
|
||||
@ -33,7 +33,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
|
||||
# https://zulip.readthedocs.io/en/latest/documentation/api.html#step-by-step-guide
|
||||
# Also available at docs/documentation/api.md.
|
||||
|
||||
API_FEATURE_LEVEL = 473
|
||||
API_FEATURE_LEVEL = 474
|
||||
|
||||
# Bump the minor PROVISION_VERSION to indicate that folks should provision
|
||||
# only when going from an old version of the code to a newer version. Bump
|
||||
|
||||
@ -4408,11 +4408,11 @@ paths:
|
||||
Only organization administrators and the user who owns the bot will
|
||||
receive this event.
|
||||
|
||||
**Changes**: Starting from Zulip 12.0 (feature level ZF-1ba2c3),
|
||||
**Changes**: Starting from Zulip 12.0 (feature level 474),
|
||||
this event is not sent when updating bot's avatar, email, name or
|
||||
owner and also when reactivating or deactivating a bot.
|
||||
|
||||
Starting from Zulip 12.0 (feature level ZF-1ba2c3), this event is
|
||||
Starting from Zulip 12.0 (feature level 474), this event is
|
||||
no longer sent when a bot's API key is regenerated. Clients now
|
||||
use [`GET /bots/{bot_id}/api_key`](/api/get-bot-api-key) to get
|
||||
api key for the bot.
|
||||
@ -17688,10 +17688,10 @@ paths:
|
||||
the bot or an administrator transferred the bot's ownership to the user).
|
||||
|
||||
**Changes**: Removed `avatar_url`, `bot_type`, `email`, `full_name`, `is_active`
|
||||
and `owner_id` fields from the dictionary in Zulip 12.0 (feature level ZF-1ba2c3).
|
||||
and `owner_id` fields from the dictionary in Zulip 12.0 (feature level 474).
|
||||
Clients can get all these data from the corresponding user object.
|
||||
|
||||
Removed `api_key` field from the dictionary in Zulip 12.0 (feature level ZF-1ba2c3).
|
||||
Removed `api_key` field from the dictionary in Zulip 12.0 (feature level 474).
|
||||
Clients now use [`GET /bots/{bot_id}/api_key`](/api/get-bot-api-key)
|
||||
to get api key for the bot.
|
||||
realm_embedded_bots:
|
||||
@ -26354,11 +26354,11 @@ components:
|
||||
|
||||
**Changes**: Removed `avatar_url`, `bot_type`, `email`,
|
||||
`full_name`, `is_active` and `owner_id` fields from the
|
||||
dictionary in Zulip 12.0 (feature level ZF-1ba2c3). Clients
|
||||
dictionary in Zulip 12.0 (feature level 474). Clients
|
||||
can get all these data from the corresponding user object.
|
||||
|
||||
Removed `api_key` field from the dictionary in
|
||||
Zulip 12.0 (feature level ZF-1ba2c3). Clients now use
|
||||
Zulip 12.0 (feature level 474). Clients now use
|
||||
[`GET /bots/{bot_id}/api_key`](/api/get-bot-api-key) to get
|
||||
api key for the bot.
|
||||
additionalProperties: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user