Skip to content

ListAssetHosts

Request

Returns a list of hosts associated with an asset sorted by latest activity time in descending order.

Security
AuthorizationHeader
Query
asset_namestringrequired

Asset Name

asset_typestringrequired

Asset Type

frominteger

Page number

sizeinteger

Record per page. Default no of records per page is 50. Maximum allowed records per page is 100.

latest_activity_time_gtstring

Returns list of asset hosts having latest activity time greater than the specified time if provided. The format of time is 'YYYY-MM-DD HH:MM:SS'.

curl -i -X GET \
  'https://apidoc.authmind.com/_mock/v1/docs/v1/asset/hosts?asset_name=string&asset_type=string&from=0&size=0&latest_activity_time_gt=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
errorstring
resultobject(models.OutAssetHostsMainResultResponse)
successboolean
Response
{ "error": "string", "result": { "data": [], "total": 0 }, "success": true }