Download coverage report by report ID
Request
| Authentication | |
|---|---|
token | Cache and insert token into example requests (15d expiry) |
| Path parameters | |
|---|---|
id | The report id |
Example request
bash
curl --request GET \
--url 'https://kg.diffbot.com/kg/v3/dql/report/<id>?token=<DIFFBOT_TOKEN>' \
--header 'Accept: text/csv'
Response
| 200Coverage report |
|---|
txt
DiffbotID,Name,$.name,$.nbEmployees
"",,1.0,1.0
El0wZJw_cOn-MAyp_hZZ5Tw,Yandex,1,1
EUFq-3WlpNsq0pvfUYWXOEA,Google,1,1
Ec5P22-6EPLOXo1-z6-4NzA,Instagram,1,1
| 404Report not found | |
|---|---|
error | |
message |
json
{
"error": true,
"message": "Report not found: C-4d87a965-b43f"
}
| 500Internal Server Error | |
|---|---|
code | |
message |
json
{
"code": 500,
"message": "HTTP 500 Internal Server Error"
}