Assets
List an asset's network services
Return the network services discovered on one asset.
The same set the asset detail response embeds, on its own endpoint so a panel can refresh services without re-fetching the asset.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
asset_id*integer
Query Parameters
page?integer
Default
1Range
1 <= valueper_page?integer
Page size. Values above 500 are clamped to it (or rejected, per the server configuration).
Default
25Range
1 <= valueResponse Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/assets/0/services"{
"total": 0,
"page": 0,
"per_page": 0,
"_links": {
"property1": "string",
"property2": "string"
},
"services": [
{
"id": 0,
"port": 0,
"protocol": "string",
"scheme": "string",
"name": "string",
"version": "string",
"description": "string",
"url": "string",
"last_change": "2019-08-24T14:15:22Z",
"pic": "string",
"thumbnail": "string",
"response_length": 0,
"changed": true,
"technologies": [
"string"
]
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}