跳到主要内容

List dictionaries in chatroom

GET 

/bv/chatroom/v1/chatrooms/dictionaries

Lists available or enabled dictionaries within the chatroom. Authorization requires the chatroom token.

Request

Query Parameters

    page_size int32

    Maximum value: 100. Default value: 10.

    page_token string

    A page token, received from a previous ListChatroomDictionaries API call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListChatroomDictionaries must match the call that provided the page token.

Header Parameters

    authorization string

    This API should be invoked with the chatroom token.

Responses

A successful response.

Schema
    results object[]

    The list of the dictionary results.

  • Array [
  • dictionary object

    The dictionary resource.

    id string

    Output only. The uuid of the dictionary that is used to filter the incoming message from the viewer.

    name string

    Output only. The name of the dictionary.

    description string

    Output only. The description of the dictionary.

    default boolean

    Output only. Indicates the dictionary is the default dictionary that can not be modified or deleted.

    pattern_count int32

    Output only. The number of patterns in the dictionary.

    created_at date-time

    Output only. Indicates the time that the dictionary created.

    updated_at date-time

    Output only. Indicates the time that the dictionary last updated.

    enabled boolean

    Indicates the dictionary whether or not enabled in the chatroom.

  • ]
  • next_page_token string

    A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Loading...