Skip to content

Commit 129f8c5

Browse files
authored
Update video openapi Spec (#1380)
2 parents dae61c1 + a1b6546 commit 129f8c5

36 files changed

+1292
-117
lines changed

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
@@ -12007,7 +12007,7 @@ components:
1200712007
type: apiKey
1200812008
info:
1200912009
title: Stream API
12010-
version: v198.7.0
12010+
version: v198.9.0
1201112011
openapi: 3.0.3
1201212012
paths:
1201312013
/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
@@ -605,7 +605,7 @@ components:
605605
type: string
606606
x-stream-index: "002.001"
607607
type:
608-
default: export.bulk_image_moderation.error
608+
default: export.channels.error
609609
type: string
610610
x-stream-index: "003.002"
611611
required:
@@ -16601,7 +16601,7 @@ components:
1660116601
type: apiKey
1660216602
info:
1660316603
title: Stream API
16604-
version: v198.7.0
16604+
version: v198.9.0
1660516605
openapi: 3.0.3
1660616606
paths:
1660716607
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 145 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -573,28 +573,31 @@ components:
573573
description: Whether to hide this activity
574574
title: bool
575575
type: boolean
576-
x-stream-index: "003"
576+
x-stream-index: "004"
577577
mute_user:
578578
description: Whether to mute the user who created this activity
579579
title: bool
580580
type: boolean
581-
x-stream-index: "005"
581+
x-stream-index: "006"
582582
reason:
583583
description: Reason for the feedback (optional)
584584
maxLength: 1000
585585
title: string
586586
type: string
587-
x-stream-index: "006"
587+
x-stream-index: "007"
588588
report:
589589
description: Whether to report this activity
590590
title: bool
591591
type: boolean
592-
x-stream-index: "004"
592+
x-stream-index: "005"
593593
show_less:
594594
description: Whether to show less content like this
595595
title: bool
596596
type: boolean
597597
x-stream-index: "002"
598+
show_more:
599+
type: boolean
600+
x-stream-index: "003"
598601
title: Activity Feedback Request
599602
type: object
600603
ActivityFeedbackResponse:
@@ -14680,6 +14683,30 @@ components:
1468014683
title: Message
1468114684
type: object
1468214685
x-stream-docs-page-id: send_message
14686+
MetricThreshold:
14687+
properties:
14688+
level:
14689+
type: string
14690+
x-stream-index: "001"
14691+
operator:
14692+
type: string
14693+
x-stream-index: "002"
14694+
value:
14695+
format: float
14696+
type: number
14697+
x-stream-index: "003"
14698+
value_unit:
14699+
type: string
14700+
x-stream-index: "004"
14701+
window_seconds:
14702+
format: int32
14703+
type: integer
14704+
x-stream-index: "005"
14705+
required:
14706+
- level
14707+
- operator
14708+
- value
14709+
type: object
1468314710
ModerationActionConfig:
1468414711
nullable: true
1468514712
properties:
@@ -15897,6 +15924,42 @@ components:
1589715924
required:
1589815925
- id
1589915926
type: object
15927+
OwnCapabilitiesBatchRequest:
15928+
nullable: true
15929+
properties:
15930+
feeds:
15931+
description: List of feed IDs to get capabilities for
15932+
items:
15933+
type: string
15934+
maximum: 100
15935+
minimum: 1
15936+
title: Feed IDs
15937+
type: array
15938+
x-stream-index: "001"
15939+
required:
15940+
- feeds
15941+
title: Own Capabilities Batch Request
15942+
type: object
15943+
OwnCapabilitiesBatchResponse:
15944+
nullable: true
15945+
properties:
15946+
capabilities:
15947+
additionalProperties:
15948+
items:
15949+
$ref: '#/components/schemas/FeedOwnCapability'
15950+
type: array
15951+
description: Map of feed ID to capabilities array
15952+
title: Capabilities
15953+
type: object
15954+
x-stream-index: "001"
15955+
duration:
15956+
type: string
15957+
x-stream-index: "002.001"
15958+
required:
15959+
- capabilities
15960+
- duration
15961+
title: Own Capabilities Batch Response
15962+
type: object
1590015963
OwnCapability:
1590115964
description: All possibility of string to use
1590215965
enum:
@@ -16341,13 +16404,20 @@ components:
1634116404
type: array
1634216405
type: object
1634316406
x-stream-index: "001"
16407+
global_thresholds:
16408+
additionalProperties:
16409+
items:
16410+
$ref: '#/components/schemas/MetricThreshold'
16411+
type: array
16412+
type: object
16413+
x-stream-index: "002"
1634416414
tracks:
1634516415
additionalProperties:
1634616416
items:
1634716417
$ref: '#/components/schemas/ParticipantSeriesTrackMetrics'
1634816418
type: array
1634916419
type: object
16350-
x-stream-index: "002"
16420+
x-stream-index: "003"
1635116421
type: object
1635216422
ParticipantSeriesSubscriberStats:
1635316423
properties:
@@ -16361,11 +16431,18 @@ components:
1636116431
type: array
1636216432
type: object
1636316433
x-stream-index: "001"
16434+
global_thresholds:
16435+
additionalProperties:
16436+
items:
16437+
$ref: '#/components/schemas/MetricThreshold'
16438+
type: array
16439+
type: object
16440+
x-stream-index: "002"
1636416441
subscriptions:
1636516442
items:
1636616443
$ref: '#/components/schemas/ParticipantSeriesSubscriptionTrackMetrics'
1636716444
type: array
16368-
x-stream-index: "002"
16445+
x-stream-index: "003"
1636916446
type: object
1637016447
ParticipantSeriesSubscriptionTrackMetrics:
1637116448
properties:
@@ -16414,6 +16491,9 @@ components:
1641416491
type: object
1641516492
ParticipantSeriesTrackMetrics:
1641616493
properties:
16494+
codec:
16495+
type: string
16496+
x-stream-index: "004"
1641716497
label:
1641816498
type: string
1641916499
x-stream-index: "002"
@@ -16426,7 +16506,17 @@ components:
1642616506
type: array
1642716507
type: array
1642816508
type: object
16429-
x-stream-index: "004"
16509+
x-stream-index: "006"
16510+
rid:
16511+
type: string
16512+
x-stream-index: "005"
16513+
thresholds:
16514+
additionalProperties:
16515+
items:
16516+
$ref: '#/components/schemas/MetricThreshold'
16517+
type: array
16518+
type: object
16519+
x-stream-index: "007"
1643016520
track_id:
1643116521
type: string
1643216522
x-stream-index: "001"
@@ -16448,6 +16538,13 @@ components:
1644816538
type: array
1644916539
type: object
1645016540
x-stream-index: "001"
16541+
thresholds:
16542+
additionalProperties:
16543+
items:
16544+
$ref: '#/components/schemas/MetricThreshold'
16545+
type: array
16546+
type: object
16547+
x-stream-index: "002"
1645116548
type: object
1645216549
PendingMessageEvent:
1645316550
description: Pending message event for async moderation
@@ -26630,7 +26727,7 @@ components:
2663026727
type: apiKey
2663126728
info:
2663226729
title: Stream API
26633-
version: v198.7.0
26730+
version: v198.9.0
2663426731
openapi: 3.0.3
2663526732
paths:
2663626733
/api/v2/app:
@@ -31685,6 +31782,46 @@ paths:
3168531782
summary: Create multiple feeds at once
3168631783
tags:
3168731784
- product:feeds
31785+
/api/v2/feeds/feeds/own_capabilities/batch:
31786+
post:
31787+
description: |
31788+
Retrieves capabilities for multiple feeds in a single request. Useful for batch processing when activities are added to feeds.
31789+
operationId: OwnCapabilitiesBatch
31790+
parameters:
31791+
- in: query
31792+
name: connection_id
31793+
schema:
31794+
type: string
31795+
x-stream-index: "003.003"
31796+
requestBody:
31797+
content:
31798+
application/json:
31799+
schema:
31800+
$ref: '#/components/schemas/OwnCapabilitiesBatchRequest'
31801+
description: Own Capabilities Batch Request
31802+
required: true
31803+
responses:
31804+
"201":
31805+
content:
31806+
application/json:
31807+
schema:
31808+
$ref: '#/components/schemas/OwnCapabilitiesBatchResponse'
31809+
description: Own Capabilities Batch Response
31810+
"400":
31811+
content:
31812+
application/json:
31813+
schema:
31814+
$ref: '#/components/schemas/APIError'
31815+
description: Bad request
31816+
"429":
31817+
content:
31818+
application/json:
31819+
schema:
31820+
$ref: '#/components/schemas/APIError'
31821+
description: Too many requests
31822+
summary: Get capabilities for multiple feeds
31823+
tags:
31824+
- product:feeds
3168831825
/api/v2/feeds/feeds/query:
3168931826
post:
3169031827
description: |

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
@@ -6163,7 +6163,7 @@ components:
61636163
type: apiKey
61646164
info:
61656165
title: Stream API
6166-
version: v198.7.0
6166+
version: v198.9.0
61676167
openapi: 3.0.3
61686168
paths:
61696169
/api/v2/moderation/ban:

openapi/moderation-serverside-api.json

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

openapi/moderation-serverside-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7415,7 +7415,7 @@ components:
74157415
type: apiKey
74167416
info:
74177417
title: Stream API
7418-
version: v198.7.0
7418+
version: v198.9.0
74197419
openapi: 3.0.3
74207420
paths:
74217421
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)