Nurama Developers
Projects

Add a tag to a submission (deprecated alias; use PUT)

Requires `canTagSubmission`. The submission must belong to `projectId`.

Deprecated

POST
/projects/{projectId}/submission/{submissionId}/tag

Requires canTagSubmission. The submission must belong to projectId.

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/submission/497f6eca-6276-4993-bfeb-53cbbbba6f08/tag" \  -H "Content-Type: application/json" \  -d '{    "tagId": "f69eb9f1-ae9f-4086-b25c-c39758a43fb3"  }'
{  "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}