-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestudo-api.postman_collection.json
More file actions
72 lines (72 loc) · 1.77 KB
/
testudo-api.postman_collection.json
File metadata and controls
72 lines (72 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"info": {
"name": "Testudo API",
"description": "Testudo Threat Intelligence API - per ADR-005",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:3001",
"type": "string"
}
],
"item": [
{
"name": "Root",
"request": {
"method": "GET",
"url": "{{baseUrl}}/",
"description": "API info endpoint"
}
},
{
"name": "Health Check",
"request": {
"method": "GET",
"url": "{{baseUrl}}/health",
"description": "Database connection health check"
}
},
{
"name": "Check Address (Malicious)",
"request": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/threats/address/0x930fcc37d6042c79211ee18a02857cb1fd7f0d0b",
"description": "Lookup a known malicious address (ETH_DRAINER)"
}
},
{
"name": "Check Address (Clean)",
"request": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/threats/address/0x0000000000000000000000000000000000000001",
"description": "Lookup an address not in the database (returns isMalicious: false)"
}
},
{
"name": "Check Address (Invalid)",
"request": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/threats/address/not-an-address",
"description": "Invalid address format (returns 400)"
}
},
{
"name": "Check Domain (Clean)",
"request": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/threats/domain/uniswap.org",
"description": "Lookup a clean domain (returns isMalicious: false)"
}
},
{
"name": "Check Domain (with protocol stripping)",
"request": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/threats/domain/https://fake-uniswap.com",
"description": "Domain with protocol prefix (normalized before lookup)"
}
}
]
}