FIREANIME API
Browse API97 operations
POST

UpdateRoomTarget

Update Room Target through the Watch Together service.

/api.v1.watch_together.WatchTogetherService/UpdateRoomTarget Bearer required
01

Request

UpdateWatchTogetherTargetRequest

UpdateWatchTogetherTargetRequestapi.v1.watch_together.UpdateWatchTogetherTargetRequest2 fields

Update Watch Together Target Request message.

publicId
string

Public Id value.

target

Target value.

Request JSON
{
  "publicId": "room-7KQ2",
  "target": {
    "slug": "frieren",
    "season": "1",
    "episode": "1",
    "animeGroupId": 1
  }
}
02

Response

UpdateWatchTogetherTargetResponse

UpdateWatchTogetherTargetResponseapi.v1.watch_together.UpdateWatchTogetherTargetResponse1 fields

Update Watch Together Target Response message.

data

Data value.

Example response
{
  "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
      }
    ]
  }
}
03

Referenced models

4 nested message types

WatchTogetherTargetapi.v1.watch_together.WatchTogetherTarget4 fields

Watch Together Target message.

slug
string

Slug value.

season
string

Season value.

episode
string

Episode value.

animeGroupIdoptional
uint32

Anime Group Id value.

WatchTogetherSnapshotapi.v1.watch_together.WatchTogetherSnapshot2 fields

Watch Together Snapshot message.

room

Room value.

membersarray

Members value.

WatchTogetherRoomapi.v1.watch_together.WatchTogetherRoom19 fields

Watch Together Room message.

publicId
string

Public Id value.

animeId
uint32

Anime Id value.

slug
string

Slug value.

season
string

Season value.

episode
string

Episode value.

animeGroupIdoptional
uint32

Anime Group Id value.

animeTitle
string

Anime Title value.

episodeTitle
string

Episode Title value.

hostUserId
uint32

Host User Id value.

status
string

Status value.

playbackState
string

Playback State value.

positionSeconds
int32

Position Seconds value.

positionMax
int32

Position Max value.

playbackUpdatedAt
int64

Playback Updated At value.

createdAt
int64

Created At value.

updatedAt
int64

Updated At value.

expiresAt
int64

Expires At value.

memberCount
int32

Member Count value.

isHost
bool

Is Host value.

WatchTogetherMemberapi.v1.watch_together.WatchTogetherMember5 fields

Watch Together Member message.

userId
uint32

User Id value.

username
string

Username value.

role
string

Role value.

status
string

Status value.

isSelf
bool

Is Self value.

04

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.