Veri
GET https://bibio.me/api/data/
curl --request GET \
--url 'https://bibio.me/api/data/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://bibio.me/api/data/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler | Ayrıntılar | Açıklama |
---|---|---|
page | Optional Tamsayı | Sonuç almak istediğiniz sayfa numarası. Varsayılan olarak 1 şeklindedir. |
results_per_page | Optional Tamsayı | Sayfa başına kaç sonuç istersiniz. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 . Varsayılan olarak 25 şeklindedir. |
{ "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://bibio.me/api/data?&page=1", "last": "https://bibio.me/api/data?&page=1", "next": null, "prev": null, "self": "https://bibio.me/api/data?&page=1" } }
GET https://bibio.me/api/data/{datum_id}
curl --request GET \
--url 'https://bibio.me/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://bibio.me/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://bibio.me/api/data/{datum_id}
curl --request DELETE \
--url 'https://bibio.me/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://bibio.me/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \