-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit of API docs changes notes against central changelog (feature levels 1-27) #22102
Comments
Excellent! Looking forward to these fixes. Skimming a few of these, one thing I notice is that some of them are missing links from the changelog to the endpoint that changed. For example several of the entries you have for feature level 1; and one at FL 2 and one at 22 and a few in between. Those would be nice to fix too; in some cases, like "Added The changelog also has a misformatting at FL 5 that's probably a tiny fix but is kind of confusing as rendered:
Yeah, I'd imagine documenting this in much the same format as any other removed response property. |
@laurynmm You have been unassigned from this issue because you have not made any updates for over 14 days. Please feel free to reclaim the issue if you decide to pick up again. Thanks! |
Corrects any omissions or inconsistencies between the api changelog and the api documentation for Zulip 3.0, feature level 1. Part of work on zulip#22102.
Corrects any omissions or inconsistencies between the api changelog and the api documentation for Zulip 3.0, feature level 1. Part of work on zulip#22102.
Corrects omissions or inconsistencies between the api changelog and the api documentation for Zulip 3.0, feature level 1, except for the final two bullet points about GitLab authentication and adding None as a video call provider option. The final two bullet points will be addressed in separate commits. Part of work on zulip#22102.
Updates the changelog note in feature level 1 about adding None as a video call provider to include the endpoints where this realm setting is used. Updates the OpenAPI doc for the realm setting `video_chat_provider` to include information about the enum values and meanings. Part of work on zulip#22102.
Updates changelog entry for feature level 1 about GitLab to include the endpoint with the changes. Also noted that the change updated a deprecated return value. Added changes note to the `gitlab` boolean in the `authentication_methods` return value for the `/get-server-settings` endpoint. Part of work on zulip#22102.
Corrects omissions or inconsistencies between the api changelog and the api documentation for Zulip 3.0, feature level 1, except for the final two bullet points about GitLab authentication and adding None as a video call provider option. The final two bullet points will be addressed in separate commits. Part of work on zulip#22102.
Updates the changelog note in feature level 1 about adding None as a video call provider to include the endpoints where this realm setting is used. Updates the OpenAPI doc for the realm setting `video_chat_provider` to include information about the enum values and meanings. Part of work on zulip#22102.
Updates changelog entry for feature level 1 about GitLab to include the endpoint with the changes. Also noted that the change updated a deprecated return value. Added changes note to the `gitlab` boolean in the `authentication_methods` return value for the `/get-server-settings` endpoint. Part of work on zulip#22102.
Corrects omissions or inconsistencies between the api changelog and the api documentation for Zulip 3.0, feature level 1, except for the final two bullet points about GitLab authentication and adding None as a video call provider option. The final two bullet points will be addressed in separate commits. Part of work on #22102.
Updates the changelog note in feature level 1 about adding None as a video call provider to include the endpoints where this realm setting is used. Updates the OpenAPI doc for the realm setting `video_chat_provider` to include information about the enum values and meanings. Part of work on #22102.
Updates changelog entry for feature level 1 about GitLab to include the endpoint with the changes. Also noted that the change updated a deprecated return value. Added changes note to the `gitlab` boolean in the `authentication_methods` return value for the `/get-server-settings` endpoint. Part of work on #22102.
Corrects omissions or inconsistencies between the api changelog and the api documentation for Zulip 3.0, feature level 1, except for the final two bullet points about GitLab authentication and adding None as a video call provider option. The final two bullet points will be addressed in separate commits. Part of work on zulip#22102.
Updates the changelog note in feature level 1 about adding None as a video call provider to include the endpoints where this realm setting is used. Updates the OpenAPI doc for the realm setting `video_chat_provider` to include information about the enum values and meanings. Part of work on zulip#22102.
Updates changelog entry for feature level 1 about GitLab to include the endpoint with the changes. Also noted that the change updated a deprecated return value. Added changes note to the `gitlab` boolean in the `authentication_methods` return value for the `/get-server-settings` endpoint. Part of work on zulip#22102.
Hello @zulip/server-api members, this issue was labeled with the "area: documentation (api and integrations)" label, so you may want to check it out! |
Unless otherwise noted, each entry just needs Changes note(s) added to API documentation:
Feature level 1:
POST /register
: Addedzulip_feature_level
to the response ifzulip_version
is among the requestedevent_types
.GET /api/v1/user_uploads
: Added new endpoint for requesting a temporary URL for an uploaded file that does not require authentication to access (e.g. for passing from a Zulip desktop, mobile, or terminal app to the user's default browser).EMAIL_ADDRESS_VISIBILITY_NOBODY
possible value foremail_address_visibility
.private_message_policy
realm setting.muted_topic
objects now are a 3-item tuple: (stream_id
,topic
,date_muted
). Previously, they were a 2-item tuple.GitLab
authentication is now available.None
as a video call provider option.Feature level 3:
zulip_version
andzulip_feature_level
are always returned inPOST /register
; previously they were only returned ifevent_types
includedzulip_version
.presence_enabled
user notification setting; previously presence was always enabled.Feature level 4:
jitsi_server_url
,development_environment
,server_generation
,password_min_length
,password_min_guesses
,max_file_upload_size_mib
,max_avatar_file_size_mib
,server_inline_image_preview
,server_inline_url_embed_preview
,server_avatar_changes_disabled
andserver_name_changes_disabled
fields are now available viaPOST /register
to make them accessible to all the clients; they were only internally available to Zulip's web app prior to this.Feature level 5:
GET /events
:realm_bot
events, sent when changes are made to bot users, now contain an integer-formatowner_id
field, replacing theowner
field (which was an email address).Feature 6:
GET /events
:realm_user
events to update a user's avatar now include theavatar_version
field, which is important for correctly refetching medium-size avatar images when the user's avatar changes.GET /users
,GET /users/{user_id}
: User objects now contain theavatar_version
field as well.Feature 7:
GET /events
:realm_user
andrealm_bot
events no longer contain anemail
field to identify the user; use theuser_id
field instead. Previously, some (but not all) events of these types contained anemail
key in addition to touser_id
) for identifying the modified user.GET /events
:realm_user
events sent when a user's role changes now includerole
property, instead of the previousis_guest
oris_admin
booleans.Documented as feature level 8, but listed in changelog as feature level 7
PATCH /users/{user_id}
: Theis_admin
andis_guest
parameters were removed in favor of the more generalrole
parameter for specifying a change in user role.Feature level 10:
GET users/me
: Removedclient_id
andshort_name
from the response to this endpoint. These fields had no purpose and were inconsistent with other API responses describing users.Feature level 11:
POST /register
: The response now contains ais_owner
, similar to the existingis_admin
andis_guest
fields.Inconsistent or incomplete: Added toGET /events
as well andnull
information not documented:- [ ]This was incorrectly documented inPOST /register
: Addedrealm_community_topic_editing_limit_seconds
to the response, the time limit before community topic editing is forbidden. Anull
value means no limit. This was previously hard-coded in the server as 86400 seconds (1 day).GET /events
and has since been removed from that endpoint's documentation. And has been removed from thePOST /register
response as well.Documented as feature level 11 but listed in changelog as feature level 12
GET users/{user_id}/subscriptions/{stream_id}
:New endpoint added for checking if another user is subscribed to a stream.
Feature level 13:
GET /events
:delete_message
events have new behavior. Thesender
andsender_id
fields were removed, and themessage_id
field was replaced by amessage_ids
list for clients with thebulk_message_deletion
client capability. All clients should upgrade; we expectbulk_message_deletion
to be required in the future.Feature level 14:
GET users/me/subscriptions
: Removed theis_old_stream
field from Stream objects. This field was always equivalent tostream_weekly_traffic != null
on the same object.Feature level 16: Question: unlike other parameters / return values that have been removed from endpoints, this was removed as a whole concept from Zulip. So do we want a Change note for this in the main endpoint description?
GET /users/me
: Removedpointer
from the response, as the "pointer" concept is being removed in Zulip.Feature level 19:
GET /events
:subscriptions
event withop="peer_add"
andop="peer_remove"
now identify the modified stream by astream_id
field, replacing the oldname
field.Feature level 21: NOTE: would document on the
PATCH /settings
endpointPATCH /settings/display
: Replaced thenight_mode
boolean withcolor_scheme
as part of supporting automatic night theme detection.Feature level 26:
sender_short_name
field is no longer included inGET /messages
.short_name
field is removed fromdisplay_recipients
inGET /messages
.Feature level 27:
short_name
field is removed fromdisplay_recipients
inPOST /users
.The text was updated successfully, but these errors were encountered: