Update a submission
Requires `canUpdateSubmission`. The submission must belong to `projectId`.
Requires canUpdateSubmission. The submission must belong to projectId.
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: projects:write
Path Parameters
Unique ID of the project.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$uuidThe ID of the submission. Must belong to projectId.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/submission/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "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}