FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Схема даних рішення по затвердженню"
{ "approvalId": "string", "triggerId": "string", "toolName": "ban_user | mark_comment_spam | ...", "actionType": 10, "status": "APPROVED | REJECTED | EXECUTION_FAILED", "decidedBy": "string - userId модератора, який ухвалив рішення", "decidedAt": "string - мітка часу у форматі ISO 8601 - необов'язково, присутній тільки після ухвалення рішення", "executedAt": "string - мітка часу у форматі ISO 8601 - присутній коли APPROVED і виконання завершено", "executionResult": "string - повідомлення про результат виконання - присутнє після виконання", "contextSnapshot": { /* same as approval.requested */ } }
Result