Fast Ref / API Reference / Query

check_file_status()

下载 Markdown

Usage Example — Reload Only If Changed

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
status = api.check_file_status()

if any(s['status'] == 'outdated' for s in status['data']):
    result = api.reload_all_references()
    print(result['message'])  # e.g. "Reload complete: 3 succeeded, 0 failed, 0 skipped"
💬

Need help with the API?

Open a support ticket or join the community discussion.

联系支持