Skip to content

Commit f2de02f

Browse files
committed
chore: update OpenAPI specs to v239.8.0
1 parent 79e1567 commit f2de02f

58 files changed

Lines changed: 475 additions & 78 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎openapi/chat-openapi-clientside.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/chat-openapi-clientside.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16495,7 +16495,7 @@ components:
1649516495
type: apiKey
1649616496
info:
1649716497
title: Stream API
16498-
version: v239.7.1
16498+
version: v239.8.0
1649916499
openapi: 3.0.3
1650016500
paths:
1650116501
/app:

‎openapi/chat-openapi.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/chat-openapi.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ components:
649649
type: string
650650
x-stream-index: "002.001"
651651
type:
652-
default: export.channels.error
652+
default: export.review_queue.error
653653
type: string
654654
x-stream-index: "003.002"
655655
required:
@@ -23689,7 +23689,7 @@ components:
2368923689
type: apiKey
2369023690
info:
2369123691
title: Stream API
23692-
version: v239.7.1
23692+
version: v239.8.0
2369323693
openapi: 3.0.3
2369423694
paths:
2369523695
/app:

‎openapi/clientside-api.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/clientside-api.yaml‎

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,11 +2294,22 @@ components:
22942294
description: The comment the reaction was added to
22952295
title: Comment
22962296
x-stream-index: "001"
2297+
counter_delta:
2298+
description: 'The change this write made to the number of reactions the
2299+
user holds on this target: 1 when outcome is ''created'', 0 when it is
2300+
''replaced'' or ''unchanged''. These endpoints never return -1; a successful
2301+
delete-reaction call is what decrements the count. With enforce_unique
2302+
this is the delta of the user''s reaction on the target; without it, the
2303+
delta of reactions of this type.'
2304+
format: int32
2305+
title: Counter Delta
2306+
type: integer
2307+
x-stream-index: "009"
22972308
duration:
22982309
description: Duration of the request
22992310
title: Duration
23002311
type: string
2301-
x-stream-index: "007.001"
2312+
x-stream-index: "010.001"
23022313
notification_accepted:
23032314
description: Whether notification creation was accepted for asynchronous
23042315
processing
@@ -2318,6 +2329,26 @@ components:
23182329
title: Notification Task ID
23192330
type: string
23202331
x-stream-index: "005"
2332+
outcome:
2333+
description: 'What this write did to the user''s reaction on this target.
2334+
One of: created, replaced, unchanged. ''created'' means a new reaction
2335+
was written and nothing was replaced; ''replaced'' means enforce_unique
2336+
removed one or more of the user''s other reaction types; ''unchanged''
2337+
means the user already held this reaction type (its custom data may still
2338+
have been updated). Without enforce_unique a user can hold several reaction
2339+
types on one target, so ''created'' then means ''this reaction type was
2340+
newly added'', not ''the user''s first reaction on this target''.'
2341+
title: Outcome
2342+
type: string
2343+
x-stream-index: "007"
2344+
previous_reaction_type:
2345+
description: The reaction type this write replaced, or null when nothing
2346+
was replaced. Non-null exactly when outcome is 'replaced'. If enforce_unique
2347+
removed several reactions — possible only for data created before enforce_unique
2348+
was adopted — this is the most recently created one.
2349+
title: Previous Reaction Type
2350+
type: string
2351+
x-stream-index: "008"
23212352
reaction:
23222353
$ref: '#/components/schemas/FeedsReactionResponse'
23232354
description: The created or updated reaction
@@ -2332,6 +2363,8 @@ components:
23322363
required:
23332364
- comment
23342365
- reaction
2366+
- outcome
2367+
- counter_delta
23352368
- duration
23362369
type: object
23372370
AddCommentRequest:
@@ -2542,9 +2575,20 @@ components:
25422575
activity:
25432576
$ref: '#/components/schemas/ActivityResponse'
25442577
x-stream-index: "001"
2578+
counter_delta:
2579+
description: 'The change this write made to the number of reactions the
2580+
user holds on this target: 1 when outcome is ''created'', 0 when it is
2581+
''replaced'' or ''unchanged''. These endpoints never return -1; a successful
2582+
delete-reaction call is what decrements the count. With enforce_unique
2583+
this is the delta of the user''s reaction on the target; without it, the
2584+
delta of reactions of this type.'
2585+
format: int32
2586+
title: Counter Delta
2587+
type: integer
2588+
x-stream-index: "009"
25452589
duration:
25462590
type: string
2547-
x-stream-index: "007.001"
2591+
x-stream-index: "010.001"
25482592
notification_accepted:
25492593
description: Whether notification creation was accepted for asynchronous
25502594
processing
@@ -2564,6 +2608,26 @@ components:
25642608
title: Notification Task ID
25652609
type: string
25662610
x-stream-index: "005"
2611+
outcome:
2612+
description: 'What this write did to the user''s reaction on this target.
2613+
One of: created, replaced, unchanged. ''created'' means a new reaction
2614+
was written and nothing was replaced; ''replaced'' means enforce_unique
2615+
removed one or more of the user''s other reaction types; ''unchanged''
2616+
means the user already held this reaction type (its custom data may still
2617+
have been updated). Without enforce_unique a user can hold several reaction
2618+
types on one target, so ''created'' then means ''this reaction type was
2619+
newly added'', not ''the user''s first reaction on this target''.'
2620+
title: Outcome
2621+
type: string
2622+
x-stream-index: "007"
2623+
previous_reaction_type:
2624+
description: The reaction type this write replaced, or null when nothing
2625+
was replaced. Non-null exactly when outcome is 'replaced'. If enforce_unique
2626+
removed several reactions — possible only for data created before enforce_unique
2627+
was adopted — this is the most recently created one.
2628+
title: Previous Reaction Type
2629+
type: string
2630+
x-stream-index: "008"
25672631
reaction:
25682632
$ref: '#/components/schemas/FeedsReactionResponse'
25692633
description: The created reaction
@@ -2578,6 +2642,8 @@ components:
25782642
required:
25792643
- activity
25802644
- reaction
2645+
- outcome
2646+
- counter_delta
25812647
- duration
25822648
title: Add Reaction Response
25832649
type: object
@@ -42041,7 +42107,7 @@ components:
4204142107
type: apiKey
4204242108
info:
4204342109
title: Stream API
42044-
version: v239.7.1
42110+
version: v239.8.0
4204542111
openapi: 3.0.3
4204642112
paths:
4204742113
/api/v2/app:

‎openapi/moderation-clientside-api.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/moderation-clientside-api.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8665,7 +8665,7 @@ components:
86658665
type: apiKey
86668666
info:
86678667
title: Stream API
8668-
version: v239.7.1
8668+
version: v239.8.0
86698669
openapi: 3.0.3
86708670
paths:
86718671
/api/v2/moderation/action_config:

‎openapi/moderation-openapi.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎openapi/moderation-openapi.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ components:
8484
- type
8585
type: object
8686
ActionLogResponse:
87+
nullable: true
8788
properties:
8889
ai_providers:
8990
items:
@@ -580,7 +581,7 @@ components:
580581
type: string
581582
x-stream-index: "002.001"
582583
type:
583-
default: export.moderation_logs.error
584+
default: export.bulk_image_moderation.error
584585
type: string
585586
x-stream-index: "003.002"
586587
required:
@@ -6185,7 +6186,7 @@ components:
61856186
type: apiKey
61866187
info:
61876188
title: Stream API
6188-
version: v239.7.1
6189+
version: v239.8.0
61896190
openapi: 3.0.3
61906191
paths:
61916192
/api/v1/moderation/chat_message_tasks:

0 commit comments

Comments
 (0)