External: Apple Health Import

Receive Sns Notification

Changed on

Handle all SNS messages (subscription confirmation + S3 upload notifications).

post/api/v1/sns/notification

Request

  • Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.openwearables.io/api/v1/sns/notification
  • Auth: none declared

Response

Successful Response

status_codeinteger required

HTTP status code (typically 202 for async operations)

responsestring required

Human-readable response message

user_idstring nullable

User ID associated with the import operation

dropped_countinteger

Number of individual records dropped by per-record validation

records_savedinteger

Time-series samples saved

records_insertedinteger

Time-series rows that did not exist before

records_updatedinteger

Time-series rows refreshed in place

typesstring[]

Canonical SeriesType identifiers written by this batch (e.g. 'heart_rate'), sorted. Empty when the batch saved no time-series samples.

workouts_savedinteger

Workouts saved

meals_savedinteger

Meal correlations saved

sleep_savedinteger

Sleep records saved

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status