16 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/reviews
Recenziile
Fișierul de recenzii al firmei, cu ciornele de răspuns. Admin sau patron.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
versiune | number | da | una din: 1 |
citit_la | string | da | — |
canale | object[] | da | — |
canale[].canal | string | da | una din: wolt, bolt, google, glovo, facebook, instagram, tiktok |
canale[].nota_medie | number | da | între 0 și 10 |
canale[].scala | integer | da | între 0 și 9007199254740991 |
canale[].total | integer | da | între 0 și 9007199254740991 |
canale[].citit_la | string | da | — |
feedback | object[] | da | — |
feedback[].id | string | da | nevid |
feedback[].canal | string | da | una din: wolt, bolt, google, glovo, facebook, instagram, tiktok |
feedback[].id_extern | string | da | nevid |
feedback[].autor | string | da | nevid |
feedback[].nota | integer | da | între 1 și 10 |
feedback[].text | string | da | nevid |
feedback[].primit_la | string | da | — |
feedback[].stare_raspuns | string | da | una din: fara_raspuns, ciorna, aprobat, trimis, eroare |
feedback[].text_raspuns | string | da | nevid |
feedback[].raspuns_de | string | da | nevid |
feedback[].raspuns_la | string | da | — |
sociale | object[] | nu | — |
sociale[].canal | string | da | una din: wolt, bolt, google, glovo, facebook, instagram, tiktok |
sociale[].stare | string | da | una din: ok, fara_drept, fara_acces |
sociale[].motiv | string | da | — |
sociale[].total | integer | da | între 0 și 9007199254740991 |
curl https://app.ilustromania.com/nucleu/v1/reviews \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews", {
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/reviews",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"versiune": 1,
"citit_la": "text",
"canale": [
{
"canal": "wolt",
"nota_medie": 12.5,
"scala": 1,
"total": 1,
"citit_la": "text"
}
],
"feedback": [
{
"id": "text",
"canal": "wolt",
"id_extern": "text",
"autor": "text",
"nota": 1,
"text": "text",
"primit_la": "text",
"stare_raspuns": "fara_raspuns",
"text_raspuns": "text",
"raspuns_de": "text",
"raspuns_la": "text"
}
],
"sociale": [
{
"canal": "wolt",
"stare": "ok",
"motiv": "text",
"total": 1
}
]
}PUT/v1/reviews/{id}/ciorna
Ciorna de răspuns la recenzie
Scrie ciorna de răspuns a recenziei :id.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
text | string | da | între 1 și 2000 caractere |
aproba | boolean | nu | implicit false |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
id | string | da | nevid |
canal | string | da | una din: wolt, bolt, google, glovo, facebook, instagram, tiktok |
id_extern | string | da | nevid |
autor | string | da | nevid |
nota | integer | da | între 1 și 10 |
text | string | da | nevid |
primit_la | string | da | — |
stare_raspuns | string | da | una din: fara_raspuns, ciorna, aprobat, trimis, eroare |
text_raspuns | string | da | nevid |
raspuns_de | string | da | nevid |
raspuns_la | string | da | — |
curl -X PUT https://app.ilustromania.com/nucleu/v1/reviews/{id}/ciorna \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"text": "text",
"aproba": false
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/{id}/ciorna", {
method: "PUT",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"text": "text",
"aproba": false
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.put(
"https://app.ilustromania.com/nucleu/v1/reviews/{id}/ciorna",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"text": "text",
"aproba": False,
},
)
date = raspuns.json(){
"id": "text",
"canal": "wolt",
"id_extern": "text",
"autor": "text",
"nota": 1,
"text": "text",
"primit_la": "text",
"stare_raspuns": "fara_raspuns",
"text_raspuns": "text",
"raspuns_de": "text",
"raspuns_la": "text"
}PUT/v1/reviews/{id}/propunere
Hotărârea pe o propunere AI
Aprobă sau respinge propunerea AI de răspuns a recenziei :id.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
stare | string | da | una din: aprobat, respins |
text | string | nu | între 1 și 2000 caractere |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
feedback_id | string | da | nevid |
text | string | da | între 1 și 2000 caractere |
de_verificat | string | da | între 1 și 500 caractere |
scris_de | string | da | nevid |
scris_la | string | da | — |
stare | string | da | una din: propus, aprobat, respins |
hotarat_la | string | da | — |
curl -X PUT https://app.ilustromania.com/nucleu/v1/reviews/{id}/propunere \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"stare": "aprobat",
"text": "text"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/{id}/propunere", {
method: "PUT",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"stare": "aprobat",
"text": "text"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.put(
"https://app.ilustromania.com/nucleu/v1/reviews/{id}/propunere",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"stare": "aprobat",
"text": "text",
},
)
date = raspuns.json(){
"feedback_id": "text",
"text": "text",
"de_verificat": "text",
"scris_de": "text",
"scris_la": "text",
"stare": "propus",
"hotarat_la": "text"
}POST/v1/reviews/{id}/reformuleaza
Reformulează ciorna cu AI
Primește textul scris de om și întoarce varianta reformulată, în același ton; nu scrie nimic.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
text | string | da | între 1 și 2000 caractere |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
pornit | boolean | da | — |
text | string | nu | — |
curl -X POST https://app.ilustromania.com/nucleu/v1/reviews/{id}/reformuleaza \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"text": "text"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/{id}/reformuleaza", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"text": "text"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/reviews/{id}/reformuleaza",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"text": "text",
},
)
date = raspuns.json(){
"pornit": true,
"text": "text"
}PUT/v1/reviews/{id}/trimitere
Rezultatul trimiterii unui răspuns
Executorul scrie starea trimiterii: in_lucru, trimis sau eroare.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
stare | string | da | una din: in_lucru, trimis, eroare |
eroare | string | nu | între 1 și 500 caractere |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
feedback_id | string | da | nevid |
canal | string | da | nevid |
text | string | da | între 1 și 2000 caractere |
stare | string | da | una din: de_trimis, in_lucru, trimis, eroare, anulat |
incercari | integer | da | între 0 și 9007199254740991 |
eroare | string | da | între 1 și 500 caractere |
cerut_la | string | da | — |
trimis_la | string | da | — |
curl -X PUT https://app.ilustromania.com/nucleu/v1/reviews/{id}/trimitere \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"stare": "in_lucru",
"eroare": "text"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/{id}/trimitere", {
method: "PUT",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"stare": "in_lucru",
"eroare": "text"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.put(
"https://app.ilustromania.com/nucleu/v1/reviews/{id}/trimitere",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"stare": "in_lucru",
"eroare": "text",
},
)
date = raspuns.json(){
"feedback_id": "text",
"canal": "text",
"text": "text",
"stare": "de_trimis",
"incercari": 1,
"eroare": "text",
"cerut_la": "text",
"trimis_la": "text"
}GET/v1/reviews/context
Contextul pentru AI
Întrebările de context ale firmei, cu răspunsurile folosite la generare.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
versiune | number | da | una din: 1 |
intrebari | object[] | da | — |
intrebari[].cheie | string | da | — |
intrebari[].intrebare | string | da | între 1 și 1000 caractere |
intrebari[].raspuns | string | da | între 1 și 2000 caractere |
intrebari[].modificat_la | string | da | — |
curl https://app.ilustromania.com/nucleu/v1/reviews/context \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/context", {
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/reviews/context",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"versiune": 1,
"intrebari": [
{
"cheie": "text",
"intrebare": "text",
"raspuns": "text",
"modificat_la": "text"
}
]
}PUT/v1/reviews/context/{cheie}
Răspunde la o întrebare de context
Scrie răspunsul la întrebarea de context :cheie.
| Nume | Tip | Descriere |
|---|---|---|
cheie | string | valoarea din cale |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
raspuns | string | da | între 1 și 2000 caractere |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
cheie | string | da | — |
intrebare | string | da | între 1 și 1000 caractere |
raspuns | string | da | între 1 și 2000 caractere |
modificat_la | string | da | — |
curl -X PUT https://app.ilustromania.com/nucleu/v1/reviews/context/{cheie} \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"raspuns": "text"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/context/{cheie}", {
method: "PUT",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"raspuns": "text"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.put(
"https://app.ilustromania.com/nucleu/v1/reviews/context/{cheie}",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"raspuns": "text",
},
)
date = raspuns.json(){
"cheie": "text",
"intrebare": "text",
"raspuns": "text",
"modificat_la": "text"
}GET/v1/reviews/generator/stare
Starea generatorului AI
Dacă generatorul de propuneri e pornit.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
pornit | boolean | da | — |
curl https://app.ilustromania.com/nucleu/v1/reviews/generator/stare \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/generator/stare", {
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/reviews/generator/stare",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"pornit": true
}GET/v1/reviews/instructiuni
Instrucțiunile pentru AI
Instrucțiunile active date AI-ului, folosite în fiecare generare.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
versiune | number | da | una din: 1 |
instructiuni | object[] | da | — |
instructiuni[].id | string | da | nevid |
instructiuni[].text | string | da | între 1 și 500 caractere |
instructiuni[].creat_la | string | da | — |
curl https://app.ilustromania.com/nucleu/v1/reviews/instructiuni \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/instructiuni", {
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/reviews/instructiuni",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"versiune": 1,
"instructiuni": [
{
"id": "text",
"text": "text",
"creat_la": "text"
}
]
}POST/v1/reviews/instructiuni
Adaugă o instrucțiune AI
Adaugă o instrucțiune pentru generarea răspunsurilor.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
text | string | da | între 1 și 500 caractere |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
id | string | da | nevid |
text | string | da | între 1 și 500 caractere |
creat_la | string | da | — |
curl -X POST https://app.ilustromania.com/nucleu/v1/reviews/instructiuni \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"text": "text"
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/instructiuni", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"text": "text"
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/reviews/instructiuni",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"text": "text",
},
)
date = raspuns.json(){
"id": "text",
"text": "text",
"creat_la": "text"
}DELETE/v1/reviews/instructiuni/{id}
Dezactivează o instrucțiune AI
Pune instrucțiunea pe activ = false; rândul rămâne.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
id | string | da | — |
activ | boolean | da | una din: false |
curl -X DELETE https://app.ilustromania.com/nucleu/v1/reviews/instructiuni/{id} \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/instructiuni/{id}", {
method: "DELETE",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
},
});
const date = await raspuns.json();import os
import requests
raspuns = requests.delete(
"https://app.ilustromania.com/nucleu/v1/reviews/instructiuni/{id}",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"id": "text",
"activ": false
}GET/v1/reviews/propuneri
Propunerile AI de răspuns
Propunerile AI de răspuns la recenzii, de aprobat. Admin sau patron; altă firmă 404.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
versiune | number | da | una din: 1 |
propuneri | object[] | da | — |
propuneri[].feedback_id | string | da | nevid |
propuneri[].text | string | da | între 1 și 2000 caractere |
propuneri[].de_verificat | string | da | între 1 și 500 caractere |
propuneri[].scris_de | string | da | nevid |
propuneri[].scris_la | string | da | — |
propuneri[].stare | string | da | una din: propus, aprobat, respins |
propuneri[].hotarat_la | string | da | — |
curl https://app.ilustromania.com/nucleu/v1/reviews/propuneri \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/propuneri", {
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/reviews/propuneri",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"versiune": 1,
"propuneri": [
{
"feedback_id": "text",
"text": "text",
"de_verificat": "text",
"scris_de": "text",
"scris_la": "text",
"stare": "propus",
"hotarat_la": "text"
}
]
}POST/v1/reviews/propuneri/{id}/regenereaza
Regenerează o propunere AI
Regenerează propunerea cu o instrucțiune, care se salvează implicit; o propunere deja hotărâtă dă 409.
| Nume | Tip | Descriere |
|---|---|---|
id | string | identificatorul resursei |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
instructiune | string | nu | între 1 și 500 caractere |
tine_minte | boolean | nu | implicit true |
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
pornit | boolean | da | — |
regenerat | boolean | nu | — |
propunere | object | nu | — |
propunere.feedback_id | string | da | nevid |
propunere.text | string | da | între 1 și 2000 caractere |
propunere.de_verificat | string | da | între 1 și 500 caractere |
propunere.scris_de | string | da | nevid |
propunere.scris_la | string | da | — |
propunere.stare | string | da | una din: propus, aprobat, respins |
propunere.hotarat_la | string | da | — |
curl -X POST https://app.ilustromania.com/nucleu/v1/reviews/propuneri/{id}/regenereaza \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{
"instructiune": "text",
"tine_minte": true
}'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/propuneri/{id}/regenereaza", {
method: "POST",
headers: {
"Cookie": `__Host-sesiune=${process.env.JETON_SESIUNE}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"instructiune": "text",
"tine_minte": true
}),
});
const date = await raspuns.json();import os
import requests
raspuns = requests.post(
"https://app.ilustromania.com/nucleu/v1/reviews/propuneri/{id}/regenereaza",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={
"instructiune": "text",
"tine_minte": True,
},
)
date = raspuns.json(){
"pornit": true,
"regenerat": true,
"propunere": {
"feedback_id": "text",
"text": "text",
"de_verificat": "text",
"scris_de": "text",
"scris_la": "text",
"stare": "propus",
"hotarat_la": "text"
}
}POST/v1/reviews/propuneri/genereaza
Generează propuneri AI
Generează propuneri pentru recenziile fără răspuns; 503 când sursa lipsește.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
generate | integer | da | între -9007199254740991 și 9007199254740991 |
ramase | integer | da | între -9007199254740991 și 9007199254740991 |
pornit | boolean | nu | — |
curl -X POST https://app.ilustromania.com/nucleu/v1/reviews/propuneri/genereaza \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{ … }'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/propuneri/genereaza", {
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/reviews/propuneri/genereaza",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={ … },
)
date = raspuns.json(){
"generate": 1,
"ramase": 1,
"pornit": true
}POST/v1/reviews/propuneri/genereaza-intern
Generare internă de propuneri
Apelul temporizatorului de pe server, cu jeton de serviciu: generează cel mult 10 propuneri „de aprobat”, fără să aprobe sau să trimită.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
generate | integer | da | între -9007199254740991 și 9007199254740991 |
ramase | integer | da | între -9007199254740991 și 9007199254740991 |
pornit | boolean | nu | — |
curl -X POST https://app.ilustromania.com/nucleu/v1/reviews/propuneri/genereaza-intern \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE" \
-H "Content-Type: application/json" \
-d '{ … }'const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/propuneri/genereaza-intern", {
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/reviews/propuneri/genereaza-intern",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
json={ … },
)
date = raspuns.json(){
"generate": 1,
"ramase": 1,
"pornit": true
}GET/v1/reviews/trimiteri
Coada de trimitere a răspunsurilor
Starea răspunsurilor aprobate de trimis pe canalele cu API (azi doar Google). Citește omul cu drept sau executorul cu jeton de serviciu; nu trimite nimic.
| Câmp | Tip | Obligatoriu | Detalii |
|---|---|---|---|
versiune | number | da | una din: 1 |
trimiteri | object[] | da | — |
trimiteri[].feedback_id | string | da | nevid |
trimiteri[].canal | string | da | nevid |
trimiteri[].text | string | da | între 1 și 2000 caractere |
trimiteri[].stare | string | da | una din: de_trimis, in_lucru, trimis, eroare, anulat |
trimiteri[].incercari | integer | da | între 0 și 9007199254740991 |
trimiteri[].eroare | string | da | între 1 și 500 caractere |
trimiteri[].cerut_la | string | da | — |
trimiteri[].trimis_la | string | da | — |
curl https://app.ilustromania.com/nucleu/v1/reviews/trimiteri \
-H "Cookie: __Host-sesiune=$JETON_SESIUNE"const raspuns = await fetch("https://app.ilustromania.com/nucleu/v1/reviews/trimiteri", {
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/reviews/trimiteri",
headers={"Cookie": "__Host-sesiune=" + os.environ["JETON_SESIUNE"]},
)
date = raspuns.json(){
"versiune": 1,
"trimiteri": [
{
"feedback_id": "text",
"canal": "text",
"text": "text",
"stare": "de_trimis",
"incercari": 1,
"eroare": "text",
"cerut_la": "text",
"trimis_la": "text"
}
]
}