List the current user's notifications.
curl --request GET \
--url https://tryno.io/api/notifications \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/notifications"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"type": "<string>",
"readAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}notifications
List the current user's notifications.
GET
/
notifications
List the current user's notifications.
curl --request GET \
--url https://tryno.io/api/notifications \
--cookie __session=const options = {method: 'GET', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/notifications"
headers = {"cookie": "__session="}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"type": "<string>",
"readAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}
