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: Replace description instances of "id" with "ID".

Lauryn Menard332d4173248a
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 43a8d532d78..d6d0aa28b7d 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -466,7 +466,7 @@ paths:
bot_owner_id:
type: integer
description: |
- The user id of the new bot owner.
+ The user ID of the new bot owner.
- type: object
additionalProperties: false
description: |
@@ -1475,7 +1475,7 @@ paths:
attachment:
type: object
description: |
- Dictionary containing the id of the deleted attachment.
+ Dictionary containing the ID of the deleted attachment.
additionalProperties: false
properties:
id:
@@ -2014,7 +2014,7 @@ paths:
type: object
additionalProperties: false
description: |
- Object containing the user id and timestamp of a muted user.
+ Object containing the user ID and timestamp of a muted user.
properties:
id:
type: integer
@@ -2439,7 +2439,7 @@ paths:
type: object
additionalProperties: false
description: |
- Object containing the user id and email of a recipient.
+ Object containing the user ID and email of a recipient.
properties:
user_id:
type: integer
@@ -2555,7 +2555,7 @@ paths:
type: object
additionalProperties: false
description: |
- Object containing the user id and email of a recipient.
+ Object containing the user ID and email of a recipient.
properties:
user_id:
type: integer
@@ -2641,7 +2641,7 @@ paths:
messages:
type: array
description: |
- Array containing the ids of all messages to which
+ Array containing the IDs of all messages to which
the flag was added.
items:
type: integer
@@ -3479,7 +3479,7 @@ paths:
allOf:
- description: |
Object containing details about the changed bot.
- It contains two properties: the user id of the bot and
+ It contains two properties: the user ID of the bot and
the property to be changed. The changed property is one
of the remaining properties listed below.
- $ref: "#/components/schemas/BasicBot"
@@ -4348,7 +4348,7 @@ paths:
- type: object
additionalProperties: false
description: |
- Event containing the id of a deleted draft.
+ Event containing the ID of a deleted draft.
properties:
id:
$ref: "#/components/schemas/EventIdSchema"
@@ -6690,7 +6690,7 @@ paths:
- name: realm_id_str
in: path
description: |
- The realm id.
+ The realm ID.
schema:
type: integer
example: 1
@@ -10038,8 +10038,8 @@ paths:
An array of objects; each object describes a type of custom profile field
that could be configured on this Zulip server. Each custom profile type
- has a id and the `type` property of a custom profile field is equal
- to one of these ids.
+ has an ID and the `type` property of a custom profile field is equal
+ to one of these IDs.
This attribute is only useful for clients containing UI for changing
the set of configured custom profile fields in a Zulip organization.
@@ -10065,7 +10065,7 @@ paths:
id:
type: integer
description: |
- The id of the custom profile field type.
+ The ID of the custom profile field type.
name:
type: string
description: |
@@ -10197,7 +10197,7 @@ paths:
type: object
additionalProperties: false
description: |
- Object containing the user id and timestamp of a muted user.
+ Object containing the user ID and timestamp of a muted user.
properties:
id:
type: integer
@@ -10305,7 +10305,7 @@ paths:
The second element is the URL with which the
pattern matching string should be linkified with and the third element
- is the id of the realm filter.
+ is the ID of the realm filter.
**Changes**: Deprecated in Zulip 4.0 (feature level 54), replaced by
the `realm_linkifiers` key instead.
@@ -10406,7 +10406,7 @@ paths:
max_message_id:
type: integer
description: |
- The highest message id of the conversation, intended to support sorting
+ The highest message ID of the conversation, intended to support sorting
the conversations by recency.
user_ids:
type: array
@@ -10533,7 +10533,7 @@ paths:
other_user_id:
type: integer
description: |
- The user id of the other participant in this non-group private
+ The user ID of the other participant in this non-group private
message conversation. Will be your own user ID for messages
that you sent to only yourself.
sender_id:
@@ -10550,7 +10550,7 @@ paths:
message_ids:
type: array
description: |
- The message ids of the recent unread PM messages sent by the other user.
+ The message IDs of the recent unread PM messages sent by the other user.
items:
type: integer
streams:
@@ -10577,11 +10577,11 @@ paths:
stream_id:
type: integer
description: |
- The id of the stream to which the message was sent.
+ The ID of the stream to which the message was sent.
unread_message_ids:
type: array
description: |
- The message ids of the recent unread messages sent in this stream.
+ The message IDs of the recent unread messages sent in this stream.
items:
type: integer
huddles:
@@ -10606,14 +10606,14 @@ paths:
message_ids:
type: array
description: |
- The message ids of the recent unread messages which have been sent in
+ The message IDs of the recent unread messages which have been sent in
this group.
items:
type: integer
mentions:
type: array
description: |
- Array containing the ids of all messages in which the user has been mentioned.
+ Array containing the IDs of all messages in which the user has been mentioned.
For muted streams, wildcard mentions will not be considered for this array.
items:
type: integer
@@ -10636,7 +10636,7 @@ paths:
description: |
Present if `starred_messages` is present in `fetch_event_types`.
- Array containing the ids of all messages which have been
+ Array containing the IDs of all messages which have been
[starred](/help/star-a-message) by the user.
streams:
type: array
@@ -10696,7 +10696,7 @@ paths:
additionalProperties:
description: |
`{user_id}`: Object containing the status details of a user
- with the key of the object being the id of the user.
+ with the key of the object being the ID of the user.
type: object
additionalProperties: false
properties:
@@ -14816,7 +14816,7 @@ paths:
- name: delete
in: query
description: |
- The list of user ids to be removed from the user group.
+ The list of user IDs to be removed from the user group.
content:
application/json:
schema:
@@ -14828,7 +14828,7 @@ paths:
- name: add
in: query
description: |
- The list of user ids to be added to the user group.
+ The list of user IDs to be added to the user group.
content:
application/json:
schema:
@@ -14942,7 +14942,7 @@ paths:
"result": "error",
}
description: |
- An example JSON error response for an invalid user group id:
+ An example JSON error response for an invalid user group ID:
/user_groups:
get:
@@ -14983,7 +14983,7 @@ paths:
id:
type: integer
description: |
- The user group's integer id.
+ The user group's integer ID.
members:
type: array
description: |
@@ -15013,8 +15013,7 @@ paths:
**Changes**: New in Zulip 5.0 (feature level 93).
description: |
- A list of `user_group` objects, which contain a `description`, a `name`,
- their `id` and the list of members of the user group.
+ A list of `user_group` objects.
example:
{
"msg": "",
@@ -15059,7 +15058,7 @@ paths:
- name: delete
in: query
description: |
- The list of user group ids to be removed from the user group.
+ The list of user group IDs to be removed from the user group.
content:
application/json:
schema:
@@ -15071,7 +15070,7 @@ paths:
- name: add
in: query
description: |
- The list of user group ids to be added to the user group.
+ The list of user group IDs to be added to the user group.
content:
application/json:
schema:
@@ -15570,7 +15569,7 @@ components:
type: integer
nullable: true
description: |
- The id of the first message in the stream.
+ The ID of the first message in the stream.
Intended to help clients determine whether they need to display
UI like the "more topics" widget that would suggest the stream
@@ -15616,7 +15615,7 @@ components:
user_id:
type: integer
description: |
- The user id of the bot.
+ The user ID of the bot.
full_name:
type: string
description: |
@@ -15649,7 +15648,7 @@ components:
type: integer
nullable: true
description: |
- The user id of the bot's owner.
+ The user ID of the bot's owner.
Null if the bot has no owner.
services:
@@ -15936,11 +15935,11 @@ components:
id:
type: integer
description: |
- The id of the export.
+ The ID of the export.
acting_user_id:
type: integer
description: |
- The id of the user who did the export.
+ The ID of the user who did the export.
export_time:
type: number
description: |
@@ -15985,14 +15984,14 @@ components:
items:
type: integer
description: |
- Array containing the id of the users who are
+ Array containing the ID of the users who are
members of this user group.
direct_subgroup_ids:
type: array
items:
type: integer
description: |
- Array containing the id of the direct_subgroups of
+ Array containing the ID of the direct_subgroups of
this user group.
**Changes**: New in Zulip 6.0 (feature level 131).
@@ -16204,7 +16203,7 @@ components:
type: integer
nullable: true
description: |
- The id of the first message in the stream.
+ The ID of the first message in the stream.
Intended to help clients determine whether they need to display
UI like the "more topics" widget that would suggest the stream
@@ -16245,7 +16244,7 @@ components:
id:
type: integer
description: |
- id of the default stream group.
+ The ID of the default stream group.
streams:
type: array
description: |
@@ -16881,8 +16880,8 @@ components:
type: object
additionalProperties: false
description: |
- `{id}`: Object with data about what value user filled in the custom
- profile field with id `id`.
+ `{id}`: Object with data about what value the user filled in the custom
+ profile field with that ID.
properties:
value:
type: string
@@ -17457,7 +17456,7 @@ components:
name: principals
in: query
description: |
- A list of user ids (preferred) or Zulip display email
+ A list of user IDs (preferred) or Zulip display email
addresses of the users to be subscribed to or unsubscribed
from the streams specified in the `subscriptions` parameter. If
not provided, then the requesting user/bot is subscribed.