chat

Change chat state with a durable receipt

Changed on
post/v1/chat/commands

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/chat/commands
  • Auth
    HTTP bearer

Request body

operationIdstring uuid required

Persist this UUID and input before transport. Retry the same pair after an unknown outcome. A new intent needs a new UUID.

expectedUserIdstring uuid required

Response

Successful response

operationIdstring uuid required
status'succeeded' | 'rejected' required

Changes

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • breaking

      the response property /////// became nullable for the status

    • info

      response property result/anyOf[ChatCommandResult]/administration/imageUrl list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property result/anyOf[ChatCommandResult]/administration/name list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property result/anyOf[ChatCommandResult]/message/anyOf[subschema #1]/deletedAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property result/anyOf[ChatCommandResult]/message/anyOf[subschema #1]/pinnedAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      endpoint added