Nurama Developers
Projects

Get a specific submission for a project with recent messages.

Note, submissions are a Chat model. Requires `canGetSubmission`. The submission must belong to `projectId`; a foreign or unknown id returns `submissionNotFound` (404).

GET
/projects/{projectId}/submission/{submissionId}

Note, submissions are a Chat model. Requires canGetSubmission. The submission must belong to projectId; a foreign or unknown id returns submissionNotFound (404).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Unique ID of the project.

Formatuuid
submissionId*string

The ID of the submission. Must belong to projectId.

Formatuuid

Query Parameters

chatMessageSort?

Sorting criteria for embedded chat messages

Default

{  "id": -1}
chatReplySort?

Sorting criteria for embedded chat replies

Default

{  "id": -1}
chatMessageLimit?number

Maximum number of embedded chat messages to return per chat

Rangevalue <= 100
Default10
chatReplyLimit?number

Maximum number of embedded replies to return per message

Rangevalue <= 100
Default10

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/submission/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "chatType": "submission",  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",  "project": [    "9ec8a81a-31b2-4a83-bcd8-cef9150932d2"  ],  "publisherId": "f1ba8124-cabe-46cd-b4f9-1189594ff7b3",  "publisher": [    "8d4ec432-66ee-43f4-8b6b-e74ac867b2f5"  ],  "subject": "string",  "description": "string",  "version": "string",  "assetIds": [    "96fa1cd8-4f1c-475e-ac07-c52694e711b7"  ],  "assetInventory": {},  "participants": [    "e3139958-26f5-4fd4-a9c9-fe1c29c5cbac"  ],  "annotations": [    {}  ],  "totalMessages": 0,  "lastMessageAt": "2019-08-24T14:15:22Z",  "recentMessages": [    "6738c803-41a8-4296-a5bd-8d9974ec6fa0"  ],  "tags": [],  "status": "active",  "createdAt": 1678886400000,  "updatedAt": 1678886400000,  "queryAt": 0}