{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-service-mansoq-scanner-bridge-internal-server-server-go","title":"Server service route reference · mansoq-scanner-bridge","summary":"4 local server routes with handler/middleware identities, parameter and status evidence. Installation and complete authorization/validation review remain pending.","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":"Service-local route scope","body":"These 4 server route declarations are distinct from frontend API callers. Their paths are local to the router/application; deployment base, router mounts and installed middleware must be confirmed before constructing a full URL."},{"title":"Declared operations","body":"| Method | Local path | Handler/middleware identities |\n| --- | --- | --- |\n| ANY | `/ws` | s.handleWebSocket |\n| ANY | `/health` | s.handleHealth |\n| ANY | `/test-scan` | s.handleTestScan |\n| ANY | `/` | s.handleTestPage |"},{"title":"ANY /ws","body":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review. Go registration inventoried; no Go handler schema or behavioral review is claimed.\n\n**Handler/middleware:** `s.handleWebSocket`. Go lexical route declaration only; handler payload/authentication review pending."},{"title":"ANY /health","body":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review. Go registration inventoried; no Go handler schema or behavioral review is claimed.\n\n**Handler/middleware:** `s.handleHealth`. Go lexical route declaration only; handler payload/authentication review pending."},{"title":"ANY /test-scan","body":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review. Go registration inventoried; no Go handler schema or behavioral review is claimed.\n\n**Handler/middleware:** `s.handleTestScan`. Go lexical route declaration only; handler payload/authentication review pending."},{"title":"ANY /","body":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review. Go registration inventoried; no Go handler schema or behavioral review is claimed.\n\n**Handler/middleware:** `s.handleTestPage`. Go lexical route declaration only; handler payload/authentication review pending."}],"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-scanner-bridge/internal/server/server.go","line":78,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":79,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":80,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":81,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["go-service-operation-2f0df5108b5cacb331","go-service-operation-4c9c84cb20b6618bdf","go-service-operation-382e56d3e88355efb8","go-service-operation-a6d845b914bea3eb94"]},"backend":{"resources":[],"operations":[],"methodEvidence":[],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[{"id":"go-service-operation-2f0df5108b5cacb331","repository":"repositories/platform/mansoq-scanner-bridge","apiModule":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","method":"ANY","path":"/ws","resolution":"literal Go ServeMux registration","mountStatus":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review","handlers":[{"name":"s.handleWebSocket","source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":78,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signature":[],"requestFieldsRead":[],"explicitStatuses":[],"declaredErrors":[],"reviewStatus":"Go lexical route declaration only; handler payload/authentication review pending"}],"source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":78,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"pathParameters":[],"reviewStatus":"Go registration inventoried; no Go handler schema or behavioral review is claimed"},{"id":"go-service-operation-4c9c84cb20b6618bdf","repository":"repositories/platform/mansoq-scanner-bridge","apiModule":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","method":"ANY","path":"/health","resolution":"literal Go ServeMux registration","mountStatus":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review","handlers":[{"name":"s.handleHealth","source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":79,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signature":[],"requestFieldsRead":[],"explicitStatuses":[],"declaredErrors":[],"reviewStatus":"Go lexical route declaration only; handler payload/authentication review pending"}],"source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":79,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"pathParameters":[],"reviewStatus":"Go registration inventoried; no Go handler schema or behavioral review is claimed"},{"id":"go-service-operation-382e56d3e88355efb8","repository":"repositories/platform/mansoq-scanner-bridge","apiModule":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","method":"ANY","path":"/test-scan","resolution":"literal Go ServeMux registration","mountStatus":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review","handlers":[{"name":"s.handleTestScan","source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":80,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signature":[],"requestFieldsRead":[],"explicitStatuses":[],"declaredErrors":[],"reviewStatus":"Go lexical route declaration only; handler payload/authentication review pending"}],"source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":80,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"pathParameters":[],"reviewStatus":"Go registration inventoried; no Go handler schema or behavioral review is claimed"},{"id":"go-service-operation-a6d845b914bea3eb94","repository":"repositories/platform/mansoq-scanner-bridge","apiModule":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","method":"ANY","path":"/","resolution":"literal Go ServeMux registration","mountStatus":"bridge/service-local ServeMux declaration; listener, method guards and deployment base require review","handlers":[{"name":"s.handleTestPage","source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":81,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signature":[],"requestFieldsRead":[],"explicitStatuses":[],"declaredErrors":[],"reviewStatus":"Go lexical route declaration only; handler payload/authentication review pending"}],"source":{"path":"repositories/platform/mansoq-scanner-bridge/internal/server/server.go","line":81,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"pathParameters":[],"reviewStatus":"Go registration inventoried; no Go handler schema or behavioral review is claimed"}]},"boundaries":[]}