数据
GET https://tistos.com/api/data/
curl --request GET \
--url 'https://tistos.com/api/data/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/data/' \
--header 'Authorization: Bearer {api_key}' \
参数 | 详细信息 | 描述 |
---|---|---|
page | 可选的 整数 | 您想要结果的页码。默认为 1 。 |
results_per_page | 可选的 整数 | 每页您想要多少个结果。允许的值为:10 , 25 , 50 , 100 , 250 , 500 , 1000 。默认为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-16 10:55:44", }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://tistos.com/api/data?page=1", "last": "https://tistos.com/api/data?page=1", "next": null, "prev": null, "self": "https://tistos.com/api/data?page=1" } }
GET https://tistos.com/api/data/{datum_id}
curl --request GET \
--url 'https://tistos.com/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/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-16 10:55:44", } }
DELETE https://tistos.com/api/data/{datum_id}
curl --request DELETE \
--url 'https://tistos.com/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/data/{datum_id}' \
--header 'Authorization: Bearer {api_key}' \