メインコンテンツまでスキップ

Update pattern

PUT 

/bv/chatroom/v1/patterns/:id

Modifies a specific pattern in the dictionary. Authorization requires either the chatroom token with admin role or the dictionary token.

Request

Path Parameters

    id stringrequired

    Required. The uuid of the pattern to update.

Header Parameters

    authorization string

    This API should be invoked with the chatroom token or dictionary token.

Body

required
    text stringrequired

    Required. The text to update.

Responses

A successful response.

Schema
    pattern object
    id string

    Output only. The uuid of the pattern to filter the incoming message from the viewer.

    text string

    Output only. The text of the pattern to filter the incoming message from the viewer.

Loading...