📊 Getting data on the investigation graph
Code samples
GET /api/investigations/{id}/graph
Returns the graph structure for the specified investigation. You can specify the “item” parameter (address ID) to get a specific element of the graph.
🛠️ Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer | true | Код расследования |
item | query | integer | false | ID адреса для построения графа. Если не указан, используется основной адрес расследования. |
Example responses
200 Response
{
"data": {},
"success": true,
"isMain": true,
"needDeep": true
}
🔁 Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Успешная операция | Inline |
404 | Not Found | Расследование не найдено | None |
📋 Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» data | object | false | none | Данные об узле графа и связанных транзакциях |
» success | boolean | false | none | Флаг успешного ответа |
» isMain | boolean | false | none | Флаг, показывающий, является ли адрес основным |
» needDeep | boolean | false | none | Флаг, показывающий, нужно ли углублённое исследование |