Skip to content

Commit

Permalink
Update video openapi Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stream-ci-zz committed May 2, 2024
1 parent 4f8e26b commit 186f158
Show file tree
Hide file tree
Showing 12 changed files with 97 additions and 29 deletions.
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

27 changes: 22 additions & 5 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4005,7 +4005,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 @@ -6583,10 +6583,16 @@ components:
maximum: 25
minimum: 0
type: integer
x-stream-index: "005.001"
x-stream-index: "006.001"
member_limit:
format: int32
maximum: 100
minimum: 0
type: integer
x-stream-index: "005"
next:
type: string
x-stream-index: "005.002"
x-stream-index: "006.002"
participant_limit:
description: Limit the number of participants returned per each thread
format: int32
Expand All @@ -6597,7 +6603,7 @@ components:
x-stream-index: "004"
prev:
type: string
x-stream-index: "005.003"
x-stream-index: "006.003"
reply_limit:
description: Limit the number of replies returned per each thread
format: int32
Expand Down Expand Up @@ -9622,7 +9628,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.2.0
version: v112.2.1
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -12958,6 +12964,17 @@ paths:
type: integer
writeOnly: true
x-stream-index: "005"
- in: query
name: member_limit
schema:
description: Limit the number of members returned per thread channel
format: int32
maximum: 100
minimum: 0
title: Member limit
type: integer
writeOnly: true
x-stream-index: "006"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

29 changes: 23 additions & 6 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7308,10 +7308,16 @@ components:
maximum: 25
minimum: 0
type: integer
x-stream-index: "005.001"
x-stream-index: "006.001"
member_limit:
format: int32
maximum: 100
minimum: 0
type: integer
x-stream-index: "005"
next:
type: string
x-stream-index: "005.002"
x-stream-index: "006.002"
participant_limit:
description: Limit the number of participants returned per each thread
format: int32
Expand All @@ -7322,7 +7328,7 @@ components:
x-stream-index: "004"
prev:
type: string
x-stream-index: "005.003"
x-stream-index: "006.003"
reply_limit:
description: Limit the number of replies returned per each thread
format: int32
Expand All @@ -7333,10 +7339,10 @@ components:
x-stream-index: "003"
user:
$ref: '#/components/schemas/UserRequest'
x-stream-index: "007.002"
x-stream-index: "008.002"
user_id:
type: string
x-stream-index: "007.001"
x-stream-index: "008.001"
type: object
QueryThreadsResponse:
nullable: true
Expand Down Expand Up @@ -10504,7 +10510,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.2.0
version: v112.2.1
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -14989,6 +14995,17 @@ paths:
type: integer
writeOnly: true
x-stream-index: "005"
- in: query
name: member_limit
schema:
description: Limit the number of members returned per thread channel
format: int32
maximum: 100
minimum: 0
title: Member limit
type: integer
writeOnly: true
x-stream-index: "006"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

25 changes: 21 additions & 4 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9444,10 +9444,16 @@ components:
maximum: 25
minimum: 0
type: integer
x-stream-index: "005.001"
x-stream-index: "006.001"
member_limit:
format: int32
maximum: 100
minimum: 0
type: integer
x-stream-index: "005"
next:
type: string
x-stream-index: "005.002"
x-stream-index: "006.002"
participant_limit:
description: Limit the number of participants returned per each thread
format: int32
Expand All @@ -9458,7 +9464,7 @@ components:
x-stream-index: "004"
prev:
type: string
x-stream-index: "005.003"
x-stream-index: "006.003"
reply_limit:
description: Limit the number of replies returned per each thread
format: int32
Expand Down Expand Up @@ -13489,7 +13495,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.2.0
version: v112.2.1
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -16470,6 +16476,17 @@ paths:
type: integer
writeOnly: true
x-stream-index: "005"
- in: query
name: member_limit
schema:
description: Limit the number of members returned per thread channel
format: int32
maximum: 100
minimum: 0
title: Member limit
type: integer
writeOnly: true
x-stream-index: "006"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

29 changes: 23 additions & 6 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8973,10 +8973,16 @@ components:
maximum: 25
minimum: 0
type: integer
x-stream-index: "005.001"
x-stream-index: "006.001"
member_limit:
format: int32
maximum: 100
minimum: 0
type: integer
x-stream-index: "005"
next:
type: string
x-stream-index: "005.002"
x-stream-index: "006.002"
participant_limit:
description: Limit the number of participants returned per each thread
format: int32
Expand All @@ -8987,7 +8993,7 @@ components:
x-stream-index: "004"
prev:
type: string
x-stream-index: "005.003"
x-stream-index: "006.003"
reply_limit:
description: Limit the number of replies returned per each thread
format: int32
Expand All @@ -8998,10 +9004,10 @@ components:
x-stream-index: "003"
user:
$ref: '#/components/schemas/UserRequest'
x-stream-index: "007.002"
x-stream-index: "008.002"
user_id:
type: string
x-stream-index: "007.001"
x-stream-index: "008.001"
type: object
QueryThreadsResponse:
nullable: true
Expand Down Expand Up @@ -13082,7 +13088,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.2.0
version: v112.2.1
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -16624,6 +16630,17 @@ paths:
type: integer
writeOnly: true
x-stream-index: "005"
- in: query
name: member_limit
schema:
description: Limit the number of members returned per thread channel
format: int32
maximum: 100
minimum: 0
title: Member limit
type: integer
writeOnly: true
x-stream-index: "006"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5566,7 +5566,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.2.0
version: v112.2.1
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3226,7 +3226,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.2.0
version: v112.2.1
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down

0 comments on commit 186f158

Please sign in to comment.