Constructors

Methods

  • User accepts an invite to a play test.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Title admin approves a user's play test request.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • User cancels their own play test request.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Title admin declines a user's play test request.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Get aggregated results for a play test (publisher view).

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Title administrator invites a user to test a title.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • data: object

      The data containing user_id and other optional fields.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Get a list of play tests associated with a title.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • Optional params: Record<string, any>

      Optional query parameters.

    Returns AxiosPromise<default<T>>

    Promise

  • Get all the play tests that are associated with the current user.

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • User rejects an invite to a play test.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • User requests to test a title.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • Optional data: object

      Optional data for the request.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Retrieve a single play test.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • User submits or updates their answers for a play test.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • data: object

      The answers data.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Title admin updates test questions for a play test.

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • data: object

      The questions data.

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

    Promise

  • Upload an audio/video answer file for a play test question. The file is stored by the Glitch backend (authenticated with the session token) and a media URL is returned that can then be passed to submitAnswers().

    Type Parameters

    • T

    Parameters

    • title_id: string

      The ID of the title.

    • playtest_id: string

      The ID of the play test.

    • file: Blob | File

      The recorded audio/video file or blob.

    • Optional data: Record<string, any>

      Additional fields (question_id, media_type, title, description).

    • Optional params: Record<string, any>

      Optional query parameters.

    • Optional onUploadProgress: ((progressEvent) => void)

      Optional progress callback.

        • (progressEvent): void
        • Parameters

          • progressEvent: AxiosProgressEvent

          Returns void

    Returns AxiosPromise<default<T>>

    Promise

Generated using TypeDoc