Chat Controller

post
Authorizations
Body
stringOptional
Responses
204
No Content
post
POST /api/chat/messages HTTP/1.1
Host: inscada.cloud
Content-Type: text/plain
Accept: */*
Content-Length: 6

"text"

No content

post
Authorizations
Query parameters
messageIdsstring[]Required
Responses
204
No Content
post
POST /api/chat/messages/set-read HTTP/1.1
Host: inscada.cloud
Accept: */*

No content

post
Authorizations
Query parameters
messageIdstringRequired
Responses
204
No Content
post
POST /api/chat/message/set-read HTTP/1.1
Host: inscada.cloud
Accept: */*

No content

get
Authorizations
Query parameters
Responses
200
OK
*/*
get
GET /api/chat/recipients HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "totalElements": 1,
  "totalPages": 1,
  "first": true,
  "last": true,
  "size": 1,
  "content": [
    {
      "creationDate": "2025-07-05T18:36:12.946Z",
      "lastModifiedBy": "text",
      "createdBy": "text",
      "lastModifiedDate": "2025-07-05T18:36:12.946Z",
      "id": "text",
      "chatMessageId": "text",
      "username": "text",
      "isRead": true,
      "chatMessage": {
        "creationDate": "2025-07-05T18:36:12.946Z",
        "lastModifiedBy": "text",
        "createdBy": "text",
        "lastModifiedDate": "2025-07-05T18:36:12.946Z",
        "id": "text",
        "content": "text"
      }
    }
  ],
  "number": 1,
  "sort": [
    {
      "direction": "text",
      "nullHandling": "text",
      "ascending": true,
      "property": "text",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "sort": [
      {
        "direction": "text",
        "nullHandling": "text",
        "ascending": true,
        "property": "text",
        "ignoreCase": true
      }
    ],
    "pageNumber": 1,
    "unpaged": true,
    "paged": true,
    "pageSize": 1
  },
  "empty": true
}
get
Authorizations
Query parameters
Responses
200
OK
*/*
get
GET /api/chat/messages/filter HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "totalElements": 1,
  "totalPages": 1,
  "first": true,
  "last": true,
  "size": 1,
  "content": [
    {
      "creationDate": "2025-07-05T18:36:12.946Z",
      "lastModifiedBy": "text",
      "createdBy": "text",
      "lastModifiedDate": "2025-07-05T18:36:12.946Z",
      "id": "text",
      "content": "text"
    }
  ],
  "number": 1,
  "sort": [
    {
      "direction": "text",
      "nullHandling": "text",
      "ascending": true,
      "property": "text",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "sort": [
      {
        "direction": "text",
        "nullHandling": "text",
        "ascending": true,
        "property": "text",
        "ignoreCase": true
      }
    ],
    "pageNumber": 1,
    "unpaged": true,
    "paged": true,
    "pageSize": 1
  },
  "empty": true
}