@@ -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
4204242108info:
4204342109 title: Stream API
42044- version: v239.7.1
42110+ version: v239.8.0
4204542111openapi: 3.0.3
4204642112paths:
4204742113 /api/v2/app:
0 commit comments