Chat messages
Name | Description |
---|---|
token | token |
tour_id | tour |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/tours/9/chat_messages?token=foobar141
token: foobar141
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"2a417da13ca9ab804486c72ffd814c91" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 0ae46bed-0ecd-47c6-ae84-34cfb0e630f8 X-Runtime: 0.012539 Content-Length: 191
200 OK
{ "chat_messages": [ { "id": 10, "content": "MyText", "user": { "id": 142, "avatar_url": null, "display_name": "John D.", "partner": null }, "created_at": "2022-06-02T17:16:45.982+02:00", "message_type": "text" } ] }