GET api/Alerts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Alerts| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| status | string |
None. |
|
| message | string |
None. |
|
| selectedAlerts | Collection of AlertModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"status": "sample string 2",
"message": "sample string 3",
"selectedAlerts": [
{
"AlertId": 1,
"UserId": 2,
"SenderEmoji": "sample string 3",
"PostId": 4,
"CommentId": 5,
"Type": 0,
"Message": "sample string 6",
"Content": "sample string 7",
"UserRead": true,
"DateCreated": "2026-02-04T03:28:31.6932937+00:00",
"ContentAlert": 0
},
{
"AlertId": 1,
"UserId": 2,
"SenderEmoji": "sample string 3",
"PostId": 4,
"CommentId": 5,
"Type": 0,
"Message": "sample string 6",
"Content": "sample string 7",
"UserRead": true,
"DateCreated": "2026-02-04T03:28:31.6932937+00:00",
"ContentAlert": 0
}
]
}
application/xml, text/xml
Sample:
<Status.Alerts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ethos.Models">
<message>sample string 3</message>
<selectedAlerts>
<AlertModel>
<AlertId>1</AlertId>
<CommentId>5</CommentId>
<Content>sample string 7</Content>
<ContentAlert>TEXT</ContentAlert>
<DateCreated>2026-02-04T03:28:31.6932937+00:00</DateCreated>
<Message>sample string 6</Message>
<PostId>4</PostId>
<SenderEmoji>sample string 3</SenderEmoji>
<Type>LIKE</Type>
<UserId>2</UserId>
<UserRead>true</UserRead>
</AlertModel>
<AlertModel>
<AlertId>1</AlertId>
<CommentId>5</CommentId>
<Content>sample string 7</Content>
<ContentAlert>TEXT</ContentAlert>
<DateCreated>2026-02-04T03:28:31.6932937+00:00</DateCreated>
<Message>sample string 6</Message>
<PostId>4</PostId>
<SenderEmoji>sample string 3</SenderEmoji>
<Type>LIKE</Type>
<UserId>2</UserId>
<UserRead>true</UserRead>
</AlertModel>
</selectedAlerts>
<status>sample string 2</status>
<token>sample string 1</token>
</Status.Alerts>