> ## Documentation Index
> Fetch the complete documentation index at: https://biscon.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Account States

> This endpoint get the rating, watchlist and favourite status.




## OpenAPI

````yaml get /tv/{series_id}/season/{season_number}/account_state
openapi: 3.0.3
info:
  title: TMDB API DOCUMENTATION
  description: >-
    The Movie Database is an API that provides comprehensive movie, TV show, and
    celebrity data. TMDB offers APIs that developers use to access and integrate
    its data into applications, websites, or services.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org/3
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Endpoints for managing authentication, including login and user sessions.
  - name: Account
    description: Endpoints for managing user accounts, such as profiles and settings.
  - name: Certification
    description: Endpoints for retrieving and managing certification data.
  - name: Changes
    description: Endpoints for tracking changes and updates across the system.
  - name: Collection
    description: Endpoints for managing and accessing user collections.
  - name: Companies
    description: Endpoints for retrieving and managing company-related data.
  - name: Configuration
    description: Endpoints for accessing and updating system configuration settings.
  - name: Credits
    description: Endpoints for retrieving credit information related to movies or shows.
  - name: Discover
    description: Endpoints for discovering content based on filters and criteria.
  - name: Find
    description: Endpoints for locating specific items or entities in the database.
  - name: Genres
    description: Endpoints for retrieving and managing genres for categorization.
  - name: Guest Sessions
    description: Endpoints for creating and managing guest user sessions.
  - name: Keywords
    description: Endpoints for managing and searching content using keywords.
  - name: Lists
    description: Endpoints for creating and managing user-generated lists.
  - name: Movie Lists
    description: Endpoints for retrieving and managing lists of movies.
  - name: Movies
    description: Endpoints for retrieving detailed information about movies.
  - name: Networks
    description: Endpoints for retrieving and managing network-related data.
  - name: People Lists
    description: Endpoints for retrieving and managing lists of people in the system.
  - name: People
    description: Endpoints for retrieving information about actors, directors, and others.
  - name: Search
    description: Endpoints for performing searches across multiple categories.
  - name: Reviews
    description: Endpoints for managing and displaying reviews from users.
  - name: Trending
    description: Endpoints for retrieving trending content based on popularity.
  - name: TV Series Lists
    description: Endpoints for retrieving and managing lists of TV series.
  - name: TV Series
    description: Endpoints for retrieving detailed information about TV series.
  - name: TV Seasons
    description: Endpoints for retrieving and managing information about TV seasons.
  - name: TV Episodes
    description: Endpoints for retrieving and managing information about TV episodes.
  - name: TV Episode Groups
    description: Endpoints for managing groups of TV episodes organized by criteria.
  - name: Watch Providers
    description: >-
      Endpoints for retrieving availability information from streaming
      providers.
  - name: Auth
    description: >-
      Endpoints for managing version4 authentication, including login and user
      sessions.
  - name: Lists
    description: >-
      Endpoints for managing version4 authentication, including login and user
      sessions.
paths:
  /tv/{series_id}/season/{season_number}/account_state:
    get:
      tags:
        - TV Seasons
      summary: Account States
      description: |
        This endpoint get the rating, watchlist and favourite status.
      operationId: tvseasonAccountStates
      parameters:
        - name: series_id
          in: path
          required: true
          schema:
            type: integer
          description: The series ID of the tv
        - name: season_number
          in: path
          required: true
          schema:
            type: integer
          description: The season number of the tv series
        - name: session_id
          in: query
          required: false
          schema:
            type: string
          description: The session ID of the tv series
        - name: guest_session
          in: query
          required: false
          schema:
            type: string
          description: The guest session of the tv series
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: A unique identifier for the collection
                  results:
                    type: array
                    description: Contains the list of data or items
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        episode_number:
                          type: integer
                        rated:
                          type: array
                          items:
                            type: object
                            properties:
                              value:
                                type: integer
                example:
                  id: 3624
                  results:
                    - id: 63056
                      episode_number: 1
                      rated:
                        value: 9
                    - id: 63057
                      episode_number: 2
                      rated: false
                    - id: 63058
                      episode_number: 3
                      rated: false
                    - id: 63059
                      episode_number: 4
                      rated: false
                    - id: 63060
                      episode_number: 5
                      rated: false
                    - id: 63061
                      episode_number: 6
                      rated: false
                    - id: 63062
                      episode_number: 7
                      rated: false
                    - id: 63063
                      episode_number: 8
                      rated: false
                    - id: 63064
                      episode_number: 9
                      rated: false
                    - id: 63065
                      episode_number: 10
                      rated: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.