{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-mansoq-im-wrapper-notificationtemplateviewset-54a340b4","title":"Notification Template API reference · mansoq-im-wrapper","summary":"Static source contract for Notification Template: 7 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.","module":"IT & integrations","roles":["IT administrator","Developer","Integration engineer"],"facilities":["All configured facility types"],"kind":"reference","minutes":8,"prerequisites":["Use the API contract from the installed deployment and an authorized synthetic test environment.","Confirm facility/organization scope, action permissions and optional app enablement.","This reference is static source evidence; complete payload, authorization, failure and end-to-end review remains recorded as pending."],"steps":[],"sections":[{"title":"Declared route and availability","body":"This resource is declared in **mansoq-im-wrapper** at `/api/{installed_plugin_prefix}/notification-templates/`. plugin/local mount; actual prefix and enablement require deployment verification A registered path and an indexed handler do not prove deployment availability, user permission or production readiness."},{"title":"Operation map","body":"| Method | Path | Action | Evidence |\n| --- | --- | --- | --- |\n| GET | `/api/{installed_plugin_prefix}/notification-templates/` | list | declared/inherited method |\n| GET | `/api/{installed_plugin_prefix}/notification-templates/{external_id}/` | retrieve | declared/inherited method |\n| POST | `/api/{installed_plugin_prefix}/notification-templates/{external_id}/toggle_active/` | toggle_active | @action declaration |\n| POST | `/api/{installed_plugin_prefix}/notification-templates/sync/` | sync | @action declaration |\n| POST | `/api/{installed_plugin_prefix}/notification-templates/{external_id}/set_variable_mapping/` | set_variable_mapping | @action declaration |\n| GET | `/api/{installed_plugin_prefix}/notification-templates/{external_id}/schema/` | variable_schema | @action declaration |\n| POST | `/api/{installed_plugin_prefix}/notification-templates/{external_id}/preview_variable_mapping/` | preview_variable_mapping | @action declaration |"},{"title":"list · GET","body":"**GET /api/{installed_plugin_prefix}/notification-templates/** — action `list`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n\n**response: NotificationTemplateReadSpec**. Declared fields below; inherited fields are retained in the schema inventory.\n\n| Field | Type | Required | Constraints |\n| --- | --- | --- | --- |\n| meta | dict | false | No extra constraint extracted |\n| id | UUID4 \\| None | false | No extra constraint extracted |\n| name | str | true | No extra constraint extracted |\n| slug | str | true | No extra constraint extracted |\n| provider | str | true | No extra constraint extracted |\n| category | str | true | No extra constraint extracted |\n| approval_status | str | true | No extra constraint extracted |\n| is_active | bool | true | No extra constraint extracted |\n| language_code | str \\| None | false | No extra constraint extracted |\n| payload | dict[str, Any] \\| None | false | No extra constraint extracted |\n| variable_mapping | dict[str, Any] \\| None | false | No extra constraint extracted |\n| parameter_format | str | true | No extra constraint extracted |\n| created_date | datetime.datetime \\| None | false | No extra constraint extracted |\n| modified_date | datetime.datetime \\| None | false | No extra constraint extracted |\n\n**Observed authorization checks:** `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to view notification templates.."},{"title":"retrieve · GET","body":"**GET /api/{installed_plugin_prefix}/notification-templates/{external_id}/** — action `retrieve`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**response: NotificationTemplateReadSpec**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Observed authorization checks:** `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to view notification templates.; PermissionDenied: You do not have permission to view this notification template.."},{"title":"toggle_active · POST","body":"**POST /api/{installed_plugin_prefix}/notification-templates/{external_id}/toggle_active/** — action `toggle_active`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**decorator responses: NotificationTemplateReadSpec**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Observed authorization checks:** `can_manage_notification_template`, `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to manage this notification template.; PermissionDenied: You do not have permission to view notification templates.."},{"title":"sync · POST","body":"**POST /api/{installed_plugin_prefix}/notification-templates/sync/** — action `sync`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n\n**Observed authorization checks:** `can_manage_notification_template`, `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Explicit response statuses in observed code:** 202. Other branches/framework exception handling may differ.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to sync notification templates.; PermissionDenied: You do not have permission to view notification templates.."},{"title":"set_variable_mapping · POST","body":"**POST /api/{installed_plugin_prefix}/notification-templates/{external_id}/set_variable_mapping/** — action `set_variable_mapping`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\nDirectly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):\n\n| Location | Field | Declared/inferred read type | Requiredness evidence |\n| --- | --- | --- | --- |\n| body | `variable_mapping` | not declared at read site | not established |\n\n**decorator responses: NotificationTemplateReadSpec**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Observed authorization checks:** `can_manage_notification_template`, `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Explicit response statuses in observed code:** 400. Other branches/framework exception handling may differ.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to manage this notification template.; ValidationError: variable_mapping must be an object.; PermissionDenied: You do not have permission to view notification templates.."},{"title":"variable_schema · GET","body":"Browsable field schema for this template's variable_mapping, unioned across\nevery trigger that renders it. Empty groups when no trigger is linked yet.\n\n**GET /api/{installed_plugin_prefix}/notification-templates/{external_id}/schema/** — action `variable_schema`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**Observed authorization checks:** `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to view this notification template.; PermissionDenied: You do not have permission to view notification templates.."},{"title":"preview_variable_mapping · POST","body":"Renders an unsaved variable_mapping draft against a preview stub of the linked\ncontext, using the same resolve_variable() a real send uses.\n\n**POST /api/{installed_plugin_prefix}/notification-templates/{external_id}/preview_variable_mapping/** — action `preview_variable_mapping`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\nDirectly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):\n\n| Location | Field | Declared/inferred read type | Requiredness evidence |\n| --- | --- | --- | --- |\n| body | `variable_mapping` | not declared at read site | not established |\n\n**Observed authorization checks:** `can_manage_notification_template`, `can_read_notification_template`. Helper/queryset evidence is included; this is not proof of complete security review.\n\n**Declared refusal/error evidence:** PermissionDenied: You do not have permission to manage this notification template.; ValidationError: variable_mapping must be an object.; PermissionDenied: You do not have permission to view notification templates.."},{"title":"Integration review checklist","body":"Confirm the installed route and full schema; review authentication, organization/facility scoping, all accepted fields, value-state and date/time semantics, idempotency, pagination, response/exception branches and the allowed correction/reversal workflow. Test positive and negative cases with synthetic data. This source reference does not establish external certification or replace an illustrated user procedure."}],"troubleshooting":[{"problem":"A declared route is unavailable or a request is rejected","solution":"Compare the installed revision, actual API schema, optional plugin mount, HTTP-method restrictions and recorded validation/permission evidence. Do not bypass a refusal or send a production transaction to test documentation."}],"sources":[{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":103,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":168,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":107,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":161,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":330,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":158,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":83,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":118,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":325,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":77,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":128,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":143,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":158,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":185,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":203,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["backend-resource-543524d154a340b4","backend-resource-543524d154a340b4:GET:list","backend-resource-543524d154a340b4:GET:retrieve","backend-resource-543524d154a340b4:POST:toggle_active","backend-resource-543524d154a340b4:POST:sync","backend-resource-543524d154a340b4:POST:set_variable_mapping","backend-resource-543524d154a340b4:GET:variable_schema","backend-resource-543524d154a340b4:POST:preview_variable_mapping"]},"backend":{"resources":[{"id":"backend-resource-543524d154a340b4","localPrefix":"notification-templates","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","basename":"notification-templates","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"conditions":[],"repository":"repositories/platform/mansoq-im-wrapper","classSource":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":103,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","path":"/api/{installed_plugin_prefix}/notification-templates/","mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","operationIds":["backend-resource-543524d154a340b4:GET:list","backend-resource-543524d154a340b4:GET:retrieve","backend-resource-543524d154a340b4:POST:toggle_active","backend-resource-543524d154a340b4:POST:sync","backend-resource-543524d154a340b4:POST:set_variable_mapping","backend-resource-543524d154a340b4:GET:variable_schema","backend-resource-543524d154a340b4:POST:preview_variable_mapping"],"unresolvedViewset":false,"reviewStatus":"registered resource enumerated; behavioral review pending"}],"operations":[{"id":"backend-resource-543524d154a340b4:GET:list","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"GET","path":"/api/{installed_plugin_prefix}/notification-templates/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/","action":"list","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":false,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":168,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"declared/inherited method","methodEvidenceIds":["repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:168:list","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset","repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:161:serialize_list","repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:330:get_read_pydantic_model","repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:158:get_serializer_list_context"],"schemaIds":{"response":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec"},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-543524d154a340b4:GET:retrieve","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"GET","path":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/","action":"retrieve","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":83,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"declared/inherited method","methodEvidenceIds":["repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:83:retrieve","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:118:authorize_retrieve","repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:325:get_retrieve_pydantic_model","repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:77:get_serializer_retrieve_context","repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:330:get_read_pydantic_model"],"schemaIds":{"response":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec"},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-543524d154a340b4:POST:toggle_active","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"POST","path":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/toggle_active/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/toggle_active/","action":"toggle_active","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":128,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"@action declaration","methodEvidenceIds":["repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:128:toggle_active","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset"],"schemaIds":{"decorator responses":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec"},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-543524d154a340b4:POST:sync","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"POST","path":"/api/{installed_plugin_prefix}/notification-templates/sync/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/sync/","action":"sync","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":false,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":143,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"@action declaration","methodEvidenceIds":["repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:143:sync","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset"],"schemaIds":{},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-543524d154a340b4:POST:set_variable_mapping","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"POST","path":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/set_variable_mapping/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/set_variable_mapping/","action":"set_variable_mapping","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":158,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"@action declaration","methodEvidenceIds":["repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:158:set_variable_mapping","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset"],"schemaIds":{"decorator responses":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec"},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-543524d154a340b4:GET:variable_schema","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"GET","path":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/schema/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/schema/","action":"variable_schema","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":185,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"@action declaration","methodEvidenceIds":["repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:185:variable_schema","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset"],"schemaIds":{},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-543524d154a340b4:POST:preview_variable_mapping","resourceId":"backend-resource-543524d154a340b4","repository":"repositories/platform/mansoq-im-wrapper","boundary":"optional-plugin/local-service","method":"POST","path":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/preview_variable_mapping/","declaredPattern":"/api/{installed_plugin_prefix}/notification-templates/{external_id}/preview_variable_mapping/","action":"preview_variable_mapping","viewset":"NotificationTemplateViewSet","classId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":203,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"@action declaration","methodEvidenceIds":["repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:203:preview_variable_mapping","repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset"],"schemaIds":{},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/urls.py","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]}],"methodEvidence":[{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:168:list","name":"list","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRListMixin","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":168,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:107:get_queryset","name":"get_queryset","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":107,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[{"permission":"can_read_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":114,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to view notification templates.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":115,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:161:serialize_list","name":"serialize_list","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRListMixin","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":161,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[{"name":"obj","type":"unspecified","required":true,"source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":161,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:330:get_read_pydantic_model","name":"get_read_pydantic_model","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRBaseViewSet","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":330,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:158:get_serializer_list_context","name":"get_serializer_list_context","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRListMixin","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":158,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:83:retrieve","name":"retrieve","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRRetrieveMixin","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":83,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:118:authorize_retrieve","name":"authorize_retrieve","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":118,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[{"name":"instance","type":"unspecified","required":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":118,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"parametersRead":[],"permissionChecks":[{"permission":"can_read_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":119,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to view this notification template.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":120,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:325:get_retrieve_pydantic_model","name":"get_retrieve_pydantic_model","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRBaseViewSet","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":325,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py:77:get_serializer_retrieve_context","name":"get_serializer_retrieve_context","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.base.EMRRetrieveMixin","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/base.py","line":77,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:128:toggle_active","name":"toggle_active","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":128,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[{"permission":"can_manage_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":130,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to manage this notification template.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":131,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[],"conditions":[],"schemaIds":["repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec"],"schemaUsages":[{"purpose":"decorator responses","schemaId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":122,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:143:sync","name":"sync","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":143,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[{"permission":"can_manage_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":144,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to sync notification templates.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":145,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[{"value":202,"symbol":null,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":147,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:158:set_variable_mapping","name":"set_variable_mapping","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":158,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[{"name":"variable_mapping","in":"body","type":"not declared at read site","required":"not established","readStyle":"get","dynamicName":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":162,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"permissionChecks":[{"permission":"can_manage_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":160,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to manage this notification template.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":161,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"exception":"ValidationError","message":"variable_mapping must be an object.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":164,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[{"value":400,"symbol":null,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":168,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"conditions":[],"schemaIds":["repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec"],"schemaUsages":[{"purpose":"decorator responses","schemaId":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":149,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:185:variable_schema","name":"variable_schema","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"Browsable field schema for this template's variable_mapping, unioned across\nevery trigger that renders it. Empty groups when no trigger is linked yet.","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":185,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[{"permission":"can_read_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":189,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to view this notification template.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":190,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"},{"id":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py:203:preview_variable_mapping","name":"preview_variable_mapping","owner":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.viewsets.NotificationTemplateViewSet","summary":"Renders an unsaved variable_mapping draft against a preview stub of the linked\ncontext, using the same resolve_variable() a real send uses.","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":203,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[{"name":"variable_mapping","in":"body","type":"not declared at read site","required":"not established","readStyle":"get","dynamicName":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":209,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"permissionChecks":[{"permission":"can_manage_notification_template","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":207,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"declaredErrors":[{"exception":"PermissionDenied","message":"You do not have permission to manage this notification template.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":208,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"exception":"ValidationError","message":"variable_mapping must be an object.","dynamicMessage":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/viewsets.py","line":211,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"}],"schemas":[{"id":"repositories/platform/mansoq-im-wrapper:mansoq_im_wrapper.api.spec.NotificationTemplateReadSpec","name":"NotificationTemplateReadSpec","source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"kind":"Python declared schema/model evidence","fields":[{"name":"meta","type":"dict","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-core/mansoq/emr/resources/base.py","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"id","type":"UUID4 | None","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":20,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"name","type":"str","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":21,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"slug","type":"str","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"provider","type":"str","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":23,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"category","type":"str","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":24,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"approval_status","type":"str","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"is_active","type":"bool","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":26,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"language_code","type":"str | None","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"payload","type":"dict[str, Any] | None","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":28,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"variable_mapping","type":"dict[str, Any] | None","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":29,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"parameter_format","type":"str","required":true,"hasDefault":false,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"created_date","type":"datetime.datetime | None","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":32,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}},{"name":"modified_date","type":"datetime.datetime | None","required":false,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-im-wrapper/src/mansoq_im_wrapper/api/spec.py","line":33,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{}}],"validation":[],"baseTypes":["EMRResource"],"reviewStatus":"declared fields extracted; runtime validation review pending","referencedSchemaIds":[]}],"frameworkSettings":[{"name":"DEFAULT_AUTHENTICATION_CLASSES","value":["config.authentication.CustomJWTAuthentication","config.authentication.CustomBasicAuthentication","rest_framework.authentication.SessionAuthentication","rest_framework.authentication.TokenAuthentication"],"source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"},{"name":"DEFAULT_PERMISSION_CLASSES","value":["rest_framework.permissions.IsAuthenticated","mansoq.security.utils.permission_class.MansoqAuthentication"],"source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"},{"name":"DEFAULT_PAGINATION_CLASS","value":"mansoq.utils.pagination.mansoq_pagination.MansoqLimitOffsetPagination","source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"},{"name":"PAGE_SIZE","value":14,"source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"}]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[]},"boundaries":[]}