8 rute, cu exemplu de cerere pentru fiecare.
Adresa de bază: https://app.ilustromania.com/nucleu. Autentificarea, formatul și erorile sunt în Prezentarea API-ului.
GET/v1/eu/notificari
Notificările mele
Pagina de notificări a omului logat, cu cursor urmator; contul de probă primește lista goală.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
notificari | object[] | da | — |
notificari[].id | string | da | UUID |
notificari[].tip | string | da | una din: mentiune, activitate |
notificari[].cineNume | string | da | între 1 și 120 caractere |
notificari[].cineContId | string | da | UUID |
notificari[].text | string | da | între 1 și 500 caractere |
notificari[].legatura | string | da | cel mult 500 caractere |
notificari[].creataLa | string | da | moment ISO 8601 |
notificari[].citita | boolean | da | — |
urmator | string | da | — |
curl https://app.ilustromania.com/nucleu/v1/eu/notificari \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari", {
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
},
});
const date = await raspuns.json();import os
import requests
raspuns = requests.get(
"https://app.ilustromania.com/nucleu/v1/eu/notificari",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"notificari": [
{
"id": "3f0c2a8e-6b1d-4c3a-9e2f-1a2b3c4d5e6f",
"tip": "mentiune",
"cineNume": "text",
"cineContId": "3f0c2a8e-6b1d-4c3a-9e2f-1a2b3c4d5e6f",
"text": "text",
"legatura": "text",
"creataLa": "2026-11-12T09:30:00.000Z",
"citita": true
}
],
"urmator": "text"
}POST/v1/eu/notificari/{id}/citita
Marchează o notificare citită
Marchează notificarea :id ca citită; 404 dacă nu e a omului.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
marcate | integer | da | între 0 și 9007199254740991 |
curl -X POST https://app.ilustromania.com/nucleu/v1/eu/notificari/{id}/citita \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{ … }'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/{id}/citita", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ … }),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/{id}/citita",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={ … },
)
date = raspuns.json(){
"marcate": 1
}POST/v1/eu/notificari/citite
Marchează toate notificările citite
Marchează ca citite toate notificările omului (sau pe cele din corp); 403 pe contul de probă.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
tip | string | nu | una din: mentiune, activitate |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
marcate | integer | da | între 0 și 9007199254740991 |
curl -X POST https://app.ilustromania.com/nucleu/v1/eu/notificari/citite \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"tip": "mentiune"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/citite", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"tip": "mentiune"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/citite",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"tip": "mentiune",
},
)
date = raspuns.json(){
"marcate": 1
}GET/v1/eu/notificari/istoric
Istoricul alertelor mele
Alertele omului logat, opțional pe un grup (?grup=); 400 la grup necunoscut.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
ok | boolean | da | una din: true |
necitite | integer | da | între 0 și 9007199254740991 |
vedeTehnice | boolean | da | — |
notificari | object[] | da | — |
notificari[].cand | string | da | moment ISO 8601 |
notificari[].tip | string | da | — |
notificari[].nume | string | da | — |
notificari[].grup | string | da | una din: tehnic, utilizator |
notificari[].titlu | string | da | — |
notificari[].text | string | da | — |
notificari[].url | string | da | — |
notificari[].nou | boolean | da | — |
notificari[].n | integer | da | între 1 și 9007199254740991 |
notificari[].randuri | any[] | da | — |
curl https://app.ilustromania.com/nucleu/v1/eu/notificari/istoric \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/istoric", {
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
},
});
const date = await raspuns.json();import os
import requests
raspuns = requests.get(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/istoric",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"ok": true,
"necitite": 1,
"vedeTehnice": true,
"notificari": [
{
"cand": "2026-11-12T09:30:00.000Z",
"tip": "text",
"nume": "text",
"grup": "tehnic",
"titlu": "text",
"text": "text",
"url": "text",
"nou": true,
"n": 1,
"randuri": []
}
]
}GET/v1/eu/notificari/necitite
Numărul de notificări necitite
Câte notificări necitite are omul logat, opțional pe un tip.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
necitite | integer | da | între 0 și 9007199254740991 |
curl https://app.ilustromania.com/nucleu/v1/eu/notificari/necitite \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/necitite", {
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
},
});
const date = await raspuns.json();import os
import requests
raspuns = requests.get(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/necitite",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"necitite": 1
}GET/v1/eu/notificari/preferinte
Preferințele mele de notificare
Ce notificări primește omul logat; contul de probă primește valorile implicite.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
oprite | string[] | da | — |
linisteDe | string | da | — |
linistePana | string | da | — |
vazutLa | string | da | moment ISO 8601 |
curl https://app.ilustromania.com/nucleu/v1/eu/notificari/preferinte \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/preferinte", {
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
},
});
const date = await raspuns.json();import os
import requests
raspuns = requests.get(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/preferinte",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"oprite": [
"imagine"
],
"linisteDe": "text",
"linistePana": "text",
"vazutLa": "2026-11-12T09:30:00.000Z"
}POST/v1/eu/notificari/preferinte
Salvează preferințele de notificare
Scrie preferințele de notificare ale omului logat; 403 pe contul de probă.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
oprite | string[] | nu | cel mult 64 elemente |
linisteDe | string | nu | — |
linistePana | string | nu | — |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
oprite | string[] | da | — |
linisteDe | string | da | — |
linistePana | string | da | — |
vazutLa | string | da | moment ISO 8601 |
curl -X POST https://app.ilustromania.com/nucleu/v1/eu/notificari/preferinte \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"oprite": [
"imagine"
],
"linisteDe": "text",
"linistePana": "text"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/preferinte", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"oprite": [
"imagine"
],
"linisteDe": "text",
"linistePana": "text"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/preferinte",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"oprite": [
"imagine",
],
"linisteDe": "text",
"linistePana": "text",
},
)
date = raspuns.json(){
"oprite": [
"imagine"
],
"linisteDe": "text",
"linistePana": "text",
"vazutLa": "2026-11-12T09:30:00.000Z"
}POST/v1/eu/notificari/vazut
Marchează notificările ca văzute
Notează momentul în care omul a văzut lista de notificări; 403 pe contul de probă.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
vazutLa | string | da | moment ISO 8601 |
curl -X POST https://app.ilustromania.com/nucleu/v1/eu/notificari/vazut \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{ … }'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/eu/notificari/vazut", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ … }),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/eu/notificari/vazut",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={ … },
)
date = raspuns.json(){
"vazutLa": "2026-11-12T09:30:00.000Z"
}