Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4487,7 +4487,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: message.new
default: notification.thread_message_new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -11740,7 +11740,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.channels.error
default: export.bulk_image_moderation.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -16363,7 +16363,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27370,7 +27370,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7638,7 +7638,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/moderation-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.moderation_logs.error
default: export.bulk_image_moderation.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -8901,7 +8901,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

105 changes: 43 additions & 62 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2537,7 +2537,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.channels.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -14180,92 +14180,73 @@ components:
type: object
Flag:
description: Contains information about flagged user or message
nullable: true
properties:
approved_at:
description: Date of the approval
format: date-time
title: Approved at
type: number
x-stream-index: "015"
created_at:
description: Date/time of creation
format: date-time
title: Created at
type: number
x-stream-index: "019"
x-stream-index: "011"
created_by_automod:
type: boolean
x-stream-index: "004"
custom:
additionalProperties: {}
description: Additional metadata about the flag
title: Custom
type: object
x-stream-index: "014"
entity_creator_id:
description: ID of the user who created the flagged entity
title: Entity Creator ID
x-stream-index: "022"
details:
$ref: '#/components/schemas/FlagDetails'
x-stream-index: "021"
reason:
type: string
x-stream-index: "009"
entity_id:
description: Unique identifier of the entity being flagged
title: Entity ID
x-stream-index: "020"
rejected_at:
description: Date of the rejection
format: date-time
title: Rejected at
type: number
x-stream-index: "016"
reviewed_at:
description: Date of the review
format: date-time
title: Reviewed at
type: number
x-stream-index: "013"
reviewed_by:
type: string
x-stream-index: "014"
target_message:
$ref: '#/components/schemas/Message'
x-stream-index: "008"
entity_type:
description: Type of entity being flagged (e.g., message, user)
title: Entity Type
target_message_id:
description: ID of flagged message
title: Target Message ID
type: string
x-stream-index: "007"
is_streamed_content:
type: boolean
x-stream-index: "012"
labels:
description: Labels from bodyguard, API calls, our own AI etc
items:
type: string
title: Labels
type: array
x-stream-index: "015"
moderation_payload:
$ref: '#/components/schemas/ModerationPayload'
description: Content being flagged
title: Moderation Payload
target_user:
$ref: '#/components/schemas/User'
description: Flagged user
title: User
x-stream-index: "010"
moderation_payload_hash:
type: string
x-stream-index: "011"
reason:
description: Optional explanation for why the content is being flagged
title: Reason
type: string
x-stream-index: "013"
result:
description: Result of bodyguard, API calls, our own AI etc
items:
additionalProperties: {}
type: object
title: Result
type: array
x-stream-index: "016"
review_queue_item:
$ref: '#/components/schemas/ReviewQueueItem'
x-stream-index: "018"
review_queue_item_id:
description: ID of the review queue item
title: Review Queue Item ID
type: string
x-stream-index: "017"
type:
type: string
x-stream-index: "004"
updated_at:
description: Date/time of the last update
format: date-time
title: Updated at
type: number
x-stream-index: "020"
x-stream-index: "012"
user:
$ref: '#/components/schemas/User'
description: User who flagged a message or a user
title: User
x-stream-index: "006"
required:
- entity_type
- entity_id
- result
- created_by_automod
- created_at
- updated_at
title: Flag
Expand Down Expand Up @@ -33380,7 +33361,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/chat-clientside-api.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/v2/chat-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7197,7 +7197,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: notification.thread_message_new
default: message.new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -16293,7 +16293,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/chat-serverside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/chat-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21200,7 +21200,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27370,7 +27370,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/feeds-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/feeds-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16070,7 +16070,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/feeds-serverside-api.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/v2/feeds-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.bulk_image_moderation.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -20106,7 +20106,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/moderation-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7638,7 +7638,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/moderation-serverside-api.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/v2/moderation-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.moderation_logs.error
default: export.bulk_image_moderation.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -8901,7 +8901,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v193.9.2
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/serverside-api.json

Large diffs are not rendered by default.

Loading