📱 iOS アプリ「Nacti」API仕様
ベースURL: https://nacti.jp/api
Content-Type: application/json
エンドポイント:
POST /api/auth/register
{
"phone": "09012345678",
"userId": "A1B2-C3D4-E5F6",
"apnsToken": "device-token..."
}
POST /api/alert/emergency
{
"userId": "A1B2-C3D4-E5F6",
"lastActivity": "2025-07-31T12:00:00Z",
"inactivityDuration": 1800
}
GET /api/health
ヘルスチェック用エンドポイント