FileMaker Data API Tools API - v1.8.0
    Preparing search index...

    Class FMClient

    Index
    • Visible for testing. Returns true if the in-memory issuance window indicates the token needs refresh.

      Behavior:

      • If refreshLeadMs is 0, proactive timed refresh is disabled (rely on 401-retry only).
      • If issuedAt is unknown (e.g., extension restart), reuse the persisted token instead of forcing refresh — the 401-retry path handles real expiry.
      • Clock skew (negative ageMs) is treated as 0 to prevent extending lifetime via clock jumps.
      • If refreshLeadMs >= maxAgeMs, lifetime is clamped to maxAgeMs to avoid infinite refresh loops.

      Parameters

      • profileId: string
      • now: number = ...

      Returns boolean

    • Runs a FileMaker script the way the Claris Data API Guide documents it ("Run a script", https://help.claris.com/en/data-api-guide/content/run-a-script.html):

      GET /fmi/data//databases//layouts//script/