UpdateRoomTarget
Update Room Target through the Watch Together service.
/api.v1.watch_together.WatchTogetherService/UpdateRoomTarget Bearer requiredRequest
UpdateWatchTogetherTargetRequest
UpdateWatchTogetherTargetRequestapi.v1.watch_together.UpdateWatchTogetherTargetRequest2 fields
Update Watch Together Target Request message.
publicIdstringPublic Id value.
{
"publicId": "room-7KQ2",
"target": {
"slug": "frieren",
"season": "1",
"episode": "1",
"animeGroupId": 1
}
}Response
UpdateWatchTogetherTargetResponse
UpdateWatchTogetherTargetResponseapi.v1.watch_together.UpdateWatchTogetherTargetResponse1 fields
Update Watch Together Target Response message.
{
"data": {
"room": {
"publicId": "room-7KQ2",
"animeId": 1,
"slug": "frieren",
"season": "1",
"episode": "1",
"animeGroupId": 1,
"animeTitle": "Frieren: Beyond Journey’s End",
"episodeTitle": "Frieren: Beyond Journey’s End"
},
"members": [
{
"userId": 1,
"username": "fireanime_user",
"role": "string value",
"status": "active",
"isSelf": true
}
]
}
}Referenced models
4 nested message types
WatchTogetherTargetapi.v1.watch_together.WatchTogetherTarget4 fields
Watch Together Target message.
slugstringSlug value.
seasonstringSeason value.
episodestringEpisode value.
animeGroupIdoptionaluint32Anime Group Id value.
WatchTogetherSnapshotapi.v1.watch_together.WatchTogetherSnapshot2 fields
Watch Together Snapshot message.
WatchTogetherRoomapi.v1.watch_together.WatchTogetherRoom19 fields
Watch Together Room message.
publicIdstringPublic Id value.
animeIduint32Anime Id value.
slugstringSlug value.
seasonstringSeason value.
episodestringEpisode value.
animeGroupIdoptionaluint32Anime Group Id value.
animeTitlestringAnime Title value.
episodeTitlestringEpisode Title value.
hostUserIduint32Host User Id value.
statusstringStatus value.
playbackStatestringPlayback State value.
positionSecondsint32Position Seconds value.
positionMaxint32Position Max value.
playbackUpdatedAtint64Playback Updated At value.
createdAtint64Created At value.
updatedAtint64Updated At value.
expiresAtint64Expires At value.
memberCountint32Member Count value.
isHostboolIs Host value.
WatchTogetherMemberapi.v1.watch_together.WatchTogetherMember5 fields
Watch Together Member message.
userIduint32User Id value.
usernamestringUsername value.
rolestringRole value.
statusstringStatus value.
isSelfboolIs Self value.
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.