Fast Ref / API Reference / Manage

reload_outdated_references()

Download Markdown

Reloads only the OUTDATED (changed source file) references. v2 new method.

Signature

api.reload_outdated_references() -> dict

Return Value

{
    "success": bool,
    "message": str,
    "success_count": int,
    "failed_count": int,
    "skipped_count": int,
}

If no OUTDATED references exist, returns a completion message.

Example

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
result = api.reload_outdated_references()

print(result['message'])
# e.g. "Reload complete: 2 succeeded, 0 failed, 0 skipped"

Note: reload_all_references() targets all references, while this method reloads only OUTDATED ones. Useful when you want to minimize unnecessary reloads.


💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support