🔁APIs
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /api/notifications HTTP/1.1
Host: cm.test
Accept: */*
{
"success": true,
"message": "text",
"data": "text"
}POST /api/notifications/clear HTTP/1.1
Host: cm.test
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"success": true,
"message": "text",
"data": [
"text"
]
}DELETE /api/notifications/{id}/delete HTTP/1.1
Host: cm.test
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"success": true,
"message": "text",
"data": [
"text"
]
}POST /api/notifications/{id}/read HTTP/1.1
Host: cm.test
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"success": true,
"message": "text",
"data": [
"text"
]
}POST /api/notifications/toggle HTTP/1.1
Host: cm.test
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"token": null
}{
"success": true,
"message": "text",
"body": [
"text"
]
}