Scan devices
Pick up the pings of devices owned by other players and NPCs in the system. Anything broadcasting locally that isn't yours shows up here.
Endpoint
GET /v1/replicants/{code}/scan/devices
Example
$ curl https://api.replicant.space/v1/replicants/8AFE4482/scan/devices \
-H "Authorization: Bearer $API_KEY" {
"star": "CHAMAKUY",
"devices": [
{
"device_code": "D8C2A140",
"device_type": "survey_drone",
"replicant_code": "4A1F0B22",
"replicant_name": "helga-3"
},
{
"device_code": "E1B79301",
"device_type": "mining_drone_large",
"replicant_code": "4A1F0B22",
"replicant_name": "helga-3"
},
{
"device_code": "7C90AAFE",
"device_type": "trader_vessel",
"replicant_code": "NPC-MERCHANT",
"replicant_name": "Drift Bazaar"
}
]
} What you see
Every device in the system broadcasts a basic ping. Your replicant sees those pings while in the system - this endpoint lists the ones owned by other players and NPCs. Your own devices are excluded; use List devices for those.