Skip to content

Commit

Permalink
Revert "add channel user context for viewer context and author context (
Browse files Browse the repository at this point in the history
#235)"

This reverts commit a0939f7.
  • Loading branch information
rishavmukherji committed Oct 22, 2024
1 parent a0939f7 commit e2b7192
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1613,8 +1613,6 @@ components:
nullable: true
viewer_context:
$ref: "#/components/schemas/CastViewerContext"
author_channel_context:
$ref: "#/components/schemas/ChannelUserContext"
CastWithInteractionsAndConversations:
allOf:
- $ref: "#/components/schemas/CastWithInteractions"
Expand Down Expand Up @@ -1862,8 +1860,6 @@ components:
- channel_dehydrated
image_url:
type: string
viewer_context:
$ref: "#/components/schemas/ChannelUserContext"
Channel:
type: object
required:
Expand Down Expand Up @@ -1924,27 +1920,15 @@ components:
items:
$ref: "#/components/schemas/User"
viewer_context:
$ref: "#/components/schemas/ChannelUserContext"
$ref: "#/components/schemas/ChannelViewerContext"
ChannelViewerContext:
deprecated: true
type: object
required:
- following
properties:
following:
type: boolean
description: Indicates if the viewer is following the channel.
ChannelUserContext:
description: Adds context on the viewer's or author's role in the channel.
type: object
required:
- following
properties:
following:
description: Indicates if the user is following the channel.
type: boolean
role:
$ref: "#/components/schemas/ChannelMemberRole"
ChannelListResponse:
type: object
required:
Expand Down

0 comments on commit e2b7192

Please sign in to comment.