Circle V2 API Docs
    Preparing search index...

    Function encodeContextSources

    • Encode normalized context sources back to the canonical at-rest snake_case shape. All v2 writes go through this so camelCase (or any other historical variant) is never persisted. NOTE: this is canonicalizing, not lossless — keys outside the normalized five are dropped by normalizeContextSources and therefore never re-persisted.

      Parameters

      Returns EncodedContextSource[]