tools.ozone.report.createActivity
#main
Register an activity on a report. For state-change activity types, validates the transition and updates report.status atomically.
Input
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| reportId | integer | - | ✅ | ID of the report to record activity on |
| activity | union of tools.ozone.report.defs#queueActivity tools.ozone.report.defs#assignmentActivity tools.ozone.report.defs#escalationActivity tools.ozone.report.defs#closeActivity tools.ozone.report.defs#reopenActivity tools.ozone.report.defs#noteActivity | - | ✅ | - |
| internalNote | string | - | ❌ | Optional moderator-only note. Not visible to reporters. |
| publicNote | string | - | ❌ | Optional public-facing note, potentially visible to the reporter. |
| isAutomated | boolean | - | ❌ | Set true when this activity is triggered by an automated process. Defaults to false. |
Output
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| activity | tools.ozone.report.defs#reportActivityView | - | ✅ | - |