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.
Modulul prezenta
GET/v1/prezenta
Prezența online
Entitățile prezenței online (profiluri, listări) vizibile omului, cu vârsta datelor, citite din fișierul generat.
curl https://app.ilustromania.com/nucleu/v1/prezenta \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta", {
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/prezenta",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json()GET/v1/prezenta/istoric
Istoricul prezenței online
Istoricul cifrelor prezenței online pe interval.
| Nume | Tip | Obligatoriu | Detalii |
|---|---|---|---|
entitate | string | nu | — |
zile | integer | nu | între 1 și 366; implicit 30 |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
randuri | object[] | da | — |
randuri[].entitate | string | da | nevid |
randuri[].firma_id | integer | da | între 0 și 9007199254740991 |
randuri[].zi | string | da | dată AAAA-LL-ZZ |
randuri[].citit_la | string | da | moment ISO 8601 |
randuri[].cifre | object | da | — |
curl https://app.ilustromania.com/nucleu/v1/prezenta/istoric \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta/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/prezenta/istoric",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"randuri": [
{
"entitate": "text",
"firma_id": 1,
"zi": "2026-11-12",
"citit_la": "2026-11-12T09:30:00.000Z",
"cifre": {}
}
]
}GET/v1/prezenta/mini/{fisier}
Miniatura unei postări
Servește miniatura JPEG a unei postări, doar cu nume [a-z0-9-]+.jpg din folderul de miniaturi; 404 la alt nume.
| Nume | Tip | Descriere |
|---|---|---|
fisier | string | valoarea din cale |
curl https://app.ilustromania.com/nucleu/v1/prezenta/mini/{fisier} \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta/mini/{fisier}", {
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/prezenta/mini/{fisier}",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json()POST/v1/prezenta/plecat
Pagina s-a ascuns
Notează că omul a ascuns pagina (trimis prin sendBeacon, fără corp); contul vine doar din sesiune. 409 când scrierea e oprită.
curl -X POST https://app.ilustromania.com/nucleu/v1/prezenta/plecat \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{ … }'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta/plecat", {
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/prezenta/plecat",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={ … },
)
date = raspuns.json()GET/v1/prezenta/social
Conturile sociale
Detaliul conturilor sociale vizibile omului, cu vârsta datelor.
curl https://app.ilustromania.com/nucleu/v1/prezenta/social \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta/social", {
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/prezenta/social",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json()POST/v1/prezenta/urme
Lot de urme de navigare
Primește un lot de urme din pagină (JSON sau text/plain); 400/413 la lot invalid sau prea mare, 429 prea des. Contul fără uuid primește 200 fără scriere.
curl -X POST https://app.ilustromania.com/nucleu/v1/prezenta/urme \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{ … }'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta/urme", {
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/prezenta/urme",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={ … },
)
date = raspuns.json()Modulul shell
GET/v1/alerte
Alertele mele
Alertele omului după firma și rolul lui; dreptul alerte.citeste, 503 sursă indisponibilă.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
scris_la | string | da | moment ISO 8601 |
alerte | object[] | da | — |
alerte[].id | string | da | — |
alerte[].t | string | da | — |
alerte[].ton | string | da | una din: `, is-pericol` |
alerte[].n | integer | da | între 0 și 9007199254740991 |
alerte[].ora | string | da | — |
alerte[].lista | string[] | da | — |
curl https://app.ilustromania.com/nucleu/v1/alerte \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/alerte", {
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/alerte",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"scris_la": "2026-11-12T09:30:00.000Z",
"alerte": [
{
"id": "text",
"t": "text",
"ton": "",
"n": 1,
"ora": "text",
"lista": []
}
]
}GET/v1/prezenta/oameni
Oamenii prezenți acum
Colegii din firma activă cu prezența lor în aplicație (fără omul care cere); vedere completă sau redusă după drept.
curl https://app.ilustromania.com/nucleu/v1/prezenta/oameni \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/prezenta/oameni", {
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/prezenta/oameni",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json()