Skip to content

Sync OpenAPI Schema (17865) - schema: Add battery_charging attribute#418

Merged
JuroUhlar merged 4 commits into
mainfrom
sync-17865
Jul 16, 2026
Merged

Sync OpenAPI Schema (17865) - schema: Add battery_charging attribute#418
JuroUhlar merged 4 commits into
mainfrom
sync-17865

Conversation

@fingerprint-dx-team-actions-runner

Copy link
Copy Markdown
Contributor

This PR automatically updates the OpenAPI schema.

Changes

3 file(s) modified, 1 file(s) added

Modified files
  • schemas/components/schemas/smartsignals/RawDeviceAttributes.yaml
  • schemas/components/schemas/smartsignals/raw_device_attributes/BatteryLevel.yaml
  • schemas/paths/events.yaml
Added files
  • schemas/components/schemas/smartsignals/raw_device_attributes/BatteryCharging.yaml

Note for reviewers: Please review the schema changes.
You likely need to manually add a changeset file to this branch before merging.

@fingerprint-dx-team-actions-runner

Copy link
Copy Markdown
Contributor Author

✅The changes have been finalized. This PR is ready for review.

@changeset-bot

changeset-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cbf28c2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
fingerprint-pro-server-api-openapi Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Schema Diff vs Published Schemas

  • Generated at: 2026-07-16T09:13:51.233Z
  • Published source: https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas
  • Compared schemas: 8
  • Changed schemas: 3

fingerprint-server-api-v4-normalized.yaml

Published URL: https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api-v4-normalized.yaml
Summary: +2 added, -0 removed, ~1 modified

Added elements (2)
  • /components/schemas/BatteryCharging
  • /components/schemas/RawDeviceAttributes/properties/battery_charging
Removed elements (0)

None

Modified elements (1)
  • /components/schemas/BatteryLevel/description
Changed lines patch
--- a/schemas/fingerprint-server-api-v4-normalized.yaml
+++ b/schemas/fingerprint-server-api-v4-normalized.yaml
@@ -2901,12 +2901,17 @@
       minimum: 0
       maximum: 100
       examples:
         - 75
       description: >-
-        Battery charge level as a percentage (0-100). Available only for Android
-        and iOS devices.
+        Battery charge level as a percentage (0-100). Available for Android,
+        iOS, and web devices. On web, only available in Chromium-based browsers.
+    BatteryCharging:
+      type: boolean
+      description: >-
+        When `true`, the device is currently charging. Available only for web
+        devices on Chromium-based browsers.
     BatteryLowPowerMode:
       type: boolean
       description: >-
         Whether the device's low power mode is enabled. Available only for
         Android and iOS devices.
@@ -2976,10 +2981,12 @@
           $ref: '#/components/schemas/FontHash'
         timezone_offset:
           $ref: '#/components/schemas/TimezoneOffset'
         battery_level:
           $ref: '#/components/schemas/BatteryLevel'
+        battery_charging:
+          $ref: '#/components/schemas/BatteryCharging'
         battery_low_power_mode:
           $ref: '#/components/schemas/BatteryLowPowerMode'
     Labels:
       type: array
       items:

fingerprint-server-api-v4-with-examples.yaml

Published URL: https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api-v4-with-examples.yaml
Summary: +2 added, -0 removed, ~1 modified

Added elements (2)
  • /components/schemas/BatteryCharging
  • /components/schemas/RawDeviceAttributes/properties/battery_charging
Removed elements (0)

None

Modified elements (1)
  • /components/schemas/BatteryLevel/description
Changed lines patch
--- a/schemas/fingerprint-server-api-v4-with-examples.yaml
+++ b/schemas/fingerprint-server-api-v4-with-examples.yaml
@@ -4616,12 +4616,17 @@
       minimum: 0
       maximum: 100
       examples:
         - 75
       description: >-
-        Battery charge level as a percentage (0-100). Available only for Android
-        and iOS devices.
+        Battery charge level as a percentage (0-100). Available for Android,
+        iOS, and web devices. On web, only available in Chromium-based browsers.
+    BatteryCharging:
+      type: boolean
+      description: >-
+        When `true`, the device is currently charging. Available only for web
+        devices on Chromium-based browsers.
     BatteryLowPowerMode:
       type: boolean
       description: >-
         Whether the device's low power mode is enabled. Available only for
         Android and iOS devices.
@@ -4692,10 +4697,12 @@
           $ref: '#/components/schemas/FontHash'
         timezone_offset:
           $ref: '#/components/schemas/TimezoneOffset'
         battery_level:
           $ref: '#/components/schemas/BatteryLevel'
+        battery_charging:
+          $ref: '#/components/schemas/BatteryCharging'
         battery_low_power_mode:
           $ref: '#/components/schemas/BatteryLowPowerMode'
     Labels:
       type: array
       items:

fingerprint-server-api-v4.yaml

Published URL: https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api-v4.yaml
Summary: +2 added, -0 removed, ~1 modified

Added elements (2)
  • /components/schemas/BatteryCharging
  • /components/schemas/RawDeviceAttributes/properties/battery_charging
Removed elements (0)

None

Modified elements (1)
  • /components/schemas/BatteryLevel/description
Changed lines patch
--- a/schemas/fingerprint-server-api-v4.yaml
+++ b/schemas/fingerprint-server-api-v4.yaml
@@ -2888,12 +2888,17 @@
       minimum: 0
       maximum: 100
       examples:
         - 75
       description: >-
-        Battery charge level as a percentage (0-100). Available only for Android
-        and iOS devices.
+        Battery charge level as a percentage (0-100). Available for Android,
+        iOS, and web devices. On web, only available in Chromium-based browsers.
+    BatteryCharging:
+      type: boolean
+      description: >-
+        When `true`, the device is currently charging. Available only for web
+        devices on Chromium-based browsers.
     BatteryLowPowerMode:
       type: boolean
       description: >-
         Whether the device's low power mode is enabled. Available only for
         Android and iOS devices.
@@ -2963,10 +2968,12 @@
           $ref: '#/components/schemas/FontHash'
         timezone_offset:
           $ref: '#/components/schemas/TimezoneOffset'
         battery_level:
           $ref: '#/components/schemas/BatteryLevel'
+        battery_charging:
+          $ref: '#/components/schemas/BatteryCharging'
         battery_low_power_mode:
           $ref: '#/components/schemas/BatteryLowPowerMode'
     Labels:
       type: array
       items:

@fingerprint-dx-team-actions-runner fingerprint-dx-team-actions-runner Bot changed the title Sync OpenAPI Schema (17865) Sync OpenAPI Schema (17865) - schema: Add battery_charging attribute; clarify events-search date params Jul 14, 2026
@fingerprint-dx-team-actions-runner

Copy link
Copy Markdown
Contributor Author

🤖 Added changeset(s) and proposed a new title.

Please verify before merging:

  • Scope prefix is correct (events, visitors, webhook, related-visitors, events-search)
  • Severity (patch / minor / major) matches the actual impact — this is a best-effort guess
  • Summary accurately describes the change

Feel free to edit the changeset file(s) or PR title directly.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

fingerprint-pro-server-api-openapi@3.5.0

Minor Changes

  • events: Add battery_charging field to RawDeviceAttributes (02b378e)

@JuroUhlar JuroUhlar changed the title Sync OpenAPI Schema (17865) - schema: Add battery_charging attribute; clarify events-search date params Sync OpenAPI Schema (17865) - schema: Add battery_charging attribute Jul 16, 2026
@JuroUhlar JuroUhlar merged commit 495b482 into main Jul 16, 2026
7 checks passed
@JuroUhlar JuroUhlar deleted the sync-17865 branch July 16, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants