-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update API in order to support the per stream state #13468
Conversation
…ate-api-for-per-stream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
started re-reviewing this. realized that there are still a few things in the spec that need ironing out. lmk if you'd like to go over any of them!
type: array | ||
items: | ||
$ref: "#/components/schemas/StreamKey" | ||
StreamKey: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reminder: replace thjs with stream descriptor
@@ -3987,8 +4023,100 @@ components: | |||
$ref: "#/components/schemas/ConnectionId" | |||
state: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switch this to legacy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering about compatibility issues. I have no idea about how this endpoint is used (apart from it not being use in the UI). I some users have a script fetching the state, it should remains the same.
type: string | ||
enum: | ||
- global | ||
- per_stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- per_stream | |
- stream |
@@ -3987,8 +4023,100 @@ components: | |||
$ref: "#/components/schemas/ConnectionId" | |||
state: | |||
$ref: "#/components/schemas/ConnectionStateObject" | |||
globalState: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is out of date.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…ate-api-for-per-stream
closing in favor #13835 so that other people can review it. |
What
Update the API in order to handle the per stream state (and per stream reset).