chat_api

Get a message

Get a chat message in a session

get/ocs/v2.php/apps/assistant/chat/sessions/{sessionId}/messages/{messageId}

Path parameters

sessionIdinteger required

The session ID

messageIdinteger required

The message ID

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Response

The message has been successfully obtained

idinteger required
session_idinteger required
rolestring required
contentstring required
timestampinteger required
ocp_task_idinteger required
sourcesstring required

Changes

Changed in 3 of the 51 revisions of this API.32

  • 992cd27e50b621See the full diff
    • the response's body type/format changed from object/ to / for status 401

      response-body-type-changed

    • removed the required property error from the response with the 401 status

      response-required-property-removed

    • added subschema #1 subschema #2 to the response body anyOf list for the response status 401

      response-body-any-of-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog