{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-mansoq-onvif-console-history-delete-f3629483","title":"History Delete API reference · mansoq-onvif-console","summary":"Static source contract for History Delete: 1 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":3,"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-onvif-console** at `/api/history/{run_id}`. service-local decorator; application/router mount prefix and deployment base require 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| DELETE | `/api/history/{run_id}` | history_delete | service HTTP decorator |"},{"title":"history_delete · DELETE","body":"**DELETE /api/history/{run_id}** — action `history_delete`. static function declaration extracted; request/runtime review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| path | run_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Declared refusal/error evidence:** HTTPException (dynamic detail; inspect source)."},{"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/teleicu/mansoq-onvif-console/backend/server.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":218,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["backend-service-6f55b788f3629483","backend-service-6f55b788f3629483:DELETE:history_delete"]},"backend":{"resources":[{"id":"backend-service-6f55b788f3629483","declaredPath":"/api/history/{run_id}","dynamicPath":false,"source":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"conditions":[],"kind":"service-decorator","view":"history_delete","classId":"repositories/teleicu/mansoq-onvif-console:server.history_delete","handlerOwner":null,"handlerName":"history_delete","actionMapping":null,"httpMethods":["DELETE"],"serviceLocal":true,"decoratorPolicy":{},"explicitDecoratorStatus":null,"decoratorResponseSchema":null,"operationIds":["backend-service-6f55b788f3629483:DELETE:history_delete"],"path":"/api/history/{run_id}","mountStatus":"service-local decorator; application/router mount prefix and deployment base require verification","reviewStatus":"direct route enumerated; behavioral review pending"}],"operations":[{"id":"backend-service-6f55b788f3629483:DELETE:history_delete","resourceId":"backend-service-6f55b788f3629483","repository":"repositories/teleicu/mansoq-onvif-console","boundary":"optional-plugin/local-service","method":"DELETE","path":"/api/history/{run_id}","declaredPattern":"/api/history/{run_id}","action":"history_delete","viewset":"history_delete","classId":"repositories/teleicu/mansoq-onvif-console:server.history_delete","detail":null,"mountStatus":"service-local decorator; application/router mount prefix and deployment base require verification","routeEvidence":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":218,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"service HTTP decorator","decoratorStatus":null,"decoratorPolicy":{},"methodEvidenceIds":["repositories/teleicu/mansoq-onvif-console/backend/server.py:218:history_delete"],"schemaIds":{},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static function declaration extracted; request/runtime review pending","pathParameters":[{"name":"run_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]}],"methodEvidence":[{"id":"repositories/teleicu/mansoq-onvif-console/backend/server.py:218:history_delete","name":"history_delete","owner":"repositories/teleicu/mansoq-onvif-console:server.history_delete","summary":"","source":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":218,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[{"name":"run_id","type":"str","required":true,"source":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":218,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"parametersRead":[],"permissionChecks":[],"declaredErrors":[{"exception":"HTTPException","message":null,"dynamicMessage":false,"source":{"path":"repositories/teleicu/mansoq-onvif-console/backend/server.py","line":220,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"}],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[]},"boundaries":[]}