{"openapi":"3.1.0","info":{"title":"BSScripter Web Portal","description":"BSScripter web portal — static web + BSBook API + auth API (V0.2 Phase 1 T1·T2)","version":"0.2.0"},"paths":{"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/logs":{"get":{"summary":"Get Logs","operationId":"get_logs_api_logs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string","default":"200","title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/books":{"get":{"summary":"Get Books","operationId":"get_books_api_books_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/books/{book_id}":{"get":{"summary":"Get Book","operationId":"get_book_api_books__book_id__get","parameters":[{"name":"book_id","in":"path","required":true,"schema":{"type":"string","title":"Book Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/book/resolve":{"post":{"summary":"Resolve Book","operationId":"resolve_book_api_book_resolve_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/verify":{"post":{"summary":"Auth Verify","operationId":"auth_verify_api_auth_verify_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/request":{"post":{"summary":"Auth Request","operationId":"auth_request_api_auth_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/status":{"get":{"summary":"Auth Status","description":"WPF 진입 판정 (fail-closed).\n\nA3부터 `allowed` 의 기준은 `Approved` 가 아니라 **`scripter.use` 보유**다.\n필드 이름과 형태는 그대로 두었다 — 구버전 앱은 `allowed` 만 읽으므로 무변경으로 돈다.\n\n다만 A3 이전에는 없던 조합이 하나 생긴다 — **status=Approved 인데 allowed=false**\n(승인은 됐지만 BS Scripter 기능이 없음). 배포된 앱의 거부 문구는 status 로 분기하므로\n이 경우 \"사용 권한이 확인되지 않았습니다\"라는 엉뚱한 안내가 뜬다. 앱을 다시 배포하지 않고\n고치기 위해 `message` 를 함께 내려보낸다 — 앱이 그 fallback 문구 뒤에 서버 메시지를 붙인다.","operationId":"auth_status_api_auth_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/users":{"get":{"summary":"List Users","operationId":"list_users_api_admin_users_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/users/{user_id}/approve":{"post":{"summary":"Approve User","description":"승인 + 기능 부여. 본문이 없으면 기본 세트(설계 §4.4.9 D8).","operationId":"approve_user_api_admin_users__user_id__approve_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FeatureSelection"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/reject":{"post":{"summary":"Reject User","operationId":"reject_user_api_admin_users__user_id__reject_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/users/{user_id}/revoke":{"post":{"summary":"Revoke User","operationId":"revoke_user_api_admin_users__user_id__revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/features":{"get":{"summary":"List Features","description":"기능 카탈로그 — 화면이 체크박스를 그리는 데 쓴다.","operationId":"list_features_api_admin_features_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/users/{user_id}/permissions":{"get":{"summary":"Get User Permissions","operationId":"get_user_permissions_api_admin_users__user_id__permissions_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Set User Permissions","description":"계정의 기능 목록을 통째로 교체한다 (A5).\n\n목록에서 빠진 기능은 행 삭제가 아니라 deny 로 남는다 — 나중에 역할이 붙었을 때\n관리자가 뺀 기능이 조용히 되살아나면 안 된다(설계 §4.4.5).","operationId":"set_user_permissions_api_admin_users__user_id__permissions_put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureSelection"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/scripter-settings":{"get":{"summary":"Get Scripter Settings","operationId":"get_scripter_settings_api_admin_scripter_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Put Scripter Settings","operationId":"put_scripter_settings_api_admin_scripter_settings_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScripterSettingsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/master-key":{"get":{"summary":"Get Master Key Status","description":"모든 저장소의 마스터 키 상태. 키 자체는 어디에도 실리지 않는다.","operationId":"get_master_key_status_api_admin_master_key_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Change Master Key","description":"모든 저장소의 마스터 키 암호를 같은 값으로 바꾼다.\n\n저장된 시크릿 데이터는 다시 암호화하지 않는다 — 각 저장소가 자기 마스터 키를\n새 암호로 다시 감쌀 뿐이다.\n\n일부만 성공해도 200 으로 돌려준다. 부분 성공은 오류가 아니라 **운영자가 반드시\n봐야 하는 상태**이기 때문이다 — 어느 저장소가 어느 암호를 쓰는지 알아야\n환경변수를 어떻게 맞출지 판단할 수 있다.","operationId":"change_master_key_api_admin_master_key_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MasterKeyChangeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/updates/manifest":{"get":{"summary":"Get Manifest","description":"최신 버전 매니페스트. 아직 게시된 것이 없으면 404.","operationId":"get_manifest_api_updates_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/updates/download/{version}":{"get":{"summary":"Download Package","operationId":"download_package_api_updates_download__version__get","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/updates/setup/info":{"get":{"summary":"Setup Info","description":"콘솔이 BS Scripter 화면을 그리는 데 쓰는 정보 — 설치본 유무·최신 버전·수정 이력.","operationId":"setup_info_api_updates_setup_info_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/updates/setup":{"get":{"summary":"Download Setup","description":"부트스트랩 설치본 — **`scripter.download` 보유자만** 받을 수 있다 (A2).\n\n패키지(zip)와 달리 이건 사람이 콘솔에서 받는 것이라 로그인 상태가 보장된다.\n설치본이 서버에서 패키지를 받는 경로는 여전히 공개다 — 설치 시점에는\n아직 로그인 전이라 토큰을 가질 수 없기 때문이다(설계 §4.1).","operationId":"download_setup_api_updates_setup_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/updates/versions":{"get":{"summary":"List Versions","description":"관리자용 버전 목록. versions는 호환용 문자열 배열, history는 notes 포함 이력.","operationId":"list_versions_api_updates_versions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/updates/publish":{"post":{"summary":"Publish","description":"새 버전을 게시한다. 게시 스크립트(T3)가 호출한다.","operationId":"publish_api_updates_publish_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_publish_api_updates_publish_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/android/{app_id}/info":{"get":{"summary":"App Info","description":"콘솔이 앱 화면을 그리는 데 쓰는 정보 — 최신 버전·크기·수정 이력 전체.","operationId":"app_info_api_android__app_id__info_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/android/{app_id}/download":{"get":{"summary":"Download Latest","operationId":"download_latest_api_android__app_id__download_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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-usage":{"get":{"summary":"Get Agent Usage","operationId":"get_agent_usage_api_agent_usage_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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-usage/{engine}/refresh":{"post":{"summary":"Refresh Agent Usage","operationId":"refresh_agent_usage_api_agent_usage__engine__refresh_post","parameters":[{"name":"engine","in":"path","required":true,"schema":{"type":"string","title":"Engine"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/harness":{"get":{"summary":"Get Harness","operationId":"get_harness_api_admin_harness_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Save Harness","operationId":"save_harness_api_admin_harness_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/harness/revisions":{"get":{"summary":"List Revisions","operationId":"list_revisions_api_admin_harness_revisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/harness/revisions/{revision}":{"get":{"summary":"Read Revision","operationId":"read_revision_api_admin_harness_revisions__revision__get","parameters":[{"name":"revision","in":"path","required":true,"schema":{"type":"integer","title":"Revision"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/harness/revert":{"post":{"summary":"Revert Harness","operationId":"revert_harness_api_admin_harness_revert_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/agent-seats":{"get":{"summary":"List Agent Seats","operationId":"list_agent_seats_api_admin_agent_seats_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/agent-seats/{target}/check":{"post":{"summary":"Check Agent Seats","operationId":"check_agent_seats_api_admin_agent_seats__target__check_post","parameters":[{"name":"target","in":"path","required":true,"schema":{"type":"string","title":"Target"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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/agent-seats/{target}/{user_id}":{"delete":{"summary":"Release Agent Seat","operationId":"release_agent_seat_api_admin_agent_seats__target___user_id__delete","parameters":[{"name":"target","in":"path","required":true,"schema":{"type":"string","title":"Target"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/docs/manifest":{"get":{"tags":["docs"],"summary":"Docs Manifest","description":"현재 배포된 명세서의 버전과 최근 배포 이력.","operationId":"docs_manifest_api_docs_manifest_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/docs/session":{"post":{"tags":["docs"],"summary":"Docs Session","description":"문서 열람용 단기 쿠키 발급.\n\n권한 판정은 여기서 끝난다 — 이후 문서 경로는 이 쿠키만 본다.","operationId":"docs_session_api_docs_session_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"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":{"Body_publish_api_updates_publish_post":{"properties":{"manifest":{"type":"string","title":"Manifest"},"package":{"type":"string","format":"binary","title":"Package"},"overwrite":{"type":"boolean","title":"Overwrite","default":false}},"type":"object","required":["manifest","package"],"title":"Body_publish_api_updates_publish_post"},"FeatureSelection":{"properties":{"features":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Features"}},"type":"object","title":"FeatureSelection","description":"승인·권한 편집이 받는 기능 목록. 없으면(None) 기본 세트를 뜻한다."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MasterKeyChangeBody":{"properties":{"new_passphrase":{"type":"string","title":"New Passphrase"}},"type":"object","required":["new_passphrase"],"title":"MasterKeyChangeBody"},"ScripterSettingsBody":{"properties":{"job_lock_grace_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Lock Grace Seconds"},"lock_heartbeat_interval_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lock Heartbeat Interval Seconds"},"content_lock_poll_interval_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Lock Poll Interval Seconds"},"heartbeat_stale_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heartbeat Stale Seconds"},"presence_grace_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Presence Grace Seconds"},"presence_heartbeat_interval_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Presence Heartbeat Interval Seconds"},"update_check_interval_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Update Check Interval Seconds"}},"type":"object","title":"ScripterSettingsBody"},"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"}}}}