Dati
GET https://noiq.us/api/data/
curl --request GET \
--url 'https://noiq.us/api/data/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://noiq.us/api/data/' \
--header 'Authorization: Bearer {api_key}' \
Parametri | Dettagli | Descrizione |
---|---|---|
page | Facoltativo Intero | Il numero di pagina da cui si desiderano i risultati. Il valore predefinito è 1 .
|
results_per_page | Facoltativo Intero | Quanti risultati vuoi per pagina. I valori consentiti sono: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Valore predefinito 25 .
|
{
"data": [
{
"id": 1,
"biolink_block_id": 1,
"link_id": 1,
"project_id": 1,
"type": "mail",
"data": {
"email": "[email protected]",
"name": "John doe"
},
"datetime": "2021-09-17 20:56:23"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://noiq.us/api/data?&page=1",
"last": "https://noiq.us/api/data?&page=1",
"next": null,
"prev": null,
"self": "https://noiq.us/api/data?&page=1"
}
}
GET https://noiq.us/api/data/{datum_id}
curl --request GET \
--url 'https://noiq.us/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://noiq.us/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": "2021-09-17 20:56:23"
}
}
DELETE https://noiq.us/api/data/{datum_id}
curl --request DELETE \
--url 'https://noiq.us/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://noiq.us/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \