Nurama Developers
Projects

Get project topic chat (creator or reviewer).

Returns the project's topic chat for the given visibility with its most recent messages and replies. Requires `canGetCreatorChat` for `creator` and `canGetReviewerChat` for `reviewer`.

GET
/projects/{projectId}/chat/{visibility}

Returns the project's topic chat for the given visibility with its most recent messages and replies. Requires canGetCreatorChat for creator and canGetReviewerChat for reviewer.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Unique ID of the project.

Formatuuid
visibility*string

Which tree to operate on — the creator tree or the reviewer tree.

Value in

  • "creator"
  • "reviewer"

Query Parameters

updatedBefore?string

Millisecond timestamp. When set, only messages updated before this time are returned (legacy filter; forces the creator chat).

Formatdate-time
messages?number

Number of recent messages to retrieve

Rangevalue <= 100
Default10
replies?number

Number of recent replies to retrieve per message.

Rangevalue <= 100
Default10
sort?

Sorting parameter for chat messages and replies

Default

{  "id": -1}

Response Body

application/json

application/json

curl -X GET "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat/creator"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "chatType": "topic",  "topicId": "97b608a9-302e-4387-a5f4-fd35969cdc21",  "topicType": "asset",  "replyType": "quote",  "subject": "string",  "visibility": "creator",  "publicId": "f72dfe8e-6cfd-43c2-b1cb-95adbf313789",  "participants": [    "e3139958-26f5-4fd4-a9c9-fe1c29c5cbac"  ],  "following": [    "6bc36f94-42f8-4778-8086-0f778a9e5f30"  ],  "annotations": [    {}  ],  "totalMessages": 0,  "lastMessageAt": "2019-08-24T14:15:22Z",  "recentMessages": [    "6738c803-41a8-4296-a5bd-8d9974ec6fa0"  ],  "activeConvoId": "6ac5e0e4-f5db-4276-ac1c-9dd077ad79d2",  "activeConvo": "d97b3779-3421-4076-bf6e-15252c014d1d",  "status": "active",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}