{"openapi":"3.1.0","info":{"title":"VulnScan Report","version":"3.0"},"paths":{"/portal/login":{"get":{"summary":"Login Page","operationId":"login_page_portal_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Login Submit","operationId":"login_submit_portal_login_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Login Page","operationId":"login_page_portal_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/otp":{"get":{"summary":"Otp Page","operationId":"otp_page_portal_otp_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Otp Submit","operationId":"otp_submit_portal_otp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Otp Page","operationId":"otp_page_portal_otp_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/otp/resend":{"post":{"summary":"Otp Resend","operationId":"otp_resend_portal_otp_resend_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/logout":{"post":{"summary":"Logout","operationId":"logout_portal_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/password":{"get":{"summary":"Password Page","operationId":"password_page_portal_password_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Password Submit","operationId":"password_submit_portal_password_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Password Page","operationId":"password_page_portal_password_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/accept":{"get":{"summary":"Accept Page","operationId":"accept_page_portal_accept_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Accept Submit","operationId":"accept_submit_portal_accept_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Accept Page","operationId":"accept_page_portal_accept_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/forgot":{"get":{"summary":"Forgot Page","operationId":"forgot_page_portal_forgot_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Forgot Submit","operationId":"forgot_submit_portal_forgot_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Forgot Page","operationId":"forgot_page_portal_forgot_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/reset":{"get":{"summary":"Reset Page","operationId":"reset_page_portal_reset_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Reset Submit","operationId":"reset_submit_portal_reset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Reset Page","operationId":"reset_page_portal_reset_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/history/{ledger_id}/rescan":{"post":{"summary":"Admin Rescan","operationId":"admin_rescan_admin_history__ledger_id__rescan_post","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/sites/add":{"get":{"summary":"Portal Site Add","operationId":"portal_site_add_portal_sites_add_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Portal Site Add Submit","operationId":"portal_site_add_submit_portal_sites_add_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Portal Site Add","operationId":"portal_site_add_portal_sites_add_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/sites/add/form":{"get":{"summary":"Portal Site Add Form","operationId":"portal_site_add_form_portal_sites_add_form_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Portal Site Add Form Submit","operationId":"portal_site_add_form_submit_portal_sites_add_form_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Portal Site Add Form","operationId":"portal_site_add_form_portal_sites_add_form_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/sites/add/done":{"get":{"summary":"Portal Site Add Done","operationId":"portal_site_add_done_portal_sites_add_done_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Site Add Done","operationId":"portal_site_add_done_portal_sites_add_done_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/sites/new":{"get":{"summary":"Site New","operationId":"site_new_portal_sites_new_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Site New","operationId":"site_new_portal_sites_new_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/sites":{"post":{"summary":"Site Create","operationId":"site_create_portal_sites_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/sites/{site_id}":{"get":{"summary":"Site Detail","operationId":"site_detail_portal_sites__site_id__get","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Site Detail","operationId":"site_detail_portal_sites__site_id__get","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/sites/{site_id}/verify":{"post":{"summary":"Site Verify","operationId":"site_verify_portal_sites__site_id__verify_post","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/sites/{site_id}/active-scan":{"post":{"summary":"Site Active Scan","description":"能動診断の同意／撤回（お客様自身・約款 第9条第2項・第8項）。","operationId":"site_active_scan_portal_sites__site_id__active_scan_post","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin":{"get":{"summary":"Admin Home","operationId":"admin_home_admin_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin Home","operationId":"admin_home_admin_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/scan":{"get":{"summary":"Admin Scan Page","operationId":"admin_scan_page_admin_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin Scan Page","operationId":"admin_scan_page_admin_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/scan/confirm":{"post":{"summary":"Admin Scan Confirm","operationId":"admin_scan_confirm_admin_scan_confirm_post","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/scan/run":{"post":{"summary":"Admin Scan Run","operationId":"admin_scan_run_admin_scan_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/scan/bulk":{"get":{"summary":"Admin Bulk Form","operationId":"admin_bulk_form_admin_scan_bulk_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Admin Bulk Upload","operationId":"admin_bulk_upload_admin_scan_bulk_post","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin Bulk Form","operationId":"admin_bulk_form_admin_scan_bulk_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/scan/bulk/template.xlsx":{"get":{"summary":"Admin Bulk Template","operationId":"admin_bulk_template_admin_scan_bulk_template_xlsx_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Admin Bulk Template","operationId":"admin_bulk_template_admin_scan_bulk_template_xlsx_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/scan/bulk/run":{"post":{"summary":"Admin Bulk Run","operationId":"admin_bulk_run_admin_scan_bulk_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/history/export.xlsx":{"get":{"summary":"Admin History Export","operationId":"admin_history_export_admin_history_export_xlsx_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Admin History Export","operationId":"admin_history_export_admin_history_export_xlsx_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/history/{ledger_id}":{"get":{"summary":"Admin History Detail","description":"診断の状態/結果（状態＋キュー情報＋モジュール時刻＋成果物DL＋再診断＋子診断）。","operationId":"admin_history_detail_admin_history__ledger_id__get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin History Detail","description":"診断の状態/結果（状態＋キュー情報＋モジュール時刻＋成果物DL＋再診断＋子診断）。","operationId":"admin_history_detail_admin_history__ledger_id__get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history":{"get":{"summary":"Admin History Page","operationId":"admin_history_page_admin_history_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin History Page","operationId":"admin_history_page_admin_history_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/history/{ledger_id}/download/{kind}":{"get":{"summary":"Admin Download","operationId":"admin_download_admin_history__ledger_id__download__kind__get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Download","operationId":"admin_download_admin_history__ledger_id__download__kind__get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/consent":{"get":{"summary":"Admin Consent Download","operationId":"admin_consent_download_admin_history__ledger_id__consent_get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Consent Download","operationId":"admin_consent_download_admin_history__ledger_id__consent_get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/free.pdf":{"get":{"summary":"Admin Free Report","description":"無料診断（passive）の結果から無料診断レポートPDFをその場で生成して配信。\n台帳 result_json(build_free_data) を恒久ソースに使う＝公開トークンの24h揮発に依存しない。","operationId":"admin_free_report_admin_history__ledger_id__free_pdf_get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Free Report","description":"無料診断（passive）の結果から無料診断レポートPDFをその場で生成して配信。\n台帳 result_json(build_free_data) を恒久ソースに使う＝公開トークンの24h揮発に依存しない。","operationId":"admin_free_report_admin_history__ledger_id__free_pdf_get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/aio.pdf":{"get":{"summary":"Admin Aio Report","description":"内部用 全部入りレポート（全情報・社外秘）をその場で生成して配信（管理者スキャンのみ）。","operationId":"admin_aio_report_admin_history__ledger_id__aio_pdf_get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Aio Report","description":"内部用 全部入りレポート（全情報・社外秘）をその場で生成して配信（管理者スキャンのみ）。","operationId":"admin_aio_report_admin_history__ledger_id__aio_pdf_get","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/recon":{"post":{"summary":"Admin History Recon","description":"対象情報（IP・所有者／RDAP→WHOIS）を強制再取得（KVキャッシュ破棄→再照会）。","operationId":"admin_history_recon_admin_history__ledger_id__recon_post","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/delete":{"post":{"summary":"Admin History Delete","operationId":"admin_history_delete_admin_history__ledger_id__delete_post","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/triage/{scan_id}":{"get":{"summary":"Admin Triage","operationId":"admin_triage_admin_triage__scan_id__get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Triage","operationId":"admin_triage_admin_triage__scan_id__get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/finding/{finding_id}":{"get":{"summary":"Admin Finding Detail","operationId":"admin_finding_detail_admin_finding__finding_id__get","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Finding Detail","operationId":"admin_finding_detail_admin_finding__finding_id__get","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/finding/{finding_id}/verdict":{"post":{"summary":"Admin Finding Verdict","operationId":"admin_finding_verdict_admin_finding__finding_id__verdict_post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/finding/{finding_id}/edit":{"post":{"summary":"Admin Finding Edit","operationId":"admin_finding_edit_admin_finding__finding_id__edit_post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/finding/{finding_id}/evidence":{"post":{"summary":"Admin Finding Evidence","operationId":"admin_finding_evidence_admin_finding__finding_id__evidence_post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/finding/{finding_id}/note":{"post":{"summary":"Admin Finding Note","description":"所見の管理者メモ（編集理由等）。edited は立てない・顧客レポート非出力。","operationId":"admin_finding_note_admin_finding__finding_id__note_post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/note":{"post":{"summary":"Admin Ledger Note","description":"診断単位の管理者メモ（対象固有・予定変更/CDN等）。一覧・詳細どちらからも保存可。レポート非出力。","operationId":"admin_ledger_note_admin_history__ledger_id__note_post","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/history/{ledger_id}/overall":{"post":{"summary":"Admin Ledger Overall","description":"公式レポートの総評(overall)を編集→詳細PDF/xlsx を再生成（管理者スキャンのみ）。","operationId":"admin_ledger_overall_admin_history__ledger_id__overall_post","parameters":[{"name":"ledger_id","in":"path","required":true,"schema":{"type":"integer","title":"Ledger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/triage/{scan_id}/apply-llm":{"post":{"summary":"Admin Triage Apply Llm","operationId":"admin_triage_apply_llm_admin_triage__scan_id__apply_llm_post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/triage/{scan_id}/bulk-true":{"post":{"summary":"Admin Triage Bulk True","description":"未判定（非抑制）の所見をまとめて「真」に確定する。判定済み・抑制済みには触れない。","operationId":"admin_triage_bulk_true_admin_triage__scan_id__bulk_true_post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/triage/{scan_id}/report-no":{"post":{"summary":"Admin Triage Report No","description":"レポートNo（system_id・整理番号の中間部）の付け替え→詳細PDF/xlsx 再生成。","operationId":"admin_triage_report_no_admin_triage__scan_id__report_no_post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/triage/{scan_id}/nessus":{"post":{"summary":"Admin Triage Nessus","operationId":"admin_triage_nessus_admin_triage__scan_id__nessus_post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/triage/{scan_id}/regenerate":{"post":{"summary":"Admin Triage Regenerate","operationId":"admin_triage_regenerate_admin_triage__scan_id__regenerate_post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/queue":{"get":{"summary":"Admin Queue Page","operationId":"admin_queue_page_admin_queue_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin Queue Page","operationId":"admin_queue_page_admin_queue_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/maintenance":{"get":{"summary":"Admin Maintenance","operationId":"admin_maintenance_admin_maintenance_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin Maintenance","operationId":"admin_maintenance_admin_maintenance_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/maintenance/purge":{"post":{"summary":"Admin Maintenance Purge","operationId":"admin_maintenance_purge_admin_maintenance_purge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/audit":{"get":{"summary":"Admin System Audit","operationId":"admin_system_audit_admin_audit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Admin System Audit","operationId":"admin_system_audit_admin_audit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/system":{"get":{"summary":"Ops System Edge","description":"エッジ設定の現況（Cloudflare ゾーン設定の監査）。**読取のみ・書込経路を持たない**。\n\nCLI（`scripts/cf_zone_baseline.py --audit`）と同じ `cf_audit.audit_zone` を呼ぶ＝\n画面と CLI で判定がズレない。CF API を叩くため既定では実行せず、明示操作（?run=1）でのみ\n取得する（ページを開くたびに外部APIへ往復しない）。設定の**変更**は画面からは行わない\n（適用は運用者がスクリプトで実施＝破壊半径を絞る）。カードの描画は `_edge_*_card`（純関数）。","operationId":"ops_system_edge_ops_system_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops System Edge","description":"エッジ設定の現況（Cloudflare ゾーン設定の監査）。**読取のみ・書込経路を持たない**。\n\nCLI（`scripts/cf_zone_baseline.py --audit`）と同じ `cf_audit.audit_zone` を呼ぶ＝\n画面と CLI で判定がズレない。CF API を叩くため既定では実行せず、明示操作（?run=1）でのみ\n取得する（ページを開くたびに外部APIへ往復しない）。設定の**変更**は画面からは行わない\n（適用は運用者がスクリプトで実施＝破壊半径を絞る）。カードの描画は `_edge_*_card`（純関数）。","operationId":"ops_system_edge_ops_system_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops":{"get":{"summary":"Ops Home","description":"運用者トップ（旧トリアージキュー）は自動修復（契約ドメイン一覧）へ移設。\n\nトリアージは各契約ドメイン配下（/ops/autofix/{ps}/triage）に分割したため、/ops は自動修復\n一覧へ 303 リダイレクトする（既存ブックマーク・各ガードの \"/ops\" 誘導との互換を保つ）。","operationId":"ops_home_ops_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Home","description":"運用者トップ（旧トリアージキュー）は自動修復（契約ドメイン一覧）へ移設。\n\nトリアージは各契約ドメイン配下（/ops/autofix/{ps}/triage）に分割したため、/ops は自動修復\n一覧へ 303 リダイレクトする（既存ブックマーク・各ガードの \"/ops\" 誘導との互換を保つ）。","operationId":"ops_home_ops_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/accounts":{"get":{"summary":"Ops Accounts","operationId":"ops_accounts_ops_accounts_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Ops Issue","operationId":"ops_issue_ops_accounts_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Ops Accounts","operationId":"ops_accounts_ops_accounts_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/signup/agent-code/{pid}":{"post":{"summary":"Ops Partner Code Rotate","operationId":"ops_partner_code_rotate_ops_signup_agent_code__pid__post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"integer","title":"Pid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/signup/codes":{"post":{"summary":"Ops Signup Code Issue","operationId":"ops_signup_code_issue_ops_signup_codes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/signup/codes/{code_id}/revoke":{"post":{"summary":"Ops Signup Code Revoke","operationId":"ops_signup_code_revoke_ops_signup_codes__code_id__revoke_post","parameters":[{"name":"code_id","in":"path","required":true,"schema":{"type":"integer","title":"Code Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/signup/fixed/rotate":{"post":{"summary":"Ops Signup Fixed Rotate","operationId":"ops_signup_fixed_rotate_ops_signup_fixed_rotate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/accounts/{customer_id}":{"get":{"summary":"Ops Account Detail","operationId":"ops_account_detail_ops_accounts__customer_id__get","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Account Detail","operationId":"ops_account_detail_ops_accounts__customer_id__get","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/accounts/{customer_id}/contracts":{"post":{"summary":"Ops Account Add Contract","operationId":"ops_account_add_contract_ops_accounts__customer_id__contracts_post","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/accounts/{customer_id}/reinvite":{"post":{"summary":"Ops Reinvite","operationId":"ops_reinvite_ops_accounts__customer_id__reinvite_post","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/findings/{finding_id}/verdict":{"post":{"summary":"Ops Verdict","operationId":"ops_verdict_ops_findings__finding_id__verdict_post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/findings/{finding_id}":{"get":{"summary":"Ops Finding Detail","description":"所見の詳細（xlsx 1行を展開した体裁＝脆弱性名/危険度/該当/CVE/問題/改善方法/参考/整理番号/\nLLM判定理由）。トリアージキューの title だけでは判定できないため遷移先として用意。","operationId":"ops_finding_detail_ops_findings__finding_id__get","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Finding Detail","description":"所見の詳細（xlsx 1行を展開した体裁＝脆弱性名/危険度/該当/CVE/問題/改善方法/参考/整理番号/\nLLM判定理由）。トリアージキューの title だけでは判定できないため遷移先として用意。","operationId":"ops_finding_detail_ops_findings__finding_id__get","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","title":"Finding Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/mode":{"post":{"summary":"Ops Mode","description":"運用モード切替（auto_triage＝トリアージの自動確定・既定オン）。旧 auto_notify（顧客への\n都度通知）は廃止＝月次の証跡レポート発行通知に一本化。","operationId":"ops_mode_ops_mode_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/sites/{site_id}/active-scan":{"post":{"summary":"Ops Site Active Scan","description":"能動診断の同意（代理登録／取消）と未認証 POST の可否を運用者が設定（§4/§5）。","operationId":"ops_site_active_scan_ops_sites__site_id__active_scan_post","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/sites/{site_id}/scan-day":{"post":{"summary":"Ops Site Scan Day","description":"監視サイトの実施日を変更（1〜28・監査 site.scan_day_changed）。","operationId":"ops_site_scan_day_ops_sites__site_id__scan_day_post","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/feeds":{"get":{"summary":"Ops Feeds","operationId":"ops_feeds_ops_feeds_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Feeds","operationId":"ops_feeds_ops_feeds_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/feeds/update":{"post":{"summary":"Ops Feeds Update","operationId":"ops_feeds_update_ops_feeds_update_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/feeds/update-wordfence":{"post":{"summary":"Ops Feeds Update Wordfence","operationId":"ops_feeds_update_wordfence_ops_feeds_update_wordfence_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/audit":{"get":{"summary":"Ops Audit","operationId":"ops_audit_ops_audit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Audit","operationId":"ops_audit_ops_audit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/inquiries":{"get":{"summary":"Portal Inquiries","operationId":"portal_inquiries_portal_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Portal Inquiry Create","operationId":"portal_inquiry_create_portal_inquiries_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Portal Inquiries","operationId":"portal_inquiries_portal_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/inquiries/{iid}":{"get":{"summary":"Portal Inquiry Detail","operationId":"portal_inquiry_detail_portal_inquiries__iid__get","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Inquiry Detail","operationId":"portal_inquiry_detail_portal_inquiries__iid__get","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/inquiries/{iid}/reply":{"post":{"summary":"Portal Inquiry Reply","operationId":"portal_inquiry_reply_portal_inquiries__iid__reply_post","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/inquiries":{"get":{"summary":"Ops Inquiries","operationId":"ops_inquiries_ops_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Inquiries","operationId":"ops_inquiries_ops_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/inquiries/{iid}":{"get":{"summary":"Ops Inquiry Detail","operationId":"ops_inquiry_detail_ops_inquiries__iid__get","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Inquiry Detail","operationId":"ops_inquiry_detail_ops_inquiries__iid__get","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/inquiries/{iid}/reply":{"post":{"summary":"Ops Inquiry Reply","operationId":"ops_inquiry_reply_ops_inquiries__iid__reply_post","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/inquiries/{iid}/status":{"post":{"summary":"Ops Inquiry Status","operationId":"ops_inquiry_status_ops_inquiries__iid__status_post","parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"integer","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/help":{"get":{"summary":"Portal Help","operationId":"portal_help_portal_help_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Help","operationId":"portal_help_portal_help_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/help":{"get":{"summary":"Ops Help","operationId":"ops_help_ops_help_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Help","operationId":"ops_help_ops_help_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/autofix/{ps_id}/initial-policy":{"post":{"summary":"Ops Autofix Initial Policy","description":"初期ポリシーを配布する（④）：published が 0 件のサイトを「転送のみ」の世代で埋める。\n\n2026-08-28 に秘密ヘッダを既定配信へ変えたため、運用者が押すべきは「秘密ヘッダを配布する」\nではなく「KV にポリシーを載せる」の1つになった（載れば `build_kv_policy` が秘密ヘッダを\n無条件に同梱する）。収容が成功していれば `ensure_passthrough_policy` が自動で済ませている\n＝このボタンは配布に失敗した異常時の復旧導線。下書きが残っていればそれを配布する\n（素通しポリシーで運用者の下書きを潰さない）。","operationId":"ops_autofix_initial_policy_ops_autofix__ps_id__initial_policy_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/origin-check":{"post":{"summary":"Ops Autofix Origin Check","description":"オリジン保護の手動再チェック（追補 §3）。GET 1本・非破壊。","operationId":"ops_autofix_origin_check_ops_autofix__ps_id__origin_check_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/uptime-check":{"post":{"summary":"Ops Autofix Uptime Check","description":"サーバの応答の手動確認（2026-10-28）。GET 1 本・記録と状態遷移は周期実行と同じ。60 秒の連打抑止。","operationId":"ops_autofix_uptime_check_ops_autofix__ps_id__uptime_check_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/uptime-path":{"post":{"summary":"Ops Autofix Uptime Path","description":"確認するパスの変更（空＝このサイトは確認しない）。パス以外（スキーム・ホスト）は受け付けない。","operationId":"ops_autofix_uptime_path_ops_autofix__ps_id__uptime_path_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/report":{"post":{"summary":"Ops Autofix Report","description":"証跡レポートの手動生成（§4.2）。年月を指定しなければ当月。","operationId":"ops_autofix_report_ops_autofix__ps_id__report_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix":{"get":{"summary":"Ops Autofix","operationId":"ops_autofix_ops_autofix_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Autofix","operationId":"ops_autofix_ops_autofix_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/autofix/onboard":{"post":{"summary":"Ops Autofix Onboard","operationId":"ops_autofix_onboard_ops_autofix_onboard_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/autofix/{ps_id}/origin-check":{"post":{"summary":"Portal Autofix Origin Check","description":"顧客による手動再チェック（2026-08-27）。GET 1本・非破壊＝ops 版と同じ計測関数を使う。\n\n顧客がテンプレートを適用しても、週1回の外形計測か運用者の操作まで結果が変わらなかった。\n連打はオリジンへの外向き GET を増やすので `origin_check_at` だけでクールダウンする。","operationId":"portal_autofix_origin_check_portal_autofix__ps_id__origin_check_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}":{"get":{"summary":"Ops Autofix Detail","operationId":"ops_autofix_detail_ops_autofix__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Autofix Detail","operationId":"ops_autofix_detail_ops_autofix__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/ladder-draft":{"post":{"summary":"Ops Autofix Ladder Draft","description":"強度ラダーの1段ぶんを動かした**下書き**を作る（§B-5）。**配布はしない**。","operationId":"ops_autofix_ladder_draft_ops_autofix__ps_id__ladder_draft_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/policy-draft":{"post":{"summary":"Ops Autofix Policy Draft","description":"検知（真確定の所見）からポリシー下書きを作り直す（③）。**配布はしない**。\n\n通常はスキャン完了フックが自動で作る。ここは再スキャンを待たずに作り直すための手動口。","operationId":"ops_autofix_policy_draft_ops_autofix__ps_id__policy_draft_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/login-paths":{"post":{"summary":"Ops Autofix Login Paths","description":"ログイン API のパスを保存する（運用者専用・2026-09-04）。**CF には書かない**。\n\n保存先は `protected_site.login_paths`。ゾーン共通レート制限への反映は\n`scripts/cf_zone_baseline.py --apply`（運用者）＝1 顧客の入力で全顧客の式が変わる操作に\n人の確認を挟むため、ここでは自動適用しない（カード末尾の注記と対）。","operationId":"ops_autofix_login_paths_ops_autofix__ps_id__login_paths_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/agent":{"post":{"summary":"Ops Autofix Agent","description":"検知エージェントのトークン発行・再発行・失効（運用者専用・プロのみ）。\n\n平文は**この応答のフラッシュに1回だけ**出す（DB にはハッシュしか無い＝再表示できない）。\n監査ログには平文を書かない（トークンの発行という事実だけ残す）。","operationId":"ops_autofix_agent_ops_autofix__ps_id__agent_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/app-token":{"post":{"summary":"Ops Autofix App Token","description":"アプリ通信の保護：対象パスの保存・トークンの再発行・切替完了（運用者専用・プロのみ）。\n\n設定は policy 本文へ書き、そのまま配布する（世代管理・ロールバックに乗せる）。\n対象パスが空なら `app_token` ごと外す＝サイト全体の除外は作らない。","operationId":"ops_autofix_app_token_ops_autofix__ps_id__app_token_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/tunnel":{"post":{"summary":"Ops Autofix Tunnel","description":"トンネルの作成・切替・戻し・削除・外形確認（運用者専用・プロのみ・`TUNNEL_ENABLED`）。","operationId":"ops_autofix_tunnel_ops_autofix__ps_id__tunnel_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/authed-scan":{"post":{"summary":"Ops Autofix Authed Scan","description":"今回の月次で認証を使わない／再び使う（運用者専用）。顧客側の設定は消さない。","operationId":"ops_autofix_authed_scan_ops_autofix__ps_id__authed_scan_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/api-schema":{"post":{"summary":"Ops Autofix Api Schema","description":"スキーマの CF 登録・適用・停止（運用者専用・プロのみ・`API_SCHEMA_ENABLED`）。","operationId":"ops_autofix_api_schema_ops_autofix__ps_id__api_schema_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/custom-rules":{"post":{"summary":"Ops Autofix Custom Rules","description":"カスタム防御ルールの追加・有効化・削除・「無効化して即時配布」（運用者専用・プロのみ）。\n\n追加/有効化/削除は**下書き**を作るだけ（配布は既存の配布ボタン）。`rollback`\n（無効化して即時配布）だけは 1 POST で下書き＋配布まで行う＝誤遮断の切り戻し。","operationId":"ops_autofix_custom_rules_ops_autofix__ps_id__custom_rules_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/cookie-httponly":{"post":{"summary":"Ops Autofix Cookie Httponly","description":"HttpOnly を付ける Cookie 名を更新して新世代を配布する（運用者専用・2026-09-04）。\n\nチェックされた名前＋自由入力欄が**そのまま**新しい `cookies.httponly` になる\n（チェックを外した名前は外れる＝削除の唯一の口）。現行 published を土台に、\n`cookies.httponly` だけを差し替えて新世代を作り、`policy-raw` と同じ経路で配布する。","operationId":"ops_autofix_cookie_httponly_ops_autofix__ps_id__cookie_httponly_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/policy-raw":{"post":{"summary":"Ops Autofix Policy Raw","description":"生ポリシーJSONを直接編集して下書き保存（任意で即配布）＝項目④の上級編集経路。\n\nvalidate_policy（許可キーのみ・default-deny）を通す。モードは本文の `mode` を明示値として尊重し、\n未指定なら recommended_mode（＝enforce）。\npublish=1 なら保存直後に KV へ配布（既存 publish_policy を再利用）。","operationId":"ops_autofix_policy_raw_ops_autofix__ps_id__policy_raw_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/triage":{"get":{"summary":"Ops Autofix Triage","description":"契約ドメイン（protected_site）単位の脆弱性トリアージ＋手動再スキャン画面（項目②③）。\n\n当該ドメインの器サイト（protected_site.site_id）の最新監視スキャンの未判定所見を表示し、\n「真/誤検知」の確定・顧客通知・その場での再スキャンを行う。実行中は自動更新で進捗を反映。","operationId":"ops_autofix_triage_ops_autofix__ps_id__triage_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Autofix Triage","description":"契約ドメイン（protected_site）単位の脆弱性トリアージ＋手動再スキャン画面（項目②③）。\n\n当該ドメインの器サイト（protected_site.site_id）の最新監視スキャンの未判定所見を表示し、\n「真/誤検知」の確定・顧客通知・その場での再スキャンを行う。実行中は自動更新で進捗を反映。","operationId":"ops_autofix_triage_ops_autofix__ps_id__triage_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/rescan":{"post":{"summary":"Ops Autofix Rescan","description":"契約ドメインの器サイトを手動で再スキャン（非同期エンキュー）。完了後トリアージへ反映。","operationId":"ops_autofix_rescan_ops_autofix__ps_id__rescan_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/waf-propose":{"post":{"summary":"Ops Autofix Waf Propose","description":"連携スキャン所見から WAF 候補ルールを LLM 起案（**自動適用しない**＝候補作成のみ）。","operationId":"ops_autofix_waf_propose_ops_autofix__ps_id__waf_propose_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/waf-proposal/{pid}/decide":{"post":{"summary":"Ops Autofix Waf Decide","description":"WAF 候補を承認（即適用）／却下（撤去）する。適用可否は人間判断＝この操作でのみ反映。","operationId":"ops_autofix_waf_decide_ops_autofix__ps_id__waf_proposal__pid__decide_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}},{"name":"pid","in":"path","required":true,"schema":{"type":"integer","title":"Pid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/apply-proposals":{"post":{"summary":"Ops Autofix Apply Proposals","description":"「選択した候補を適用して enforce」（項目I）：承認/却下→新世代作成→KV配布→enforce の1操作。\n\n4手順は FX.apply_block_proposals が1トランザクション相当で実行（配布失敗時は rollout を\n上げず候補の状態も戻す）。オリジン側の直アクセス遮断が未確認（外形計測が protected でない）\n契約ドメインでは「オリジン直アクセスでは到達可能」と警告する（項目J＝遮断は根本対処ではない）。","operationId":"ops_autofix_apply_proposals_ops_autofix__ps_id__apply_proposals_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/rollout":{"post":{"summary":"Ops Autofix Rollout","operationId":"ops_autofix_rollout_ops_autofix__ps_id__rollout_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/kvrollback":{"post":{"summary":"Ops Autofix Kvrollback","operationId":"ops_autofix_kvrollback_ops_autofix__ps_id__kvrollback_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/reonboard":{"post":{"summary":"Ops Autofix Reonboard","operationId":"ops_autofix_reonboard_ops_autofix__ps_id__reonboard_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/refresh":{"post":{"summary":"Ops Autofix Refresh","operationId":"ops_autofix_refresh_ops_autofix__ps_id__refresh_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/offboard":{"post":{"summary":"Ops Autofix Offboard","operationId":"ops_autofix_offboard_ops_autofix__ps_id__offboard_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/rotate-secret":{"post":{"summary":"Ops Autofix Rotate Secret","operationId":"ops_autofix_rotate_secret_ops_autofix__ps_id__rotate_secret_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/edge/block-report":{"post":{"summary":"Api Edge Block Report","description":"Worker からの遮断/観測レポート受け口（blockReportUrl・安全ガード「遮断発生の記録」）。\n\n「なぜか 404」を追跡できるよう edge_event kind='block' に残す。公開エンドポイントのため\nbest-effort・常に 204（収容ホストの存在を漏らさない）。本文は 4KB 上限・詳細は切り詰め。","operationId":"api_edge_block_report_api_edge_block_report_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/autofix/csp-report":{"post":{"summary":"Api Autofix Csp Report","description":"Worker が中継した CSP 違反レポートの受け口（§B-2-1・`csp_report_enabled` ゲート）。\n\n`block-report` と同じ流儀：公開エンドポイント・best-effort・**常に 204**（収容ホストの\n存在も保存の成否も漏らさない）。本文は 8KB 上限。保存するのはディレクティブ・遮断先の\nホスト・ページの先頭セグメントだけで、送信元IP・UA・クエリは保存しない。","operationId":"api_autofix_csp_report_api_autofix_csp_report_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/zone":{"get":{"summary":"Portal Zone","operationId":"portal_zone_portal_zone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Zone","operationId":"portal_zone_portal_zone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/autofix":{"get":{"summary":"Portal Autofix","operationId":"portal_autofix_portal_autofix_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Autofix","operationId":"portal_autofix_portal_autofix_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/tamper":{"get":{"summary":"Portal Tamper List","operationId":"portal_tamper_list_portal_tamper_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Tamper List","operationId":"portal_tamper_list_portal_tamper_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/autofix/{ps_id}/tamper":{"get":{"summary":"Ops Tamper","description":"検知履歴・実行実績・承認（ベースライン更新）。","operationId":"ops_tamper_ops_autofix__ps_id__tamper_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Tamper","description":"検知履歴・実行実績・承認（ベースライン更新）。","operationId":"ops_tamper_ops_autofix__ps_id__tamper_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/tamper/{event_id}/approve":{"post":{"summary":"Ops Tamper Approve","operationId":"ops_tamper_approve_ops_autofix__ps_id__tamper__event_id__approve_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}},{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agent/download":{"get":{"summary":"Portal Agent Download","description":"配布物のダウンロード（ログイン必須）。無ければ 404。","operationId":"portal_agent_download_portal_agent_download_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Portal Agent Download","description":"配布物のダウンロード（ログイン必須）。無ければ 404。","operationId":"portal_agent_download_portal_agent_download_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/agent/{ps_id}":{"get":{"summary":"Portal Agent Redirect","description":"旧 URL（通知メール等のリンク互換）→ プロの保護ハブの該当ページへ 302（2026-09-07）。","operationId":"portal_agent_redirect_portal_agent__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Agent Redirect","description":"旧 URL（通知メール等のリンク互換）→ プロの保護ハブの該当ページへ 302（2026-09-07）。","operationId":"portal_agent_redirect_portal_agent__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/tamper/{event_id}":{"get":{"summary":"Portal Tamper Detail","description":"旧・個票の URL（送信済みの通知メール・ブックマーク）＝一覧の該当行へ 302（2026-10-29）。\n\n他顧客の id でも 404 にせず一覧へ飛ばす（一覧は自分のイベントしか描かない＝存在の有無を漏らさない）。","operationId":"portal_tamper_detail_portal_tamper__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Tamper Detail","description":"旧・個票の URL（送信済みの通知メール・ブックマーク）＝一覧の該当行へ 302（2026-10-29）。\n\n他顧客の id でも 404 にせず一覧へ飛ばす（一覧は自分のイベントしか描かない＝存在の有無を漏らさない）。","operationId":"portal_tamper_detail_portal_tamper__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/tamper/{event_id}/approve":{"post":{"summary":"Portal Tamper Approve","description":"一覧の行からの「これは自分たちの更新です」。戻り先は一覧（2026-10-29）。","operationId":"portal_tamper_approve_portal_tamper__event_id__approve_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/isolation/{ps_id}/text":{"get":{"summary":"Portal Isolation Text","description":"顧客向け：メンテナンス画面の文言を編集する。","operationId":"portal_isolation_text_portal_isolation__ps_id__text_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Isolation Text","description":"顧客向け：メンテナンス画面の文言を編集する。","operationId":"portal_isolation_text_portal_isolation__ps_id__text_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Portal Isolation Text Save","operationId":"portal_isolation_text_save_portal_isolation__ps_id__text_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/isolation/text":{"get":{"summary":"Ops Isolation Text","description":"運用者向け：顧客と同じ部品・同じ制約で編集する（オーナー指示）。","operationId":"ops_isolation_text_ops_autofix__ps_id__isolation_text_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Isolation Text","description":"運用者向け：顧客と同じ部品・同じ制約で編集する（オーナー指示）。","operationId":"ops_isolation_text_ops_autofix__ps_id__isolation_text_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Ops Isolation Text Save","operationId":"ops_isolation_text_save_ops_autofix__ps_id__isolation_text_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/isolation/{ps_id}":{"get":{"summary":"Portal Isolation Confirm","description":"顧客向け 2段階確認（1段目）。","operationId":"portal_isolation_confirm_portal_isolation__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Isolation Confirm","description":"顧客向け 2段階確認（1段目）。","operationId":"portal_isolation_confirm_portal_isolation__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Portal Isolation Apply","description":"顧客向け 2段階確認（2段目・実行）。運用者へ即時同報される。","operationId":"portal_isolation_apply_portal_isolation__ps_id__post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/isolation":{"get":{"summary":"Ops Isolation Confirm","description":"運用者向け 2段階確認（1段目）。","operationId":"ops_isolation_confirm_ops_autofix__ps_id__isolation_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Isolation Confirm","description":"運用者向け 2段階確認（1段目）。","operationId":"ops_isolation_confirm_ops_autofix__ps_id__isolation_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Ops Isolation Apply","description":"運用者向け 2段階確認（2段目・実行）。isolated_by に operator を記録する。","operationId":"ops_isolation_apply_ops_autofix__ps_id__isolation_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal":{"get":{"summary":"Dashboard","operationId":"dashboard_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Dashboard","operationId":"dashboard_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/reports":{"get":{"summary":"Portal Reports","description":"バックナンバー一覧（ダッシュボードの「過去のレポートを見る」から遷移）。","operationId":"portal_reports_portal_reports_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Reports","description":"バックナンバー一覧（ダッシュボードの「過去のレポートを見る」から遷移）。","operationId":"portal_reports_portal_reports_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/reports/{report_id}":{"get":{"summary":"Portal Report View","description":"Web プレビュー。保存済み HTML があればそれを、無ければ同じデータから描き直す。","operationId":"portal_report_view_portal_reports__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Report View","description":"Web プレビュー。保存済み HTML があればそれを、無ければ同じデータから描き直す。","operationId":"portal_report_view_portal_reports__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/reports/{report_id}/download":{"get":{"summary":"Portal Report Download","description":"PDF ダウンロード（no-store・所有者チェック必須）。","operationId":"portal_report_download_portal_reports__report_id__download_get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Report Download","description":"PDF ダウンロード（no-store・所有者チェック必須）。","operationId":"portal_report_download_portal_reports__report_id__download_get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/logs":{"get":{"summary":"Portal Logs","operationId":"portal_logs_portal_logs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Logs","operationId":"portal_logs_portal_logs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/logs.csv":{"get":{"summary":"Portal Logs Csv","description":"CSV 書き出し（no-store）。\n\n`kind=daily` … アクセスログの個別行・**1日ぶん**（`date=YYYY-MM-DD`・省略時は当日 JST。\nアーカイブ優先・無ければDB。**送信元IPはフル値**＝所有ホスト限定が前提）／`kind=daily-summary` … 日次集計（個別行が無い月のフォールバック）／\n`kind=attack`（既定）… 攻撃と疑われるアクセスの**個別行**（列＝アクセスログの17列＋攻撃種別＋状態・\n**送信元IPはフル値**・アーカイブ優先→DB）。`days`/`cat`/`blocked` は CSV では見ない（画面の絞り込み用）。\ndaily-summary／attack は `ym=YYYYMM` を付けるとその対象月ぶん（バックナンバー）を出す。","operationId":"portal_logs_csv_portal_logs_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Portal Logs Csv","description":"CSV 書き出し（no-store）。\n\n`kind=daily` … アクセスログの個別行・**1日ぶん**（`date=YYYY-MM-DD`・省略時は当日 JST。\nアーカイブ優先・無ければDB。**送信元IPはフル値**＝所有ホスト限定が前提）／`kind=daily-summary` … 日次集計（個別行が無い月のフォールバック）／\n`kind=attack`（既定）… 攻撃と疑われるアクセスの**個別行**（列＝アクセスログの17列＋攻撃種別＋状態・\n**送信元IPはフル値**・アーカイブ優先→DB）。`days`/`cat`/`blocked` は CSV では見ない（画面の絞り込み用）。\ndaily-summary／attack は `ym=YYYYMM` を付けるとその対象月ぶん（バックナンバー）を出す。","operationId":"portal_logs_csv_portal_logs_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/scans":{"get":{"summary":"Portal Scans","description":"診断レポートの一覧（ダッシュボードの「診断レポートを見る」から遷移）。","operationId":"portal_scans_portal_scans_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Scans","description":"診断レポートの一覧（ダッシュボードの「診断レポートを見る」から遷移）。","operationId":"portal_scans_portal_scans_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/scans/{scan_id}/download":{"get":{"summary":"Portal Scan Download","description":"簡易レポートPDF（no-store・所有者チェック必須）。","operationId":"portal_scan_download_portal_scans__scan_id__download_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Scan Download","description":"簡易レポートPDF（no-store・所有者チェック必須）。","operationId":"portal_scan_download_portal_scans__scan_id__download_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}":{"get":{"summary":"Portal Pro Hub","operationId":"portal_pro_hub_portal_pro__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro Hub","operationId":"portal_pro_hub_portal_pro__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/agent":{"get":{"summary":"Portal Pro Agent","operationId":"portal_pro_agent_portal_pro__ps_id__agent_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro Agent","operationId":"portal_pro_agent_portal_pro__ps_id__agent_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/agent/setup":{"post":{"summary":"Portal Pro Agent Setup","description":"検知するディレクトリを保存して登録コードを発行する（コマンドは 1 回だけ表示）。","operationId":"portal_pro_agent_setup_portal_pro__ps_id__agent_setup_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/ports":{"get":{"summary":"Portal Pro Ports","operationId":"portal_pro_ports_portal_pro__ps_id__ports_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro Ports","operationId":"portal_pro_ports_portal_pro__ps_id__ports_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/ports/setup":{"post":{"summary":"Portal Pro Ports Setup","operationId":"portal_pro_ports_setup_portal_pro__ps_id__ports_setup_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/ports/check":{"post":{"summary":"Portal Pro Ports Check","description":"外形のポート確認をいま実行する（60 秒の cooldown・既存のオリジン確認と同じ流儀）。","operationId":"portal_pro_ports_check_portal_pro__ps_id__ports_check_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/api-schema":{"get":{"summary":"Portal Pro Api Schema","operationId":"portal_pro_api_schema_portal_pro__ps_id__api_schema_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro Api Schema","operationId":"portal_pro_api_schema_portal_pro__ps_id__api_schema_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/api-schema/upload":{"post":{"summary":"Portal Pro Api Schema Upload","description":"OpenAPI 3.0 のアップロード（受理まで＝CF にはまだ触れない）。","operationId":"portal_pro_api_schema_upload_portal_pro__ps_id__api_schema_upload_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/api-schema/disable":{"post":{"summary":"Portal Pro Api Schema Disable","description":"顧客の「いますぐ停止」＝顧客が押せる唯一の CF 反映操作（止める方向だけ）。","operationId":"portal_pro_api_schema_disable_portal_pro__ps_id__api_schema_disable_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/app-token":{"get":{"summary":"Portal Pro App Token","operationId":"portal_pro_app_token_portal_pro__ps_id__app_token_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro App Token","operationId":"portal_pro_app_token_portal_pro__ps_id__app_token_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/custom-rules":{"get":{"summary":"Portal Pro Custom Rules","operationId":"portal_pro_custom_rules_portal_pro__ps_id__custom_rules_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro Custom Rules","operationId":"portal_pro_custom_rules_portal_pro__ps_id__custom_rules_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/authed-scan":{"get":{"summary":"Portal Pro Authed Scan","operationId":"portal_pro_authed_scan_portal_pro__ps_id__authed_scan_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Pro Authed Scan","operationId":"portal_pro_authed_scan_portal_pro__ps_id__authed_scan_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/authed-scan/save":{"post":{"summary":"Portal Pro Authed Scan Save","description":"診断用の資格情報と範囲の保存。**同意 3 つが揃わなければ保存しない**。","operationId":"portal_pro_authed_scan_save_portal_pro__ps_id__authed_scan_save_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/authed-scan/verify":{"post":{"summary":"Portal Pro Authed Scan Verify","operationId":"portal_pro_authed_scan_verify_portal_pro__ps_id__authed_scan_verify_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/pro/{ps_id}/authed-scan/delete":{"post":{"summary":"Portal Pro Authed Scan Delete","operationId":"portal_pro_authed_scan_delete_portal_pro__ps_id__authed_scan_delete_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/changes":{"get":{"summary":"Portal Changes","operationId":"portal_changes_portal_changes_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Changes","operationId":"portal_changes_portal_changes_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/changes/verify":{"post":{"summary":"Portal Changes Verify","operationId":"portal_changes_verify_portal_changes_verify_post","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/changes.csv":{"get":{"summary":"Portal Changes Csv","operationId":"portal_changes_csv_portal_changes_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Portal Changes Csv","operationId":"portal_changes_csv_portal_changes_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-portal":{"get":{"summary":"Partner Home","operationId":"partner_home_partner_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Partner Home","operationId":"partner_home_partner_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/partner-portal/customers.csv":{"get":{"summary":"Partner Customers Csv","operationId":"partner_customers_csv_partner_portal_customers_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Partner Customers Csv","operationId":"partner_customers_csv_partner_portal_customers_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-portal/c/{grant_id}/act":{"post":{"summary":"Partner Act Start","operationId":"partner_act_start_partner_portal_c__grant_id__act_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"integer","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/act/exit":{"post":{"summary":"Portal Act Exit","description":"代理操作の終了。元のセッション（パートナー）の CSRF で検査する（代理中も値は同じ）。","operationId":"portal_act_exit_portal_act_exit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-portal/request":{"post":{"summary":"Partner Request","operationId":"partner_request_partner_portal_request_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-portal/profile":{"post":{"summary":"Partner Profile","operationId":"partner_profile_partner_portal_profile_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner-portal/c/{grant_id}":{"get":{"summary":"Partner Customer","operationId":"partner_customer_partner_portal_c__grant_id__get","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"integer","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Partner Customer","operationId":"partner_customer_partner_portal_c__grant_id__get","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"integer","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner-portal/c/{grant_id}/report":{"post":{"summary":"Partner Report","operationId":"partner_report_partner_portal_c__grant_id__report_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"integer","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/partners":{"get":{"summary":"Portal Partners","operationId":"portal_partners_portal_partners_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Partners","operationId":"portal_partners_portal_partners_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/partners/{grant_id}/{op}":{"post":{"summary":"Portal Partner Decide","operationId":"portal_partner_decide_portal_partners__grant_id___op__post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"integer","title":"Grant Id"}},{"name":"op","in":"path","required":true,"schema":{"type":"string","title":"Op"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal":{"get":{"summary":"Demo Portal","description":"表示専用のデモ。認証不要だが **POST 経路を一切持たない**（副作用ゼロ）。","operationId":"demo_portal_demo_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal","description":"表示専用のデモ。認証不要だが **POST 経路を一切持たない**（副作用ゼロ）。","operationId":"demo_portal_demo_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/multi":{"get":{"summary":"Demo Portal Multi","description":"1 アカウントで複数サイトのデモ（`?site=0|1` で切替・既定は「すべてのサイト」）。POST なし。","operationId":"demo_portal_multi_demo_portal_multi_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Multi","description":"1 アカウントで複数サイトのデモ（`?site=0|1` で切替・既定は「すべてのサイト」）。POST なし。","operationId":"demo_portal_multi_demo_portal_multi_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/sites/add":{"get":{"summary":"Demo Portal Site Add","description":"「サイトを追加」の見本（表示だけ・送信しない）。","operationId":"demo_portal_site_add_demo_portal_sites_add_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Site Add","description":"「サイトを追加」の見本（表示だけ・送信しない）。","operationId":"demo_portal_site_add_demo_portal_sites_add_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/pro":{"get":{"summary":"Demo Portal Pro","description":"プロ専用のデモ（ダッシュボード）。**POST 経路は持たない**（副作用ゼロ）。","operationId":"demo_portal_pro_demo_portal_pro_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Pro","description":"プロ専用のデモ（ダッシュボード）。**POST 経路は持たない**（副作用ゼロ）。","operationId":"demo_portal_pro_demo_portal_pro_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/pro/reports/{ym}":{"get":{"summary":"Demo Portal Pro Report","description":"プロの証跡レポート（11 章＝「プロの保護の状況」を含む）。","operationId":"demo_portal_pro_report_demo_portal_pro_reports__ym__get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Pro Report","description":"プロの証跡レポート（11 章＝「プロの保護の状況」を含む）。","operationId":"demo_portal_pro_report_demo_portal_pro_reports__ym__get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/pro/{ps_id}":{"get":{"summary":"Demo Portal Pro Hub","description":"プロの保護のハブ（一覧）。**本番と同じ URL 形**＝カードの生成するリンクが 404 にならない。","operationId":"demo_portal_pro_hub_demo_portal_pro__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Pro Hub","description":"プロの保護のハブ（一覧）。**本番と同じ URL 形**＝カードの生成するリンクが 404 にならない。","operationId":"demo_portal_pro_hub_demo_portal_pro__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/pro/{ps_id}/{key}":{"get":{"summary":"Demo Portal Pro Detail","description":"プロの 6 機能の詳細（本番の描画関数＋合成データ・表示専用）。","operationId":"demo_portal_pro_detail_demo_portal_pro__ps_id___key__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Pro Detail","description":"プロの 6 機能の詳細（本番の描画関数＋合成データ・表示専用）。","operationId":"demo_portal_pro_detail_demo_portal_pro__ps_id___key__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/pro/{key}":{"get":{"summary":"Demo Portal Pro Detail Legacy","description":"旧 URL（ID なし）の互換＝ID つきへ 302。未知のキーは従来どおり 404（HTML）。","operationId":"demo_portal_pro_detail_legacy_demo_portal_pro__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Pro Detail Legacy","description":"旧 URL（ID なし）の互換＝ID つきへ 302。未知のキーは従来どおり 404（HTML）。","operationId":"demo_portal_pro_detail_legacy_demo_portal_pro__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/cache/{ps_id}":{"get":{"summary":"Demo Portal Cache","description":"キャッシュの削除（2026-10-28）。本番と同じ描画関数・ボタンは無効（**POST 経路は持たない**）。","operationId":"demo_portal_cache_demo_portal_cache__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Cache","description":"キャッシュの削除（2026-10-28）。本番と同じ描画関数・ボタンは無効（**POST 経路は持たない**）。","operationId":"demo_portal_cache_demo_portal_cache__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/dns/{cz_id}":{"get":{"summary":"Demo Portal Dns","description":"お客様の DNS 設定（2026-10-29）。本番と同じ描画関数・ボタンは無効（**POST 経路は持たない**）。\nゲート（DNS_EDIT_ENABLED）が偽なら本番と同じく 404。","operationId":"demo_portal_dns_demo_portal_dns__cz_id__get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Dns","description":"お客様の DNS 設定（2026-10-29）。本番と同じ描画関数・ボタンは無効（**POST 経路は持たない**）。\nゲート（DNS_EDIT_ENABLED）が偽なら本番と同じく 404。","operationId":"demo_portal_dns_demo_portal_dns__cz_id__get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/dns":{"get":{"summary":"Demo Portal Dns","description":"お客様の DNS 設定（2026-10-29）。本番と同じ描画関数・ボタンは無効（**POST 経路は持たない**）。\nゲート（DNS_EDIT_ENABLED）が偽なら本番と同じく 404。","operationId":"demo_portal_dns_demo_portal_dns_get","parameters":[{"name":"cz_id","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Dns","description":"お客様の DNS 設定（2026-10-29）。本番と同じ描画関数・ボタンは無効（**POST 経路は持たない**）。\nゲート（DNS_EDIT_ENABLED）が偽なら本番と同じく 404。","operationId":"demo_portal_dns_demo_portal_dns_get","parameters":[{"name":"cz_id","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/logs":{"get":{"summary":"Demo Portal Logs","operationId":"demo_portal_logs_demo_portal_logs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Logs","operationId":"demo_portal_logs_demo_portal_logs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/logs.csv":{"get":{"summary":"Demo Portal Logs Csv","description":"アクセスログ CSV（合成データ）。本番 `/portal/logs.csv` と**同じ列・同じ kind**。\n\nDB へは触らない（`demo_logs` が対象月を種にして決定的に組み立てる）。ファイル名には\ndemo を入れて、実データの CSV と取り違えないようにする。","operationId":"demo_portal_logs_csv_demo_portal_logs_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Demo Portal Logs Csv","description":"アクセスログ CSV（合成データ）。本番 `/portal/logs.csv` と**同じ列・同じ kind**。\n\nDB へは触らない（`demo_logs` が対象月を種にして決定的に組み立てる）。ファイル名には\ndemo を入れて、実データの CSV と取り違えないようにする。","operationId":"demo_portal_logs_csv_demo_portal_logs_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/portal/changes":{"get":{"summary":"Demo Portal Changes","description":"当社が行った変更（T8）＋証跡の検証（T9）のサンプル。**POST 経路は持たない**。","operationId":"demo_portal_changes_demo_portal_changes_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Changes","description":"当社が行った変更（T8）＋証跡の検証（T9）のサンプル。**POST 経路は持たない**。","operationId":"demo_portal_changes_demo_portal_changes_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/changes.csv":{"get":{"summary":"Demo Portal Changes Csv","operationId":"demo_portal_changes_csv_demo_portal_changes_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Demo Portal Changes Csv","operationId":"demo_portal_changes_csv_demo_portal_changes_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/portal/partners":{"get":{"summary":"Demo Portal Partners","description":"パートナーへの委任（T11）のお客様側サンプル。**POST 経路は持たない**。\n\nパートナーのデモから代理中（?as=）で開いたときは、本番の拒否リスト（delegation.DENY）と同じく\n「お客様ご本人の操作です」の画面を見せる。","operationId":"demo_portal_partners_demo_portal_partners_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Partners","description":"パートナーへの委任（T11）のお客様側サンプル。**POST 経路は持たない**。\n\nパートナーのデモから代理中（?as=）で開いたときは、本番の拒否リスト（delegation.DENY）と同じく\n「お客様ご本人の操作です」の画面を見せる。","operationId":"demo_portal_partners_demo_portal_partners_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/partner":{"get":{"summary":"Demo Partner","description":"パートナーのお客様一覧のデモ。**POST 経路は持たない**（［操作する］はリンク）。","operationId":"demo_partner_demo_partner_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Partner","description":"パートナーのお客様一覧のデモ。**POST 経路は持たない**（［操作する］はリンク）。","operationId":"demo_partner_demo_partner_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/partner/c/{slug}":{"get":{"summary":"Demo Partner Customer","operationId":"demo_partner_customer_demo_partner_c__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Partner Customer","operationId":"demo_partner_customer_demo_partner_c__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/partner/act/{slug}":{"get":{"summary":"Demo Partner Act","description":"代理操作の入口のデモ＝帯つきで既存のデモポータルへ（`?as=` で引き継ぐ）。","operationId":"demo_partner_act_demo_partner_act__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Partner Act","description":"代理操作の入口のデモ＝帯つきで既存のデモポータルへ（`?as=` で引き継ぐ）。","operationId":"demo_partner_act_demo_partner_act__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/autofix":{"get":{"summary":"Demo Portal Autofix","operationId":"demo_portal_autofix_demo_portal_autofix_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Autofix","operationId":"demo_portal_autofix_demo_portal_autofix_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/inquiries":{"get":{"summary":"Demo Portal Inquiries","operationId":"demo_portal_inquiries_demo_portal_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Inquiries","operationId":"demo_portal_inquiries_demo_portal_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/help":{"get":{"summary":"Demo Portal Help","operationId":"demo_portal_help_demo_portal_help_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Help","operationId":"demo_portal_help_demo_portal_help_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/zone":{"get":{"summary":"Demo Portal Zone","description":"エッジでの保護の詳細。本番 `/portal/zone` と**同じ描画関数**（CF/DB を読まない）。","operationId":"demo_portal_zone_demo_portal_zone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Zone","description":"エッジでの保護の詳細。本番 `/portal/zone` と**同じ描画関数**（CF/DB を読まない）。","operationId":"demo_portal_zone_demo_portal_zone_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/tamper":{"get":{"summary":"Demo Portal Tamper List","description":"変更の一覧（未確認＋確認済み）。本番 `/portal/tamper` と**同じ描画関数**（DB を読まない）。","operationId":"demo_portal_tamper_list_demo_portal_tamper_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Tamper List","description":"変更の一覧（未確認＋確認済み）。本番 `/portal/tamper` と**同じ描画関数**（DB を読まない）。","operationId":"demo_portal_tamper_list_demo_portal_tamper_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/tamper/{event_id}":{"get":{"summary":"Demo Portal Tamper Detail","description":"旧・個票の URL ＝一覧の該当行へ 302（本番 `/portal/tamper/{id}` と同じ・2026-10-29）。\n\n0 は従来どおり未確認の先頭（旧リンク互換）。","operationId":"demo_portal_tamper_detail_demo_portal_tamper__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Tamper Detail","description":"旧・個票の URL ＝一覧の該当行へ 302（本番 `/portal/tamper/{id}` と同じ・2026-10-29）。\n\n0 は従来どおり未確認の先頭（旧リンク互換）。","operationId":"demo_portal_tamper_detail_demo_portal_tamper__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/inquiries/{inq_id}":{"get":{"summary":"Demo Portal Inquiry Detail","description":"相談・依頼のスレッド（表示専用）。本番 `/portal/inquiries/{id}` と同じ組み方。","operationId":"demo_portal_inquiry_detail_demo_portal_inquiries__inq_id__get","parameters":[{"name":"inq_id","in":"path","required":true,"schema":{"type":"integer","title":"Inq Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Inquiry Detail","description":"相談・依頼のスレッド（表示専用）。本番 `/portal/inquiries/{id}` と同じ組み方。","operationId":"demo_portal_inquiry_detail_demo_portal_inquiries__inq_id__get","parameters":[{"name":"inq_id","in":"path","required":true,"schema":{"type":"integer","title":"Inq Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/scans":{"get":{"summary":"Demo Portal Scans","description":"診断レポートの一覧（本番 /portal/scans のサンプル）。","operationId":"demo_portal_scans_demo_portal_scans_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Scans","description":"診断レポートの一覧（本番 /portal/scans のサンプル）。","operationId":"demo_portal_scans_demo_portal_scans_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/scans/{scan_id}/download":{"get":{"summary":"Demo Portal Scan Download","description":"診断レポート（PDF・サンプル）。本番と同じ簡易レポートのテンプレで生成しキャッシュする。","operationId":"demo_portal_scan_download_demo_portal_scans__scan_id__download_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Scan Download","description":"診断レポート（PDF・サンプル）。本番と同じ簡易レポートのテンプレで生成しキャッシュする。","operationId":"demo_portal_scan_download_demo_portal_scans__scan_id__download_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/reports":{"get":{"summary":"Demo Portal Reports","description":"レポートのバックナンバー一覧（ダッシュボードは直近1件だけを出す）。","operationId":"demo_portal_reports_demo_portal_reports_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Portal Reports","description":"レポートのバックナンバー一覧（ダッシュボードは直近1件だけを出す）。","operationId":"demo_portal_reports_demo_portal_reports_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/portal/reports/{ym}":{"get":{"summary":"Demo Portal Report View","description":"月次の証跡レポート（Web版・サンプル）。本番と同じく shell に入れずそのまま返す。","operationId":"demo_portal_report_view_demo_portal_reports__ym__get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Report View","description":"月次の証跡レポート（Web版・サンプル）。本番と同じく shell に入れずそのまま返す。","operationId":"demo_portal_report_view_demo_portal_reports__ym__get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/reports/{ym}/download":{"get":{"summary":"Demo Portal Report Download","description":"月次の証跡レポート（PDF・サンプル）。本番と同じテンプレで生成しキャッシュする。","operationId":"demo_portal_report_download_demo_portal_reports__ym__download_get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Report Download","description":"月次の証跡レポート（PDF・サンプル）。本番と同じテンプレで生成しキャッシュする。","operationId":"demo_portal_report_download_demo_portal_reports__ym__download_get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/portal/certificate/{kind}/download":{"get":{"summary":"Demo Portal Certificate Download","description":"サービス加入証書（PDF・見本・2026-10-16）。本番と同じ certificate.render_html で生成しキャッシュする。\n種類は standard のみ（2026-10-16 にオーナー指示で pro／trial の見本を廃止＝404）。DB 非接触＝合成値（demo_data.CERT_SAMPLE_*）だけで描き、透かし\n「見本」と但し書きを刻む（`build_data(..., sample=True)`）。","operationId":"demo_portal_certificate_download_demo_portal_certificate__kind__download_get","parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Demo Portal Certificate Download","description":"サービス加入証書（PDF・見本・2026-10-16）。本番と同じ certificate.render_html で生成しキャッシュする。\n種類は standard のみ（2026-10-16 にオーナー指示で pro／trial の見本を廃止＝404）。DB 非接触＝合成値（demo_data.CERT_SAMPLE_*）だけで描き、透かし\n「見本」と但し書きを刻む（`build_data(..., sample=True)`）。","operationId":"demo_portal_certificate_download_demo_portal_certificate__kind__download_get","parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/signup":{"get":{"summary":"Signup Entry","operationId":"signup_entry_signup_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Signup Entry Submit","operationId":"signup_entry_submit_signup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Signup Entry","operationId":"signup_entry_signup_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/signup/form":{"get":{"summary":"Signup Form","operationId":"signup_form_signup_form_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Signup Submit","operationId":"signup_submit_signup_form_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Signup Form","operationId":"signup_form_signup_form_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/signup/thanks":{"get":{"summary":"Signup Thanks","operationId":"signup_thanks_signup_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Signup Thanks","operationId":"signup_thanks_signup_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/certificate/{contract_id}/download":{"get":{"summary":"Portal Certificate Download","operationId":"portal_certificate_download_portal_certificate__contract_id__download_get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"integer","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Certificate Download","operationId":"portal_certificate_download_portal_certificate__contract_id__download_get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"integer","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/cache/{ps_id}":{"get":{"summary":"Portal Cache","operationId":"portal_cache_portal_cache__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Cache","operationId":"portal_cache_portal_cache__ps_id__get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/cache/{ps_id}/purge":{"post":{"summary":"Portal Cache Purge","operationId":"portal_cache_purge_portal_cache__ps_id__purge_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/cache/{ps_id}/api-keys":{"post":{"summary":"Portal Api Key Issue","operationId":"portal_api_key_issue_portal_cache__ps_id__api_keys_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/cache/{ps_id}/api-keys/{key_id}/revoke":{"post":{"summary":"Portal Api Key Revoke","operationId":"portal_api_key_revoke_portal_cache__ps_id__api_keys__key_id__revoke_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/api-keys/{key_id}/revoke":{"post":{"summary":"Ops Api Key Revoke","description":"運用者の失効（漏えいの疑い・お客様の依頼）。運用者は発行しない。","operationId":"ops_api_key_revoke_ops_autofix__ps_id__api_keys__key_id__revoke_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/cache-purge":{"post":{"summary":"Ops Cache Purge","description":"運用者の実行（手作業の curl の置き換え）。冷却時間は免除しない・ゾーン全体の上限は共有。","operationId":"ops_cache_purge_ops_autofix__ps_id__cache_purge_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns":{"get":{"summary":"Portal Dns Zones","operationId":"portal_dns_zones_portal_dns_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Portal Dns Zones","operationId":"portal_dns_zones_portal_dns_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/dns/{cz_id}":{"get":{"summary":"Portal Dns Zone","operationId":"portal_dns_zone_portal_dns__cz_id__get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Dns Zone","operationId":"portal_dns_zone_portal_dns__cz_id__get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/new":{"get":{"summary":"Portal Dns New","operationId":"portal_dns_new_portal_dns__cz_id__new_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Dns New","operationId":"portal_dns_new_portal_dns__cz_id__new_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/{rec_id}/edit":{"get":{"summary":"Portal Dns Edit","operationId":"portal_dns_edit_portal_dns__cz_id___rec_id__edit_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"rec_id","in":"path","required":true,"schema":{"type":"string","title":"Rec Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Dns Edit","operationId":"portal_dns_edit_portal_dns__cz_id___rec_id__edit_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"rec_id","in":"path","required":true,"schema":{"type":"string","title":"Rec Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/confirm":{"post":{"summary":"Portal Dns Confirm","operationId":"portal_dns_confirm_portal_dns__cz_id__confirm_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/apply":{"post":{"summary":"Portal Dns Apply","operationId":"portal_dns_apply_portal_dns__cz_id__apply_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/{rec_id}/delete/confirm":{"post":{"summary":"Portal Dns Delete Confirm","operationId":"portal_dns_delete_confirm_portal_dns__cz_id___rec_id__delete_confirm_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"rec_id","in":"path","required":true,"schema":{"type":"string","title":"Rec Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/{rec_id}/delete/apply":{"post":{"summary":"Portal Dns Delete Apply","operationId":"portal_dns_delete_apply_portal_dns__cz_id___rec_id__delete_apply_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"rec_id","in":"path","required":true,"schema":{"type":"string","title":"Rec Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/caa-recommended/confirm":{"post":{"summary":"Portal Dns Caa Confirm","operationId":"portal_dns_caa_confirm_portal_dns__cz_id__caa_recommended_confirm_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/dns/{cz_id}/caa-recommended/apply":{"post":{"summary":"Portal Dns Caa Apply","operationId":"portal_dns_caa_apply_portal_dns__cz_id__caa_recommended_apply_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/dns":{"get":{"summary":"Ops Dns","operationId":"ops_dns_ops_dns_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ops Dns","operationId":"ops_dns_ops_dns_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ops/dns/register":{"post":{"summary":"Ops Dns Register","operationId":"ops_dns_register_ops_dns_register_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/dns/{cz_id}":{"get":{"summary":"Ops Dns Zone","operationId":"ops_dns_zone_ops_dns__cz_id__get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Dns Zone","operationId":"ops_dns_zone_ops_dns__cz_id__get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/dns/{cz_id}/toggle":{"post":{"summary":"Ops Dns Toggle","operationId":"ops_dns_toggle_ops_dns__cz_id__toggle_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/dns/{cz_id}/locks":{"post":{"summary":"Ops Dns Locks","operationId":"ops_dns_locks_ops_dns__cz_id__locks_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/dns/{cz_id}/snapshot":{"post":{"summary":"Ops Dns Snapshot","operationId":"ops_dns_snapshot_ops_dns__cz_id__snapshot_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/dns/{cz_id}/snapshots/{sid}/bind":{"get":{"summary":"Ops Dns Bind","operationId":"ops_dns_bind_ops_dns__cz_id__snapshots__sid__bind_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"sid","in":"path","required":true,"schema":{"type":"integer","title":"Sid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Dns Bind","operationId":"ops_dns_bind_ops_dns__cz_id__snapshots__sid__bind_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"sid","in":"path","required":true,"schema":{"type":"integer","title":"Sid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/dns/{cz_id}/snapshots/{sid}/restore":{"get":{"summary":"Ops Dns Restore Preview","operationId":"ops_dns_restore_preview_ops_dns__cz_id__snapshots__sid__restore_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"sid","in":"path","required":true,"schema":{"type":"integer","title":"Sid"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Dns Restore Preview","operationId":"ops_dns_restore_preview_ops_dns__cz_id__snapshots__sid__restore_get","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"sid","in":"path","required":true,"schema":{"type":"integer","title":"Sid"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Ops Dns Restore","operationId":"ops_dns_restore_ops_dns__cz_id__snapshots__sid__restore_post","parameters":[{"name":"cz_id","in":"path","required":true,"schema":{"type":"integer","title":"Cz Id"}},{"name":"sid","in":"path","required":true,"schema":{"type":"integer","title":"Sid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/autofix/{ps_id}/detect-mode":{"get":{"summary":"Ops Detect Mode Confirm","operationId":"ops_detect_mode_confirm_ops_autofix__ps_id__detect_mode_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Ops Detect Mode Confirm","operationId":"ops_detect_mode_confirm_ops_autofix__ps_id__detect_mode_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Ops Detect Mode Apply","operationId":"ops_detect_mode_apply_ops_autofix__ps_id__detect_mode_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/detect-mode/{ps_id}/on":{"get":{"summary":"Portal Detect Mode On Confirm","operationId":"portal_detect_mode_on_confirm_portal_detect_mode__ps_id__on_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Detect Mode On Confirm","operationId":"portal_detect_mode_on_confirm_portal_detect_mode__ps_id__on_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Portal Detect Mode On","operationId":"portal_detect_mode_on_portal_detect_mode__ps_id__on_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/detect-mode/{ps_id}/off":{"get":{"summary":"Portal Detect Mode Off Confirm","operationId":"portal_detect_mode_off_confirm_portal_detect_mode__ps_id__off_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Portal Detect Mode Off Confirm","operationId":"portal_detect_mode_off_confirm_portal_detect_mode__ps_id__off_get","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Portal Detect Mode Off","operationId":"portal_detect_mode_off_portal_detect_mode__ps_id__off_post","parameters":[{"name":"ps_id","in":"path","required":true,"schema":{"type":"integer","title":"Ps Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ownership/challenge":{"post":{"summary":"Ownership Challenge","operationId":"ownership_challenge_api_ownership_challenge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ownership/verify":{"post":{"summary":"Ownership Verify","operationId":"ownership_verify_api_ownership_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scans":{"post":{"summary":"Create Scan","operationId":"create_scan_api_scans_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Scans","operationId":"list_scans_api_scans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"List Scans","operationId":"list_scans_api_scans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scans/{job_id}":{"get":{"summary":"Get Scan","operationId":"get_scan_api_scans__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Get Scan","operationId":"get_scan_api_scans__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Scan","operationId":"delete_scan_api_scans__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scans/{job_id}/report":{"get":{"summary":"Get Report","operationId":"get_report_api_scans__job_id__report_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Get Report","operationId":"get_report_api_scans__job_id__report_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scans/{job_id}/result.json":{"get":{"summary":"Get Result Json","operationId":"get_result_json_api_scans__job_id__result_json_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Get Result Json","operationId":"get_result_json_api_scans__job_id__result_json_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/purge":{"post":{"summary":"Admin Purge","description":"保持期限を過ぎた成果物を即時パージし、結果サマリを返す。","operationId":"admin_purge_api_admin_purge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit":{"get":{"summary":"Admin Audit","description":"監査ログを新しい順に参照。action でフィルタ。","operationId":"admin_audit_api_admin_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","default":"","title":"Action"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Audit","description":"監査ログを新しい順に参照。action でフィルタ。","operationId":"admin_audit_api_admin_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","default":"","title":"Action"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/audit/verify":{"get":{"summary":"Admin Audit Verify","description":"監査チェーンの整合を検証する。","operationId":"admin_audit_verify_api_admin_audit_verify_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Admin Audit Verify","description":"監査チェーンの整合を検証する。","operationId":"admin_audit_verify_api_admin_audit_verify_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/free-scan":{"post":{"summary":"Free Scan","description":"無料診断（パッシブ）。公開情報のみ確認。負荷なし・allowlist不要・SSRF防御あり。","operationId":"free_scan_api_free_scan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/share":{"post":{"summary":"Create Share","description":"無料診断の結果を共有カード化（② Phase A）。偽装防止のためサーバ側で再パッシブ診断し、\n公開はグレード/スコア/件数のみ（findings非保存）。/r/{token} は noindex・TTL失効。","operationId":"create_share_api_share_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sitedock/scan":{"post":{"summary":"Sitedock Scan","description":"所有者確認済み + 同意済みの能動診断を投入。","operationId":"sitedock_scan_api_sitedock_scan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitedockScanBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sitedock/scan/{job_id}":{"get":{"summary":"Sitedock Scan Status","operationId":"sitedock_scan_status_api_sitedock_scan__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Sitedock Scan Status","operationId":"sitedock_scan_status_api_sitedock_scan__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/push/subscribe":{"post":{"summary":"Push Subscribe","description":"完了通知(Webプッシュ)の購読を job_id に紐づけて保存。VAPID未設定なら 204 相当で無視。","operationId":"push_subscribe_api_push_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sitedock/scan/{job_id}/cancel":{"post":{"summary":"Sitedock Scan Cancel","description":"順番待ち中の精密診断をキャンセルする（混雑時に相談へ切り替える導線）。実行中は不可。","operationId":"sitedock_scan_cancel_api_sitedock_scan__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sitedock/scan/{job_id}/summary":{"get":{"summary":"Sitedock Summary","operationId":"sitedock_summary_api_sitedock_scan__job_id__summary_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Sitedock Summary","operationId":"sitedock_summary_api_sitedock_scan__job_id__summary_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sitedock/scan/{job_id}/report":{"get":{"summary":"Sitedock Report Pdf","operationId":"sitedock_report_pdf_api_sitedock_scan__job_id__report_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Sitedock Report Pdf","operationId":"sitedock_report_pdf_api_sitedock_scan__job_id__report_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/badge/list":{"post":{"summary":"Badge List","description":"診断済みサイトを公開ディレクトリ(/verified)に掲載/取消（所有者本人のオプトイン）。","operationId":"badge_list_api_badge_list_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeListBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/report-request":{"post":{"summary":"Report Request","description":"レポート(PDF)のダウンロードリンクをメールで配送する（メールナーチャリング）。\n必須はメールのみ（会社名・お名前は任意＝空文字のまま保存・通知する。mailer 側は\n空なら宛名ブロックを省略）。Web上では即時DLさせず、入力メール宛にDLリンクを送る\n（デタラメなメールアドレス入力の抑制）。同時に弊社受付(consult_to＝sales)へも通知する。","operationId":"report_request_api_report_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequestBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dl/{dltoken}":{"get":{"summary":"Report Dl","description":"メールで配送したレポートDLリンク。dl:<token> の参照からPDFを配信する（片道トークン）。","operationId":"report_dl_dl__dltoken__get","parameters":[{"name":"dltoken","in":"path","required":true,"schema":{"type":"string","title":"Dltoken"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Report Dl","description":"メールで配送したレポートDLリンク。dl:<token> の参照からPDFを配信する（片道トークン）。","operationId":"report_dl_dl__dltoken__get","parameters":[{"name":"dltoken","in":"path","required":true,"schema":{"type":"string","title":"Dltoken"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/free-scan/{token}/report":{"get":{"summary":"Free Report Direct","description":"簡易レポートの直接DL（/scan/direct 用）。メール入力なし＝leads にも載らない。\n\ntoken は /api/free-scan が発行した consult_pass（fs:result と同じ 24h で失効）。\nレート制限は /dl と同じ枠を共有する。","operationId":"free_report_direct_api_free_scan__token__report_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Free Report Direct","description":"簡易レポートの直接DL（/scan/direct 用）。メール入力なし＝leads にも載らない。\n\ntoken は /api/free-scan が発行した consult_pass（fs:result と同じ 24h で失効）。\nレート制限は /dl と同じ枠を共有する。","operationId":"free_report_direct_api_free_scan__token__report_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/consult":{"post":{"summary":"Consult","operationId":"consult_api_consult_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsultBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contact":{"post":{"summary":"Contact Submit","description":"お問い合わせ（/contact の **no-JS フォーム**）。\n\n/contact のフォームは JSON fetch（`/static/autofix.js` → `POST /api/consult`）に完全依存\nしていて、`name` 属性も `action` も持たず `novalidate` だった。UI上は /trial と同じ見た目の\n2フォームなのに、素のPOSTで動く /trial とは堅牢性が非対称（JS の読み込み失敗・ブロックで\n問い合わせが送れない）＝デザインレビュー v3 中M-5／技術P2-3。\n\n本エンドポイントは urlencoded を受けて `consult()` と**同じ処理**（検証・honeypot・レート\n制限・保存・監査・通知メール）へ流し、成功時は 303 で `/consult/complete?t=<token>` へ\n遷移する（他フォームの no-JS 経路と同型）。JS が有効なときは従来どおり autofix.js が\nsubmit を横取りして `/api/consult` へ送るため、文脈引き継ぎ（consult_pass/job_id）も不変。","operationId":"contact_submit_api_contact_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/consult/complete":{"get":{"summary":"Consult Complete","description":"相談フォーム送信完了の専用ページ（実遷移）。Google広告のコンバージョン計測用に\n固有URLで page_view を発火させる。noindex・sitemap非掲載。\n\nsubmit時に発行した一回限りトークン(?t=)を検証し消費する。直接アクセス/リロード/\nブックマーク（トークン無し or 消費済み）はトップへリダイレクト＝完了ページの page_view を\n出さない＝コンバージョン非計上。","operationId":"consult_complete_consult_complete_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Consult Complete","description":"相談フォーム送信完了の専用ページ（実遷移）。Google広告のコンバージョン計測用に\n固有URLで page_view を発火させる。noindex・sitemap非掲載。\n\nsubmit時に発行した一回限りトークン(?t=)を検証し消費する。直接アクセス/リロード/\nブックマーク（トークン無し or 消費済み）はトップへリダイレクト＝完了ページの page_view を\n出さない＝コンバージョン非計上。","operationId":"consult_complete_consult_complete_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/demo/consult/complete":{"get":{"summary":"Demo Consult Complete","description":"デモの相談完了ページ。本番 /consult/complete とは別URL＋GA4非注入で配信し、\nデモ送信がコンバージョンに計上されないようにする。トップへ戻るは /demo へ。","operationId":"demo_consult_complete_demo_consult_complete_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo Consult Complete","description":"デモの相談完了ページ。本番 /consult/complete とは別URL＋GA4非注入で配信し、\nデモ送信がコンバージョンに計上されないようにする。トップへ戻るは /demo へ。","operationId":"demo_consult_complete_demo_consult_complete_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/whitepaper":{"post":{"summary":"Whitepaper Submit","description":"完全版PDFのDL申込（no-JS フォーム）。honeypot / レート / email検証 / 同意必須。\n成功時は 303 で /research/thanks?t=<view_token> へ遷移する。","operationId":"whitepaper_submit_api_whitepaper_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/research/thanks":{"get":{"summary":"Research Thanks","description":"完全版DLのサンクスページ（実遷移・GA4 page_view＝コンバージョン契機）。noindex。\nview_token を即時消費する（リロード/直アクセス/消費済みはトップへ302＝計測非計上）。","operationId":"research_thanks_research_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Research Thanks","description":"完全版DLのサンクスページ（実遷移・GA4 page_view＝コンバージョン契機）。noindex。\nview_token を即時消費する（リロード/直アクセス/消費済みはトップへ302＝計測非計上）。","operationId":"research_thanks_research_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/research/confirm":{"get":{"summary":"Research Confirm","description":"二重オプトイン（strict）の確認リンク。確認できたら DL を発行し、自動返信（控え）を送る。","operationId":"research_confirm_research_confirm_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Research Confirm","description":"二重オプトイン（strict）の確認リンク。確認できたら DL を発行し、自動返信（控え）を送る。","operationId":"research_confirm_research_confirm_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/research/whitepaper.pdf":{"get":{"summary":"Research Whitepaper Pdf","description":"完全版PDF配信。dl_token を検証し、配布中バッチのPDFを no-store で返す。失効/未存在は404。","operationId":"research_whitepaper_pdf_research_whitepaper_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Research Whitepaper Pdf","description":"完全版PDF配信。dl_token を検証し、配布中バッチのPDFを no-store で返す。失効/未存在は404。","operationId":"research_whitepaper_pdf_research_whitepaper_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sample/whitepaper.pdf":{"get":{"summary":"Sample Whitepaper Pdf","description":"完全版レポートのサンプルPDF（合成データ・登録不要・index対象外）。","operationId":"sample_whitepaper_pdf_sample_whitepaper_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Sample Whitepaper Pdf","description":"完全版レポートのサンプルPDF（合成データ・登録不要・index対象外）。","operationId":"sample_whitepaper_pdf_sample_whitepaper_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/unsubscribe":{"get":{"summary":"Unsubscribe","description":"配信停止（opt-out・特定電子メール法）。トークンに一致する lead に unsubscribed_at を記録。","operationId":"unsubscribe_unsubscribe_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Unsubscribe","description":"配信停止（opt-out・特定電子メール法）。トークンに一致する lead に unsubscribed_at を記録。","operationId":"unsubscribe_unsubscribe_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/ec-consult":{"post":{"summary":"Ec Consult Submit","description":"EC加盟店向け相談（/ec-guideline の no-JS フォーム）。honeypot / 別枠レート / email検証。\n診断証跡は求めない（LP直行の見込み客が対象）＝代償として厳しめ別枠レート＋honeypot。\n成功時は 303 で /ec-guideline/thanks?t=<view_token>（one-time）へ遷移する。","operationId":"ec_consult_submit_api_ec_consult_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ec-guideline/thanks":{"get":{"summary":"Ec Guideline Thanks","description":"EC相談のサンクスページ（実遷移・GA4 page_view＝Ads コンバージョン契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /ec-guideline へ302＝計測非計上）。\n※robots.txt には載せない（「Disallow: /ec-guideline/thanks」は LP 本体の非遮断検査\n（check_routing_common の部分一致）と衝突するため。noindex meta ＋ one-time 302 で十分）。","operationId":"ec_guideline_thanks_ec_guideline_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ec Guideline Thanks","description":"EC相談のサンクスページ（実遷移・GA4 page_view＝Ads コンバージョン契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /ec-guideline へ302＝計測非計上）。\n※robots.txt には載せない（「Disallow: /ec-guideline/thanks」は LP 本体の非遮断検査\n（check_routing_common の部分一致）と衝突するため。noindex meta ＋ one-time 302 で十分）。","operationId":"ec_guideline_thanks_ec_guideline_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/scs/thanks":{"get":{"summary":"Scs Thanks","description":"SCS 相談のサンクスページ（one-time・noindex）。消費済み／直アクセスは /scs へ 302。\nrobots.txt には載せない（ec と同じ理由＝LP 本体の非遮断検査と衝突する）。","operationId":"scs_thanks_scs_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Scs Thanks","description":"SCS 相談のサンクスページ（one-time・noindex）。消費済み／直アクセスは /scs へ 302。\nrobots.txt には載せない（ec と同じ理由＝LP 本体の非遮断検査と衝突する）。","operationId":"scs_thanks_scs_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/emergency-consult":{"post":{"summary":"Emergency Consult Submit","description":"緊急相談（/emergency の no-JS フォーム）。honeypot / 別枠レート / email検証。\n成功時は 303 で /emergency/thanks?t=<view_token>（one-time）へ遷移する。","operationId":"emergency_consult_submit_api_emergency_consult_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/emergency/thanks":{"get":{"summary":"Emergency Thanks","description":"緊急相談のサンクスページ（実遷移・GA4 page_view＝Ads コンバージョン契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /emergency へ302＝計測非計上）。","operationId":"emergency_thanks_emergency_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Emergency Thanks","description":"緊急相談のサンクスページ（実遷移・GA4 page_view＝Ads コンバージョン契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /emergency へ302＝計測非計上）。","operationId":"emergency_thanks_emergency_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/partner":{"post":{"summary":"Partner Submit","description":"パートナー資料請求（/partner の no-JS フォーム）。honeypot / 別枠レート / email検証 /\n同意必須。成功時は 303 で /partner/thanks?t=<view_token>（one-time）へ遷移する。","operationId":"partner_submit_api_partner_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/partner/thanks":{"get":{"summary":"Partner Thanks","description":"パートナー資料請求のサンクスページ（実遷移・GA4 page_view＝CV契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /partner へ302＝計測非計上）。","operationId":"partner_thanks_partner_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Partner Thanks","description":"パートナー資料請求のサンクスページ（実遷移・GA4 page_view＝CV契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /partner へ302＝計測非計上）。","operationId":"partner_thanks_partner_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/document":{"post":{"summary":"Document Submit","description":"資料請求（/download の no-JS フォーム）。honeypot / 別枠レート / email検証。\n入力項目は確定（必須＝会社名・団体名／お名前／メールアドレス、任意＝対象サイトのURL／\nご相談内容）。成功時は 303 で /download/thanks?t=<view_token>（one-time）へ遷移する。","operationId":"document_submit_api_document_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/download/thanks":{"get":{"summary":"Document Thanks","description":"資料請求のサンクスページ（実遷移・GA4 page_view＝CV契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /download へ302＝計測非計上）。\n\n【重要】**DLリンクは画面に出さない**（2026-07-25 オーナー指示）。資料の受け渡しは\n入力メールアドレス宛の配送のみ＝デタラメなメールアドレスでの取得を抑止し、リードの\n到達性を担保する（POST /api/report-request のメールナーチャリングと同じ考え方）。\n本ページは「送った」ことの確認だけを表示する。\n\n文面は実際の挙動と同期させる:\n  - メール送信が有効かつ資料PDFが設置済み  → 「メールでDLリンクを送りました」\n  - それ以外（PDF未設置／メール未設定）      → 「担当より2営業日以内に送付します」\n（後者は mailer.send_document_notify の受付通知に「★手動送付が必要」が立つケースと一致する）","operationId":"document_thanks_download_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Document Thanks","description":"資料請求のサンクスページ（実遷移・GA4 page_view＝CV契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /download へ302＝計測非計上）。\n\n【重要】**DLリンクは画面に出さない**（2026-07-25 オーナー指示）。資料の受け渡しは\n入力メールアドレス宛の配送のみ＝デタラメなメールアドレスでの取得を抑止し、リードの\n到達性を担保する（POST /api/report-request のメールナーチャリングと同じ考え方）。\n本ページは「送った」ことの確認だけを表示する。\n\n文面は実際の挙動と同期させる:\n  - メール送信が有効かつ資料PDFが設置済み  → 「メールでDLリンクを送りました」\n  - それ以外（PDF未設置／メール未設定）      → 「担当より2営業日以内に送付します」\n（後者は mailer.send_document_notify の受付通知に「★手動送付が必要」が立つケースと一致する）","operationId":"document_thanks_download_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/download/sitedock-service-guide.pdf":{"get":{"summary":"Document Pdf","description":"サービス紹介資料PDFの配信。dl_token を検証し no-store で返す。失効/未設置は404。","operationId":"document_pdf_download_sitedock_service_guide_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Document Pdf","description":"サービス紹介資料PDFの配信。dl_token を検証し no-store で返す。失効/未設置は404。","operationId":"document_pdf_download_sitedock_service_guide_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/download/direct/{key}":{"get":{"summary":"Document Pdf Direct","description":"資料PDFの直リンク（フォーム申込を経ない直DL・2026-08-25 オーナー指示）。\n\n2026-10-14 から固定スラッグで配信する（`_DIRECT_DOCS`＝/download/direct/sitedock-service-guide・\n/download/direct/sitedock-manga・/download/direct/sitedock-flyer）。URL は秘密ではない＝営業が手渡し・名刺/資料に載せる用。\n旧方式の env `DOCUMENT_DIRECT_KEY`（秘密キー）も配布済み URL の互換のため紹介資料として受ける。\n公開ページ・sitemap には載せない（`X-Robots-Tag: noindex` 付与）。取得は監査ログ\n`document_direct_download` に残す（リードは作らない）。\n配信は `Content-Disposition: inline`＝ブラウザ内でPDF表示（ダウンロード保存ではない・同日追加指示）。","operationId":"document_pdf_direct_download_direct__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Document Pdf Direct","description":"資料PDFの直リンク（フォーム申込を経ない直DL・2026-08-25 オーナー指示）。\n\n2026-10-14 から固定スラッグで配信する（`_DIRECT_DOCS`＝/download/direct/sitedock-service-guide・\n/download/direct/sitedock-manga・/download/direct/sitedock-flyer）。URL は秘密ではない＝営業が手渡し・名刺/資料に載せる用。\n旧方式の env `DOCUMENT_DIRECT_KEY`（秘密キー）も配布済み URL の互換のため紹介資料として受ける。\n公開ページ・sitemap には載せない（`X-Robots-Tag: noindex` 付与）。取得は監査ログ\n`document_direct_download` に残す（リードは作らない）。\n配信は `Content-Disposition: inline`＝ブラウザ内でPDF表示（ダウンロード保存ではない・同日追加指示）。","operationId":"document_pdf_direct_download_direct__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/trial":{"post":{"summary":"Trial Submit","description":"無料トライアル申込（/trial の no-JS フォーム）。honeypot / 別枠レート / email検証。\n必須＝会社名・団体名／お名前／メールアドレス／対象サイトのURL（評価対象が確定しないと\n環境を用意できないため URL も必須）、任意＝ご利用中のサーバ・CMS／ご質問。\n成功時は 303 で /trial/thanks?t=<view_token>（one-time）へ遷移する。","operationId":"trial_submit_api_trial_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/trial/thanks":{"get":{"summary":"Trial Thanks","description":"無料トライアル申込のサンクスページ（実遷移・GA4 page_view＝CV契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /trial へ302＝計測非計上）。","operationId":"trial_thanks_trial_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Trial Thanks","description":"無料トライアル申込のサンクスページ（実遷移・GA4 page_view＝CV契機・noindex）。\none-time トークンを即時消費（リロード/直アクセス/消費済みは /trial へ302＝計測非計上）。","operationId":"trial_thanks_trial_thanks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/favicon.ico":{"get":{"summary":"Favicon","operationId":"favicon_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Favicon","operationId":"favicon_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/favicon.svg":{"get":{"summary":"Favicon","operationId":"favicon_favicon_svg_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Favicon","operationId":"favicon_favicon_svg_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/og-image.png":{"get":{"summary":"Og Image Png","operationId":"og_image_png_og_image_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Og Image Png","operationId":"og_image_png_og_image_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sitedock-logo.png":{"get":{"summary":"Sitedock Logo Png","description":"ブランドロゴ（512×512 PNG・透過）。構造化データ Organization.logo の実体。\nfavicon.svg と同じ角丸ブランドマークのラスタ版（Googleのロゴ取り込みは raster を好む）。","operationId":"sitedock_logo_png_sitedock_logo_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Sitedock Logo Png","description":"ブランドロゴ（512×512 PNG・透過）。構造化データ Organization.logo の実体。\nfavicon.svg と同じ角丸ブランドマークのラスタ版（Googleのロゴ取り込みは raster を好む）。","operationId":"sitedock_logo_png_sitedock_logo_png_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/og-image.svg":{"get":{"summary":"Og Image","operationId":"og_image_og_image_svg_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Og Image","operationId":"og_image_og_image_svg_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/assets/{name}":{"get":{"summary":"Brand Assets","description":"エンティティSEO用ブランドアセット（トップの統合 JSON-LD が参照する logo/image の実体）。\n許可リスト方式＝ディレクトリ直配信はしない。追加時はここへ明示登録する。","operationId":"brand_assets_assets__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Brand Assets","description":"エンティティSEO用ブランドアセット（トップの統合 JSON-LD が参照する logo/image の実体）。\n許可リスト方式＝ディレクトリ直配信はしない。追加時はここへ明示登録する。","operationId":"brand_assets_assets__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sw.js":{"get":{"summary":"Service Worker","description":"Webプッシュ用 Service Worker。ルート(/)スコープで配信し、push/通知クリックを処理する。\n更新を取りこぼさないよう no-cache。","operationId":"service_worker_sw_js_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Service Worker","description":"Webプッシュ用 Service Worker。ルート(/)スコープで配信し、push/通知クリックを処理する。\n更新を取りこぼさないよう no-cache。","operationId":"service_worker_sw_js_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","description":"LLM向けサイト案内（llms.txt 提案仕様・LLMO Phase 0-3）。\n\n生成AIがサイトドックを正確に引用できるよう、総称定義（サイトドック＝無料診断〜月額の\n自動修復までの総称）・パッシブ/能動の区別・提供元の共起を1ファイルに集約する。\n価格はハードコードせず /autofix 参照に誘導（価格改定でこのファイルが陳腐化しない）。\n文言を変えるときは名称ポリシー（dev-notes-frontend-lp §6.10-6.11）と矛盾させないこと。","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}},"head":{"summary":"Llms Txt","description":"LLM向けサイト案内（llms.txt 提案仕様・LLMO Phase 0-3）。\n\n生成AIがサイトドックを正確に引用できるよう、総称定義（サイトドック＝無料診断〜月額の\n自動修復までの総称）・パッシブ/能動の区別・提供元の共起を1ファイルに集約する。\n価格はハードコードせず /autofix 参照に誘導（価格改定でこのファイルが陳腐化しない）。\n文言を変えるときは名称ポリシー（dev-notes-frontend-lp §6.10-6.11）と矛盾させないこと。","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/llms-full.txt":{"get":{"summary":"Llms Full Txt","operationId":"llms_full_txt_llms_full_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}},"head":{"summary":"Llms Full Txt","operationId":"llms_full_txt_llms_full_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/robots.txt":{"get":{"summary":"Robots Txt","operationId":"robots_txt_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}},"head":{"summary":"Robots Txt","operationId":"robots_txt_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap Xml","operationId":"sitemap_xml_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Sitemap Xml","operationId":"sitemap_xml_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Index","description":"トップ＝サービス本体ページ（ブランド統一 2026-07-25 Phase 2）。\n\n旧トップ（無料診断ファネル）と旧 /autofix（自動修復サービス紹介）を統合し、\n「サイトドック＝9つの守りを統合したWebサイト・Webアプリ向け統合型セキュリティサービス」の\n1枚ページにした。旧 /autofix のアンカー（#how-it-works・#form・#foundation・#plans・\n#service）は本ページに同名で存在する＝301 の受け皿（Phase 3.1 の実施条件(3)）。\n価格・9つの守り・Service JSON-LD の offers はすべて設定の単一ソースから注入する。","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Index","description":"トップ＝サービス本体ページ（ブランド統一 2026-07-25 Phase 2）。\n\n旧トップ（無料診断ファネル）と旧 /autofix（自動修復サービス紹介）を統合し、\n「サイトドック＝9つの守りを統合したWebサイト・Webアプリ向け統合型セキュリティサービス」の\n1枚ページにした。旧 /autofix のアンカー（#how-it-works・#form・#foundation・#plans・\n#service）は本ページに同名で存在する＝301 の受け皿（Phase 3.1 の実施条件(3)）。\n価格・9つの守り・Service JSON-LD の offers はすべて設定の単一ソースから注入する。","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/service":{"get":{"summary":"Service Page","description":"サービス詳細（LP刷新§3）。トップから 9つの守り・仕組み・土台・導入の流れ・比較を移設した。\n差し込みはトップと同じ単一ソース（_home_replacements）、CSS はトップの <style> を注入。","operationId":"service_page_service_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Service Page","description":"サービス詳細（LP刷新§3）。トップから 9つの守り・仕組み・土台・導入の流れ・比較を移設した。\n差し込みはトップと同じ単一ソース（_home_replacements）、CSS はトップの <style> を注入。","operationId":"service_page_service_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/scan":{"get":{"summary":"Scan Page","description":"診断アプリページ（構造分離）。トップ(/)はマーケ専用の静的LPとし、URL入力後の\n診断フロー（進行・簡易レポート・所有者確認・精密診断レポート・相談フォーム）は本ページに\n集約する。トップの hero フォームが GET /scan?url=<入力値> で遷移し、scan.html 側の\nsitedock.js が ?url= を引き継いで診断を自動開始する（クエリは replaceState で即除去）。\n検索対象外（scan.html の meta robots noindex,nofollow ＋ robots.txt の Disallow: /scan）。","operationId":"scan_page_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Scan Page","description":"診断アプリページ（構造分離）。トップ(/)はマーケ専用の静的LPとし、URL入力後の\n診断フロー（進行・簡易レポート・所有者確認・精密診断レポート・相談フォーム）は本ページに\n集約する。トップの hero フォームが GET /scan?url=<入力値> で遷移し、scan.html 側の\nsitedock.js が ?url= を引き継いで診断を自動開始する（クエリは replaceState で即除去）。\n検索対象外（scan.html の meta robots noindex,nofollow ＋ robots.txt の Disallow: /scan）。","operationId":"scan_page_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/scan/direct":{"get":{"summary":"Scan Direct Page","description":"/scan と同じ診断アプリ。違いは簡易レポートをメール配送せず直接DLする点だけ\n（分岐は sitedock.js が pathname で判定）。/scan と同じく noindex・公開ページから導線なし。","operationId":"scan_direct_page_scan_direct_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Scan Direct Page","description":"/scan と同じ診断アプリ。違いは簡易レポートをメール配送せず直接DLする点だけ\n（分岐は sitedock.js が pathname で判定）。/scan と同じく noindex・公開ページから導線なし。","operationId":"scan_direct_page_scan_direct_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/free-scan":{"get":{"summary":"Free Scan Page","description":"期間限定の無料セキュリティ診断 特設LP（2026-10-16・index 可）。\n\n相次ぐ大規模情報漏洩（2026年9〜10月）と政府・JPCERT/CC の注意喚起を受け、通常は公開ページから\n到達しない診断ツール /scan を**期間限定で一般開放**する唯一の公開導線。hero のフォームが\nGET /scan?url=<入力値> で遷移し、sitedock.js が ?url= を引き継いで診断を自動開始する\n（/scan 自体は従来どおり noindex・sitemap 非掲載）。\n\n- 期間ゲート：config.open_scan_until（env OPEN_SCAN_UNTIL）を要求時に評価＝終了後は 200 のまま\n  「受付終了」表示へ切り替わる（410 にしない＝sitemap・PAGE_DATES・各スイートの時限爆弾を作らない）。\n  **要求時評価のため、プリレンダ／エッジ配信（paths.json）の対象にしない**（焼き込むと終了日を\n  過ぎてもフォームが出続ける）。\n- 事案一覧・統計・期限の表示は api/open_scan.py が単一ソース（HTML に件数・日付を直書きしない）。","operationId":"free_scan_page_free_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Free Scan Page","description":"期間限定の無料セキュリティ診断 特設LP（2026-10-16・index 可）。\n\n相次ぐ大規模情報漏洩（2026年9〜10月）と政府・JPCERT/CC の注意喚起を受け、通常は公開ページから\n到達しない診断ツール /scan を**期間限定で一般開放**する唯一の公開導線。hero のフォームが\nGET /scan?url=<入力値> で遷移し、sitedock.js が ?url= を引き継いで診断を自動開始する\n（/scan 自体は従来どおり noindex・sitemap 非掲載）。\n\n- 期間ゲート：config.open_scan_until（env OPEN_SCAN_UNTIL）を要求時に評価＝終了後は 200 のまま\n  「受付終了」表示へ切り替わる（410 にしない＝sitemap・PAGE_DATES・各スイートの時限爆弾を作らない）。\n  **要求時評価のため、プリレンダ／エッジ配信（paths.json）の対象にしない**（焼き込むと終了日を\n  過ぎてもフォームが出続ける）。\n- 事案一覧・統計・期限の表示は api/open_scan.py が単一ソース（HTML に件数・日付を直書きしない）。","operationId":"free_scan_page_free_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","description":"旧 利用規約は 2026-11-09 にサービス利用約款へ統合（第28条〜第33条＝無料診断・サイト閲覧の特則）。\n同日いったん /terms/service への 301 としたが、オーナー判断（2026-11-09）で**削除**＝410 Gone\n（/preview と同じ扱い・検索エンジンにも早く落ちる）。明示ルートで持つ＝末尾スラッシュの 301 に吸わせない。\n正本は /terms/service（同意記録の版＝pagedates の /terms/service）。","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Terms","description":"旧 利用規約は 2026-11-09 にサービス利用約款へ統合（第28条〜第33条＝無料診断・サイト閲覧の特則）。\n同日いったん /terms/service への 301 としたが、オーナー判断（2026-11-09）で**削除**＝410 Gone\n（/preview と同じ扱い・検索エンジンにも早く落ちる）。明示ルートで持つ＝末尾スラッシュの 301 に吸わせない。\n正本は /terms/service（同意記録の版＝pagedates の /terms/service）。","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/terms/service":{"get":{"summary":"Terms Service","operationId":"terms_service_terms_service_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Terms Service","operationId":"terms_service_terms_service_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms/partner":{"get":{"summary":"Terms Partner","operationId":"terms_partner_terms_partner_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Terms Partner","operationId":"terms_partner_terms_partner_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms/sla":{"get":{"summary":"Terms Sla","operationId":"terms_sla_terms_sla_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Terms Sla","operationId":"terms_sla_terms_sla_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/faq":{"get":{"summary":"Faq Page","operationId":"faq_page_faq_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Faq Page","operationId":"faq_page_faq_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/autofix/":{"get":{"summary":"Autofix Page","description":"旧「自動修復」サービス紹介ページはトップへ統合のうえ 301（ブランド統一 Phase 3・確定方針）。\n\n本文はほぼそのままトップ（/）へ移設したため、リダイレクト先に等価コンテンツが存在する\n＝ソフト404扱いにならず評価を引き継げる（指示書 §3.1）。実施条件：\n  (1) 恒久設置（最低1年）  (2) 302 ではなく 301  (3) 新トップに #how-it-works・#form・\n  #foundation・#plans・#service の同名アンカーを維持  (4) 内部リンクは 301 頼みにせず\n  直接 / へ張り替え済み。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid 等）は明示パススルーで温存する（広告・計測の互換）。\nLP刷新§3（2026-10-03）：9つの守り・仕組み・土台・導入の流れはトップから /service へ移設した＝\n旧 /autofix の本文の受け皿は /service になったため、301 先を /service へ変更。同名アンカー\n（#how-it-works・#form・#foundation・#plans・#service・#flow）は /service に揃えている。","operationId":"autofix_page_autofix__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Autofix Page","description":"旧「自動修復」サービス紹介ページはトップへ統合のうえ 301（ブランド統一 Phase 3・確定方針）。\n\n本文はほぼそのままトップ（/）へ移設したため、リダイレクト先に等価コンテンツが存在する\n＝ソフト404扱いにならず評価を引き継げる（指示書 §3.1）。実施条件：\n  (1) 恒久設置（最低1年）  (2) 302 ではなく 301  (3) 新トップに #how-it-works・#form・\n  #foundation・#plans・#service の同名アンカーを維持  (4) 内部リンクは 301 頼みにせず\n  直接 / へ張り替え済み。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid 等）は明示パススルーで温存する（広告・計測の互換）。\nLP刷新§3（2026-10-03）：9つの守り・仕組み・土台・導入の流れはトップから /service へ移設した＝\n旧 /autofix の本文の受け皿は /service になったため、301 先を /service へ変更。同名アンカー\n（#how-it-works・#form・#foundation・#plans・#service・#flow）は /service に揃えている。","operationId":"autofix_page_autofix__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/autofix":{"get":{"summary":"Autofix Page","description":"旧「自動修復」サービス紹介ページはトップへ統合のうえ 301（ブランド統一 Phase 3・確定方針）。\n\n本文はほぼそのままトップ（/）へ移設したため、リダイレクト先に等価コンテンツが存在する\n＝ソフト404扱いにならず評価を引き継げる（指示書 §3.1）。実施条件：\n  (1) 恒久設置（最低1年）  (2) 302 ではなく 301  (3) 新トップに #how-it-works・#form・\n  #foundation・#plans・#service の同名アンカーを維持  (4) 内部リンクは 301 頼みにせず\n  直接 / へ張り替え済み。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid 等）は明示パススルーで温存する（広告・計測の互換）。\nLP刷新§3（2026-10-03）：9つの守り・仕組み・土台・導入の流れはトップから /service へ移設した＝\n旧 /autofix の本文の受け皿は /service になったため、301 先を /service へ変更。同名アンカー\n（#how-it-works・#form・#foundation・#plans・#service・#flow）は /service に揃えている。","operationId":"autofix_page_autofix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Autofix Page","description":"旧「自動修復」サービス紹介ページはトップへ統合のうえ 301（ブランド統一 Phase 3・確定方針）。\n\n本文はほぼそのままトップ（/）へ移設したため、リダイレクト先に等価コンテンツが存在する\n＝ソフト404扱いにならず評価を引き継げる（指示書 §3.1）。実施条件：\n  (1) 恒久設置（最低1年）  (2) 302 ではなく 301  (3) 新トップに #how-it-works・#form・\n  #foundation・#plans・#service の同名アンカーを維持  (4) 内部リンクは 301 頼みにせず\n  直接 / へ張り替え済み。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid 等）は明示パススルーで温存する（広告・計測の互換）。\nLP刷新§3（2026-10-03）：9つの守り・仕組み・土台・導入の流れはトップから /service へ移設した＝\n旧 /autofix の本文の受け皿は /service になったため、301 先を /service へ変更。同名アンカー\n（#how-it-works・#form・#foundation・#plans・#service・#flow）は /service に揃えている。","operationId":"autofix_page_autofix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/waf/":{"get":{"summary":"Waf Page","description":"旧 WAF LP は /ec-guideline へ 301 統合（サイト改修 Phase 5・設計書 §4.6/TBD-5）。\n\nWAF 義務化（PCI DSS 6.4.2 等）の内容は /ec-guideline の #waf セクションが受け皿。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid/従来の ?from= 等）は明示パススルーで温存する（広告・計測の互換）。\n404 化は禁止・多段転送は作らない（受け入れ基準）。","operationId":"waf_page_waf__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Waf Page","description":"旧 WAF LP は /ec-guideline へ 301 統合（サイト改修 Phase 5・設計書 §4.6/TBD-5）。\n\nWAF 義務化（PCI DSS 6.4.2 等）の内容は /ec-guideline の #waf セクションが受け皿。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid/従来の ?from= 等）は明示パススルーで温存する（広告・計測の互換）。\n404 化は禁止・多段転送は作らない（受け入れ基準）。","operationId":"waf_page_waf__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/waf":{"get":{"summary":"Waf Page","description":"旧 WAF LP は /ec-guideline へ 301 統合（サイト改修 Phase 5・設計書 §4.6/TBD-5）。\n\nWAF 義務化（PCI DSS 6.4.2 等）の内容は /ec-guideline の #waf セクションが受け皿。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid/従来の ?from= 等）は明示パススルーで温存する（広告・計測の互換）。\n404 化は禁止・多段転送は作らない（受け入れ基準）。","operationId":"waf_page_waf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Waf Page","description":"旧 WAF LP は /ec-guideline へ 301 統合（サイト改修 Phase 5・設計書 §4.6/TBD-5）。\n\nWAF 義務化（PCI DSS 6.4.2 等）の内容は /ec-guideline の #waf セクションが受け皿。\nリダイレクト先はアンカー無しの本体（301 のアンカー保持はクライアント依存のため）。\nクエリ（utm/gclid/従来の ?from= 等）は明示パススルーで温存する（広告・計測の互換）。\n404 化は禁止・多段転送は作らない（受け入れ基準）。","operationId":"waf_page_waf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/wordpress":{"get":{"summary":"Wordpress Page","operationId":"wordpress_page_wordpress_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Wordpress Page","operationId":"wordpress_page_wordpress_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/data-breach":{"get":{"summary":"Data Breach Page","description":"情報漏洩対策の課題特化LP（第三弾・2026-10-15・index 可）。\n\nターゲット＝会員情報（数万〜数十万人）を扱う**自社開発**のWebサイト・Webアプリの運用者で、\n「原因を問わず情報漏洩を防ぎたい・費用より効果」という相談をする層。LLMO の狙いは\n「公開サイトからの情報漏洩を防ぐ製品・サービスは？」型の自然文クエリ（`docs/llmo-benchmark.md` Q11）。\n/wordpress を“型”として 1:1 でミラーし、ペルソナ依存の中身（コピー・公表事案の3つの手口・\n名指し所見・プランの使い分け）だけ差し替える。共有部品は SD_TRUST/SD_FLOW をそのまま再利用、\nSD_PAIN/SD_DIFF/SD_LOOP は pain_/diff_/loop_breach.html（WP 用部品を複製して文言だけ差し替えた型）。\n守備範囲は正直に書く＝外部攻撃を経路とする漏えいだけ（誤送信・内部不正・委託先は対象外）。\n価格はスタンダード／プロの両方を設定値から注入（__PRICE_STD__／__PRICE_PRO__）＝直書きしない。","operationId":"data_breach_page_data_breach_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Data Breach Page","description":"情報漏洩対策の課題特化LP（第三弾・2026-10-15・index 可）。\n\nターゲット＝会員情報（数万〜数十万人）を扱う**自社開発**のWebサイト・Webアプリの運用者で、\n「原因を問わず情報漏洩を防ぎたい・費用より効果」という相談をする層。LLMO の狙いは\n「公開サイトからの情報漏洩を防ぐ製品・サービスは？」型の自然文クエリ（`docs/llmo-benchmark.md` Q11）。\n/wordpress を“型”として 1:1 でミラーし、ペルソナ依存の中身（コピー・公表事案の3つの手口・\n名指し所見・プランの使い分け）だけ差し替える。共有部品は SD_TRUST/SD_FLOW をそのまま再利用、\nSD_PAIN/SD_DIFF/SD_LOOP は pain_/diff_/loop_breach.html（WP 用部品を複製して文言だけ差し替えた型）。\n守備範囲は正直に書く＝外部攻撃を経路とする漏えいだけ（誤送信・内部不正・委託先は対象外）。\n価格はスタンダード／プロの両方を設定値から注入（__PRICE_STD__／__PRICE_PRO__）＝直書きしない。","operationId":"data_breach_page_data_breach_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/scs":{"get":{"summary":"Scs Page","description":"SCS評価制度（★3・★4）の「脆弱性の管理体制」訴求LP（2026-10-29・index 可）。\n\n取引先から SCS 評価制度への対応を求められた受託側企業向け。評価基準 3-2-1・4-4-4-2 のうち\n公開Webサイトの範囲だけを、対象外の行も隠さない対応表で示す（指示書\nreference/sitedock-scs-lp-handoff.md）。相談は統合窓口 /contact?type=scs（LP にフォームを置かない）。\n料金は __PLAN_CARDS__（config.PLANS）＝新SKUは作らない。","operationId":"scs_page_scs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Scs Page","description":"SCS評価制度（★3・★4）の「脆弱性の管理体制」訴求LP（2026-10-29・index 可）。\n\n取引先から SCS 評価制度への対応を求められた受託側企業向け。評価基準 3-2-1・4-4-4-2 のうち\n公開Webサイトの範囲だけを、対象外の行も隠さない対応表で示す（指示書\nreference/sitedock-scs-lp-handoff.md）。相談は統合窓口 /contact?type=scs（LP にフォームを置かない）。\n料金は __PLAN_CARDS__（config.PLANS）＝新SKUは作らない。","operationId":"scs_page_scs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/compare/cloud-waf":{"get":{"summary":"Compare Cloud Waf Page","operationId":"compare_cloud_waf_page_compare_cloud_waf_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Compare Cloud Waf Page","operationId":"compare_cloud_waf_page_compare_cloud_waf_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/compare/cloud-waf/":{"get":{"summary":"Compare Cloud Waf Slash","operationId":"compare_cloud_waf_slash_compare_cloud_waf__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Compare Cloud Waf Slash","operationId":"compare_cloud_waf_slash_compare_cloud_waf__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/compare/vuln-scan":{"get":{"summary":"Compare Vuln Scan Page","operationId":"compare_vuln_scan_page_compare_vuln_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Compare Vuln Scan Page","operationId":"compare_vuln_scan_page_compare_vuln_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/compare/vuln-scan/":{"get":{"summary":"Compare Vuln Scan Slash","operationId":"compare_vuln_scan_slash_compare_vuln_scan__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Compare Vuln Scan Slash","operationId":"compare_vuln_scan_slash_compare_vuln_scan__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/compare/ssl-checker":{"get":{"summary":"Compare Ssl Checker Page","operationId":"compare_ssl_checker_page_compare_ssl_checker_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Compare Ssl Checker Page","operationId":"compare_ssl_checker_page_compare_ssl_checker_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/compare/ssl-checker/":{"get":{"summary":"Compare Ssl Checker Slash","operationId":"compare_ssl_checker_slash_compare_ssl_checker__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Compare Ssl Checker Slash","operationId":"compare_ssl_checker_slash_compare_ssl_checker__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tech":{"get":{"summary":"Tech Hub Page","operationId":"tech_hub_page_tech_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Hub Page","operationId":"tech_hub_page_tech_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tech/edge-defense":{"get":{"summary":"Tech Edge Defense Page","operationId":"tech_edge_defense_page_tech_edge_defense_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Edge Defense Page","operationId":"tech_edge_defense_page_tech_edge_defense_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tech/php2shell":{"get":{"summary":"Tech Php2Shell Page","operationId":"tech_php2shell_page_tech_php2shell_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Php2Shell Page","operationId":"tech_php2shell_page_tech_php2shell_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tech/deep-scan":{"get":{"summary":"Tech Deep Scan Page","operationId":"tech_deep_scan_page_tech_deep_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Deep Scan Page","operationId":"tech_deep_scan_page_tech_deep_scan_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tech/ai-crawler-security":{"get":{"summary":"Tech Ai Crawler Page","operationId":"tech_ai_crawler_page_tech_ai_crawler_security_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Ai Crawler Page","operationId":"tech_ai_crawler_page_tech_ai_crawler_security_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tech/ai-search-risk":{"get":{"summary":"Tech Ai Search Risk Page","operationId":"tech_ai_search_risk_page_tech_ai_search_risk_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Ai Search Risk Page","operationId":"tech_ai_search_risk_page_tech_ai_search_risk_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tech/ai-attack-trend":{"get":{"summary":"Tech Ai Attack Trend Page","operationId":"tech_ai_attack_trend_page_tech_ai_attack_trend_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tech Ai Attack Trend Page","operationId":"tech_ai_attack_trend_page_tech_ai_attack_trend_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/ec-guideline":{"get":{"summary":"Ec Guideline Page","operationId":"ec_guideline_page_ec_guideline_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Ec Guideline Page","operationId":"ec_guideline_page_ec_guideline_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/pro":{"get":{"summary":"Pro Page","description":"プロプラン（Webアプリ・APIサーバ向け）の専用ページ（2026-09-05 午後・index 可）。\n\nトップ #plans のプロのカードに 8 行＋注記＋訴求ブロック＋FAQ 5 問を載せていた状態を\n別出しした。プランの定義（要約4行・加わる7項目・注記・価格）は `config._PRO_PLAN` が\n単一ソース＝ここは `plans.pro_page_tokens` で描画素材を受け取るだけで、価格・項目名を\nHTML に直書きしない。トップ側の導線はプランカードの `.plan-more`・#audience の分岐カード・\nFAQ「プロは、どんなサイト向けですか？」・フッタ SERVICE 列。","operationId":"pro_page_pro_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Pro Page","description":"プロプラン（Webアプリ・APIサーバ向け）の専用ページ（2026-09-05 午後・index 可）。\n\nトップ #plans のプロのカードに 8 行＋注記＋訴求ブロック＋FAQ 5 問を載せていた状態を\n別出しした。プランの定義（要約4行・加わる7項目・注記・価格）は `config._PRO_PLAN` が\n単一ソース＝ここは `plans.pro_page_tokens` で描画素材を受け取るだけで、価格・項目名を\nHTML に直書きしない。トップ側の導線はプランカードの `.plan-more`・#audience の分岐カード・\nFAQ「プロは、どんなサイト向けですか？」・フッタ SERVICE 列。","operationId":"pro_page_pro_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/partner":{"get":{"summary":"Partner Page","operationId":"partner_page_partner_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Partner Page","operationId":"partner_page_partner_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/emergency":{"get":{"summary":"Emergency Page","operationId":"emergency_page_emergency_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Emergency Page","operationId":"emergency_page_emergency_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/brand":{"get":{"summary":"Brand Page","operationId":"brand_page_brand_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Brand Page","operationId":"brand_page_brand_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/akari":{"get":{"summary":"Akari Page","operationId":"akari_page_akari_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Akari Page","operationId":"akari_page_akari_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/lab":{"get":{"summary":"Lab Page","operationId":"lab_page_lab_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Lab Page","operationId":"lab_page_lab_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/lab/":{"get":{"summary":"Lab Slash","operationId":"lab_slash_lab__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Lab Slash","operationId":"lab_slash_lab__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/lab/ai-protection":{"get":{"summary":"Lab Ai Protection Page","operationId":"lab_ai_protection_page_lab_ai_protection_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Lab Ai Protection Page","operationId":"lab_ai_protection_page_lab_ai_protection_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/research":{"get":{"summary":"Research Page","operationId":"research_page_research_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Research Page","operationId":"research_page_research_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guide":{"get":{"summary":"Guide Index","operationId":"guide_index_guide_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Guide Index","operationId":"guide_index_guide_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guide/":{"get":{"summary":"Guide Slash","operationId":"guide_slash_guide__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Guide Slash","operationId":"guide_slash_guide__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/guide/{slug}":{"get":{"summary":"Guide Article","operationId":"guide_article_guide__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Guide Article","operationId":"guide_article_guide__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/glossary":{"get":{"summary":"Glossary","operationId":"glossary_glossary_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Glossary","operationId":"glossary_glossary_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/glossary/{slug}":{"get":{"summary":"Glossary Term","operationId":"glossary_term_glossary__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Glossary Term","operationId":"glossary_term_glossary__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tools":{"get":{"summary":"Tools Index","operationId":"tools_index_tools_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Tools Index","operationId":"tools_index_tools_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/tools/{slug}":{"get":{"summary":"Tools Page","operationId":"tools_page_tools__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Tools Page","operationId":"tools_page_tools__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{token}":{"get":{"summary":"Share Page","operationId":"share_page_r__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Share Page","operationId":"share_page_r__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{token}/card.png":{"get":{"summary":"Share Card","operationId":"share_card_r__token__card_png_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Share Card","operationId":"share_card_r__token__card_png_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/badge/{domain}.svg":{"get":{"summary":"Badge Svg","description":"旧・診断済みバッジ（SVG）。**配信停止**（ブランド統一 2026-07-25 §3・確定）。\n\n合格基準が旧・無料診断ベースであり、診断の非公開化と両立しないため制度ごと一旦廃止した。\n**無料診断ベースの一般公開バッジ制度**を将来作り直す場合は新基準で設計し直す。\n※有料契約向けの「修復継続中」バッジ（`/autofix/badge/{host}.svg`）は**別物**（収容中のみ配信）。\n2026-10-29 に新規提供は終了（ポータルの掲示用ペインを廃止）・貼付済みの掲示先のため公開 SVG は温存。本 docstring の「将来」は旧・診断済みバッジ制度のみを指す\n（再レビュー 2026-07-25 P1-3：両者が同一の未実装機能と読める記述だった）。\n埋め込み `<img>` は 404 で自然に消える（ライブ無効化）。\n生成ロジック（src/badge.py）は再実装時の土台として残す。","operationId":"badge_svg_badge__domain__svg_get","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Badge Svg","description":"旧・診断済みバッジ（SVG）。**配信停止**（ブランド統一 2026-07-25 §3・確定）。\n\n合格基準が旧・無料診断ベースであり、診断の非公開化と両立しないため制度ごと一旦廃止した。\n**無料診断ベースの一般公開バッジ制度**を将来作り直す場合は新基準で設計し直す。\n※有料契約向けの「修復継続中」バッジ（`/autofix/badge/{host}.svg`）は**別物**（収容中のみ配信）。\n2026-10-29 に新規提供は終了（ポータルの掲示用ペインを廃止）・貼付済みの掲示先のため公開 SVG は温存。本 docstring の「将来」は旧・診断済みバッジ制度のみを指す\n（再レビュー 2026-07-25 P1-3：両者が同一の未実装機能と読める記述だった）。\n埋め込み `<img>` は 404 で自然に消える（ライブ無効化）。\n生成ロジック（src/badge.py）は再実装時の土台として残す。","operationId":"badge_svg_badge__domain__svg_get","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autofix/badge/{hostname}.svg":{"get":{"summary":"Autofix Badge Svg","description":"「修復継続中」ステータスバッジ（自動修復・設計書§7）。公開SVG。\n\n`autofix_enabled` でゲート（既定オフ＝常に404）。収容中(active)のホストのみ200で配り、\n停止/解約(status≠active)や未収容は404＝埋め込み<img>が自然に消える（ライブ無効化）。\nsitemap 非掲載。既存の診断バッジ `/badge/{domain}.svg` とは別物。","operationId":"autofix_badge_svg_autofix_badge__hostname__svg_get","parameters":[{"name":"hostname","in":"path","required":true,"schema":{"type":"string","title":"Hostname"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"light","title":"Theme"}},{"name":"size","in":"query","required":false,"schema":{"type":"string","default":"md","title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Autofix Badge Svg","description":"「修復継続中」ステータスバッジ（自動修復・設計書§7）。公開SVG。\n\n`autofix_enabled` でゲート（既定オフ＝常に404）。収容中(active)のホストのみ200で配り、\n停止/解約(status≠active)や未収容は404＝埋め込み<img>が自然に消える（ライブ無効化）。\nsitemap 非掲載。既存の診断バッジ `/badge/{domain}.svg` とは別物。","operationId":"autofix_badge_svg_autofix_badge__hostname__svg_get","parameters":[{"name":"hostname","in":"path","required":true,"schema":{"type":"string","title":"Hostname"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","default":"light","title":"Theme"}},{"name":"size","in":"query","required":false,"schema":{"type":"string","default":"md","title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/{domain}":{"get":{"summary":"Verify Page","description":"旧・バッジ検証ページ。**301 → /**（ブランド統一 2026-07-25 §3・確定）。\n\n合格基準が旧・無料診断ベースのため、この**一般公開バッジ制度ごと**一旦廃止した（作り直す\n場合は新基準で設計し直す）。有料契約向けの「修復継続中」バッジは別物（2026-10-29 に新規提供を終了・公開 SVG は温存）。\n404 ではなく 301 にするのは、掲示済みバッジの\nリンクを踏んだ利用者をサービス本体へ着地させるため。クエリは温存。","operationId":"verify_page_verify__domain__get","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Verify Page","description":"旧・バッジ検証ページ。**301 → /**（ブランド統一 2026-07-25 §3・確定）。\n\n合格基準が旧・無料診断ベースのため、この**一般公開バッジ制度ごと**一旦廃止した（作り直す\n場合は新基準で設計し直す）。有料契約向けの「修復継続中」バッジは別物（2026-10-29 に新規提供を終了・公開 SVG は温存）。\n404 ではなく 301 にするのは、掲示済みバッジの\nリンクを踏んだ利用者をサービス本体へ着地させるため。クエリは温存。","operationId":"verify_page_verify__domain__get","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verified":{"get":{"summary":"Verified Directory","description":"旧・診断済みサイト一覧。**301 → /**（バッジ制度の一旦廃止に伴う・§3 確定）。","operationId":"verified_directory_verified_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Verified Directory","description":"旧・診断済みサイト一覧。**301 → /**（バッジ制度の一旦廃止に伴う・§3 確定）。","operationId":"verified_directory_verified_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo":{"get":{"summary":"Demo","description":"営業・パートナー説明用のデモ。実画面をそのまま動かし、APIだけをモックで応答する\n（URL入力→無料診断→所有者確認→精密診断レポート→見積依頼まで操作体験できる。表示は架空データ）。\n構造分離後は診断アプリ本体＝scan.html を demo モードで配信する（入力画面 #s0 は\ndata-action=\"runFree\" のページ内実行のため、demo.js の fetch モックがそのまま効く）。","operationId":"demo_demo_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Demo","description":"営業・パートナー説明用のデモ。実画面をそのまま動かし、APIだけをモックで応答する\n（URL入力→無料診断→所有者確認→精密診断レポート→見積依頼まで操作体験できる。表示は架空データ）。\n構造分離後は診断アプリ本体＝scan.html を demo モードで配信する（入力画面 #s0 は\ndata-action=\"runFree\" のページ内実行のため、demo.js の fetch モックがそのまま効く）。","operationId":"demo_demo_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/download":{"get":{"summary":"Download Page","description":"サービス資料の資料請求ページ（ブランド統一 2026-07-25 Phase 1.4・index 可）。\n\nヘッダー常設のプライマリCTA「資料をダウンロード」の受け皿＝サイト全体のリード獲得点。\nフォームは no-JS の素のPOST（`POST /api/document` → 303 → `/download/thanks`＝routes_leads）。\n旧・直リンク `/sample/sitedock.pdf` は本ページへ 301（フォームゲート化）。","operationId":"download_page_download_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Download Page","description":"サービス資料の資料請求ページ（ブランド統一 2026-07-25 Phase 1.4・index 可）。\n\nヘッダー常設のプライマリCTA「資料をダウンロード」の受け皿＝サイト全体のリード獲得点。\nフォームは no-JS の素のPOST（`POST /api/document` → 303 → `/download/thanks`＝routes_leads）。\n旧・直リンク `/sample/sitedock.pdf` は本ページへ 301（フォームゲート化）。","operationId":"download_page_download_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/download/":{"get":{"summary":"Download Slash","operationId":"download_slash_download__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Download Slash","operationId":"download_slash_download__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/contact":{"get":{"summary":"Contact Page","description":"お問い合わせページ（統合窓口・LP刷新§5）。\n\nヘッダー常設CTA「お問い合わせ」の受け皿＝サイト全体の相談・申込の**単一の着地点**。\n`?type=consult|document|trial|partner` でご用件を初期選択し（サーバ側で selected・JS不要）、\n`?from=` で流入元を引き継ぐ。送信は `POST /api/contact` が type で既存の受付経路へ振り分ける\n（JS 有効時は type=consult のときだけ autofix.js が /api/consult へ横取り＝診断文脈を温存）。","operationId":"contact_page_contact_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Contact Page","description":"お問い合わせページ（統合窓口・LP刷新§5）。\n\nヘッダー常設CTA「お問い合わせ」の受け皿＝サイト全体の相談・申込の**単一の着地点**。\n`?type=consult|document|trial|partner` でご用件を初期選択し（サーバ側で selected・JS不要）、\n`?from=` で流入元を引き継ぐ。送信は `POST /api/contact` が type で既存の受付経路へ振り分ける\n（JS 有効時は type=consult のときだけ autofix.js が /api/consult へ横取り＝診断文脈を温存）。","operationId":"contact_page_contact_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/contact/":{"get":{"summary":"Contact Slash","operationId":"contact_slash_contact__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Contact Slash","operationId":"contact_slash_contact__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/trial":{"get":{"summary":"Trial Page","description":"無料トライアル申込ページ（2026-07-26 オーナー指示・index 可）。\n\nヘッダー常設CTA「無料トライアル」の受け皿＝評価導入の入口。/contact・/download と対称の\n専用フォームページで、送信は no-JS の素のPOST（`POST /api/trial` → 303 → `/trial/thanks`\n＝routes_leads）。条件（期間1ヶ月／ヒアリングシート提出から約5営業日／DNS切替→評価→\nレポート→DNS復旧）はオーナー指示の確定稿＝trial_test がスナップショット検査する。","operationId":"trial_page_trial_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Trial Page","description":"無料トライアル申込ページ（2026-07-26 オーナー指示・index 可）。\n\nヘッダー常設CTA「無料トライアル」の受け皿＝評価導入の入口。/contact・/download と対称の\n専用フォームページで、送信は no-JS の素のPOST（`POST /api/trial` → 303 → `/trial/thanks`\n＝routes_leads）。条件（期間1ヶ月／ヒアリングシート提出から約5営業日／DNS切替→評価→\nレポート→DNS復旧）はオーナー指示の確定稿＝trial_test がスナップショット検査する。","operationId":"trial_page_trial_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/trial/":{"get":{"summary":"Trial Slash","operationId":"trial_slash_trial__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Trial Slash","operationId":"trial_slash_trial__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sample/sitedock.pdf":{"get":{"summary":"Sample Sitedock Pdf","description":"旧・サンプルレポートPDFの直リンク。資料請求ページへ 301（ブランド統一 Phase 1.4）。\n\n競合3社と同様に資料はフォーム経由の配布へ変更した（直リンクDLはリード獲得点にならない）。\n生成ロジック（report.sample）自体は /admin・テストで使うため残す。\nクエリ（utm/gclid 等）は明示パススルーで温存する（広告・計測の互換）。","operationId":"sample_sitedock_pdf_sample_sitedock_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Sample Sitedock Pdf","description":"旧・サンプルレポートPDFの直リンク。資料請求ページへ 301（ブランド統一 Phase 1.4）。\n\n競合3社と同様に資料はフォーム経由の配布へ変更した（直リンクDLはリード獲得点にならない）。\n生成ロジック（report.sample）自体は /admin・テストで使うため残す。\nクエリ（utm/gclid 等）は明示パススルーで温存する（広告・計測の互換）。","operationId":"sample_sitedock_pdf_sample_sitedock_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sample/free.pdf":{"get":{"summary":"Sample Free Pdf","description":"無料診断（パッシブ）のサンプルレポート(PDF)。デモ(/demo)の「レポートをダウンロード」用。","operationId":"sample_free_pdf_sample_free_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"summary":"Sample Free Pdf","description":"無料診断（パッシブ）のサンプルレポート(PDF)。デモ(/demo)の「レポートをダウンロード」用。","operationId":"sample_free_pdf_sample_free_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/preview/{path}":{"get":{"summary":"Preview Gone","operationId":"preview_gone_preview__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Preview Gone","operationId":"preview_gone_preview__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preview":{"get":{"summary":"Preview Gone","operationId":"preview_gone_preview_get","parameters":[{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Preview Gone","operationId":"preview_gone_preview_get","parameters":[{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{key}.txt":{"get":{"summary":"Indexnow Key File","operationId":"indexnow_key_file__key__txt_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Indexnow Key File","operationId":"indexnow_key_file__key__txt_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/v1/heartbeat":{"post":{"summary":"Agent Heartbeat","description":"死活とメタ情報（版・モード・監視対象・キュー長・一時停止）の定期報告（60秒ごと）。","operationId":"agent_heartbeat_api_agent_v1_heartbeat_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/v1/events":{"post":{"summary":"Agent Events","description":"ファイル変更イベントのバッチ受理（追加専用）。判定は RQ ジョブへ回す。","operationId":"agent_events_api_agent_v1_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dl/setup/agent/{code}":{"get":{"summary":"Setup Agent","description":"検知エージェントの自己完結セットアップスクリプト（配布物を base64 で内包）。\n\n埋め込むのは**登録コードだけ**でトークンは入らない（トークンは enroll の応答で渡る）。","operationId":"setup_agent_dl_setup_agent__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Setup Agent","description":"検知エージェントの自己完結セットアップスクリプト（配布物を base64 で内包）。\n\n埋め込むのは**登録コードだけ**でトークンは入らない（トークンは enroll の応答で渡る）。","operationId":"setup_agent_dl_setup_agent__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agent/v1/enroll":{"post":{"summary":"Agent Enroll","description":"登録コード → エージェントトークン（平文を1回だけ返す）。Bearer は不要。","operationId":"agent_enroll_api_agent_v1_enroll_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dl/setup/tunnel/{code}":{"get":{"summary":"Setup Tunnel","description":"cloudflared の自己完結セットアップスクリプト（**トンネルトークンを含む＝秘密**）。\n\nagent 側と違って交換方式が採れない（cloudflared はトークンの直渡し以外に登録手段が無い）\n＝スクリプトそのものを秘密として扱う：24 時間・`no-store`・登録コードを知る相手だけ。","operationId":"setup_tunnel_dl_setup_tunnel__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Setup Tunnel","description":"cloudflared の自己完結セットアップスクリプト（**トンネルトークンを含む＝秘密**）。\n\nagent 側と違って交換方式が採れない（cloudflared はトークンの直渡し以外に登録手段が無い）\n＝スクリプトそのものを秘密として扱う：24 時間・`no-store`・登録コードを知る相手だけ。","operationId":"setup_tunnel_dl_setup_tunnel__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tunnel/v1/ping":{"post":{"summary":"Tunnel Ping","description":"導入スクリプトからの接続確認。CF 側の状態を取り直して「接続中」まで進める。","operationId":"tunnel_ping_api_tunnel_v1_ping_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tunnel/v1/state":{"post":{"summary":"Tunnel State","description":"`sitedock-tunnel confirm` / `unlock` からの状態通知（locked ⇄ connected）。","operationId":"tunnel_state_api_tunnel_v1_state_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/cache/purge":{"post":{"summary":"Api Cache Purge","operationId":"api_cache_purge_api_v1_cache_purge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cache":{"get":{"summary":"Api Cache Status","operationId":"api_cache_status_api_v1_cache_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Api Cache Status","operationId":"api_cache_status_api_v1_cache_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BadgeListBody":{"properties":{"url":{"type":"string","title":"Url"},"scan_token":{"type":"string","title":"Scan Token"},"listed":{"type":"boolean","title":"Listed","default":true}},"type":"object","required":["url","scan_token"],"title":"BadgeListBody"},"ConsultBody":{"properties":{"company":{"type":"string","title":"Company"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email","default":""},"options":{"items":{"type":"string"},"type":"array","title":"Options","default":[]},"url":{"type":"string","title":"Url","default":""},"job_id":{"type":"string","title":"Job Id","default":""},"free_summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Free Summary"},"consult_pass":{"type":"string","title":"Consult Pass","default":""},"subject_type":{"type":"string","title":"Subject Type","default":""},"role":{"type":"string","title":"Role","default":""},"scale":{"type":"string","title":"Scale","default":""},"kind":{"type":"string","pattern":"^(autofix|ai_protection_poc)?$","title":"Kind","default":""},"message":{"type":"string","title":"Message","default":""},"autofix_context":{"type":"string","title":"Autofix Context","default":""},"website":{"type":"string","title":"Website","default":""},"form_token":{"type":"string","title":"Form Token","default":""},"poc_stance":{"type":"string","title":"Poc Stance","default":""},"poc_sites":{"type":"string","title":"Poc Sites","default":""},"poc_interests":{"items":{"type":"string"},"type":"array","title":"Poc Interests","default":[]},"poc_agreed":{"type":"boolean","title":"Poc Agreed","default":false}},"type":"object","required":["company","name"],"title":"ConsultBody"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"PushSubBody":{"properties":{"job_id":{"type":"string","title":"Job Id"},"subscription":{"additionalProperties":true,"type":"object","title":"Subscription"}},"type":"object","required":["job_id","subscription"],"title":"PushSubBody"},"ReportRequestBody":{"properties":{"kind":{"type":"string","pattern":"^(free|detail)$","title":"Kind","default":"free"},"company":{"type":"string","title":"Company","default":""},"name":{"type":"string","title":"Name","default":""},"email":{"type":"string","title":"Email","default":""},"consult_pass":{"type":"string","title":"Consult Pass","default":""},"job_id":{"type":"string","title":"Job Id","default":""},"url":{"type":"string","title":"Url","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","title":"ReportRequestBody","description":"レポートPDFのダウンロード申込（メールナーチャリング）。必須はメールのみ\n（会社名・お名前は任意＝「会員登録不要」の訴求と整合。空文字で保存・通知可）。\nWeb上では即時DLさせず、入力メール宛にDLリンクを配送する（/api/report-request）。"},"ScanCreate":{"properties":{"target_url":{"type":"string","title":"Target Url"},"system_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,32}$","title":"System Id"},"system_name":{"type":"string","title":"System Name"},"target_ip":{"type":"string","title":"Target Ip","default":""},"scan_date":{"type":"string","title":"Scan Date","default":""},"aggressive":{"type":"boolean","title":"Aggressive","default":false},"skip":{"items":{"type":"string"},"type":"array","title":"Skip","default":[]}},"type":"object","required":["target_url","system_id","system_name"],"title":"ScanCreate"},"SitedockScanBody":{"properties":{"url":{"type":"string","title":"Url"},"scan_token":{"type":"string","title":"Scan Token"},"system_name":{"type":"string","title":"System Name","default":""},"consent":{"type":"boolean","title":"Consent","default":false}},"type":"object","required":["url","scan_token"],"title":"SitedockScanBody"},"UrlBody":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"UrlBody"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyBody":{"properties":{"url":{"type":"string","title":"Url"},"method":{"type":"string","pattern":"^(meta|dns)$","title":"Method"}},"type":"object","required":["url","method"],"title":"VerifyBody"}}}}