Salesforce

Bash API endpoint: getHosts

« Go Back
Information
Bash API endpoint: getHosts
000007456
Public
Product Selection
aiWare - API
Article Details

This provides a list of hosts in the system

Example

aiware getHosts X-Correlation-Id:value  offset=value  limit=value  direction=value  isactive=value  type=value  serverType=value  startCreatedTime=value  endCreatedTime=value  startLastUpdateTime=value  endLastUpdateTime=value  startTerminatedTime=value  endTerminatedTime=value  startExpireTime=value  endExpireTime=value  orderBy=value  drain=value  serverTypeID=value  ip=value  excludeCommit=value

Parameters

NameTypeDescriptionNotes
xCorrelationIdstringCorrelation Id that can be passed, traced in the server and will be returned in the response if present in the request[optional] [default to null]
offsetintegerthe number of data to skip before getting the result set[optional] [default to null]
limitintegerthe number of items to return.[optional] [default to 10]
directionstringthe sort order. ASC or DESC.[optional] [default to DESC]
isactivebooleanFilter for active or inactive hosts[optional] [default to null]
typeRunModeEnumFilter for hosts by type[optional] [default to null]
serverTypestringFilter for server type. Currently it should be in [physical, virtual]. It can expand in the future[optional] [default to null]
startCreatedTimeintegerThe unix timestamp[optional] [default to null]
endCreatedTimeintegerThe unix timestamp[optional] [default to null]
startLastUpdateTimeintegerThe unix timestamp[optional] [default to null]
endLastUpdateTimeintegerThe unix timestamp[optional] [default to null]
startTerminatedTimeintegerThe unix timestamp[optional] [default to null]
endTerminatedTimeintegerThe unix timestamp[optional] [default to null]
startExpireTimeintegerThe unix timestamp[optional] [default to null]
endExpireTimeintegerThe unix timestamp[optional] [default to null]
orderBystringIt should be in [createdTime, terminatedTime, expireTime][optional] [default to null]
drainbooleanFilter by drain[optional] [default to null]
serverTypeIDstringFilter by serverTypeID[optional] [default to null]
ipstringFilter by IP[optional] [default to null]
excludeCommitstringcommit hash to exclude[optional] [default to null]

Return type

AdminHostsGetResponse

Authorization

api_key

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

 

Additional Technical Documentation Information
Properties
2/4/2025 10:57 PM
2/4/2025 10:58 PM
2/4/2025 10:58 PM
Documentation
Documentation
000007456
Translation Information
English

Powered by