push

Register (upsert) a phone's Expo push token

Changed on
post/api/v1/push/devices

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/push/devices
  • Auth
    none declared

Request body

deviceNamestring

Human-friendly device label.

hostNamestring

This phone's label for the host; used in OS push notification titles.

installIdstring

Stable per-install device id, keying the registry so a rotated push token updates the same row. Optional: older app builds omit it and the daemon synthesizes one.

platform'ios' | 'android'

Device platform.

tokenstring

Expo push token, e.g. ExponentPushToken[...]. Optional: omitted when the phone has no push token yet.

Response

OK

Changes

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      added the new optional request property