Date
GET https://heo.li/api/data/
curl --request GET \
--url 'https://heo.li/api/data/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://heo.li/api/data/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Întreg | Numărul paginii de la care doriți rezultatele. Implicit 1 |
| results_per_page | Opțional Întreg | Câte rezultate doriți pe pagină. Valorile permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este 25. |
{
"data": [
{
"id": 1,
"biolink_block_id": 1,
"link_id": 1,
"project_id": 1,
"type": "mail",
"data": {
"email": "[email protected]",
"name": "John doe"
},
"datetime": "2025-10-29 19:41:38",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://heo.li/api/data?page=1",
"last": "https://heo.li/api/data?page=1",
"next": null,
"prev": null,
"self": "https://heo.li/api/data?page=1"
}
}
GET https://heo.li/api/data/{datum_id}
curl --request GET \
--url 'https://heo.li/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://heo.li/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"biolink_block_id": 1,
"link_id": 1,
"project_id": 1,
"type": "mail",
"data": {
"email": "[email protected]",
"name": "John doe"
},
"datetime": "2025-10-29 19:41:38",
}
}
DELETE https://heo.li/api/data/{datum_id}
curl --request DELETE \
--url 'https://heo.li/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://heo.li/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \