urls: Add a new endpoint for hotspot and deprecate the old one.

This commit adds a new endpoint 'users/me/onboarding_steps'
deprecating the older 'users/me/hotspots' to mark hotspot as read.

We also renamed the view `mark_hotspot_as_read` to
`mark_onboarding_step_as_read`.

Reason: Our plan is to make this endpoint flexible to support
other types of UI elements not just restricted to hotspots.
This commit is contained in:
Prakhar Pratyush
2023-12-01 16:22:41 +05:30
committed by Tim Abbott
parent 62bfc20ebc
commit ac8af3d6de
12 changed files with 66 additions and 44 deletions

View File

@@ -33,7 +33,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
# Changes should be accompanied by documentation explaining what the
# new level means in api_docs/changelog.md, as well as "**Changes**"
# entries in the endpoint's documentation in `zulip.yaml`.
API_FEATURE_LEVEL = 232
API_FEATURE_LEVEL = 233
# 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