/v0.1/user/notifications/emailSettings
GET
/v0.1/user/notifications/emailSettingsGet Default email notification settings for the user
请求参数
无
示例代码
返回响应
Success(200)
Error code with reason(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
request_id
string
必需
Unique request identifier for tracking
eTag
string
可选
The ETag of the entity
enabled
boolean
必需
Allows to forcefully disable emails on app or user level
userId
string
可选
The unique id (UUID) of the user
settings
array [object {3}]
必需
The settings the user has for the app
event_type
string
必需
Event Name
枚举值:
crash_newCrashGroupCreated
value
string
必需
Frequency of event
枚举值:
DisabledIndividualDailyDailyAndIndividualDefault
default_value
string
可选
Default frequency of event
枚举值:
DisabledIndividualDailyDailyAndIndividual
示例
{
"request_id": "string",
"eTag": "string",
"enabled": true,
"userId": "string",
"settings": [
{
"event_type": "crash_newCrashGroupCreated",
"value": "Disabled",
"default_value": "Disabled"
}
]
}
修改于 3 个月前