Asset Inventory View V3 - GET
GET/v3/inventory
Returns asset inventory pass/fail data.
The response includes an attribute groupedAggregates, whose content depends on the groupBy query parameter. The following table shows the attributes that groupedAggregates will include for the specified groupBy query parameter:
groupBy | groupedAggregates Includes |
---|---|
not specified | cloudTypeName |
cloudType | cloudTypeName |
cloud.account | accountName |
cloud.region | regionName, cloudTypeName |
cloud.service | serviceName, cloudTypeName |
resource.type | resourceTypeName, cloudTypeName |
If you specify groupBy multiple times in a single request, then groupedAggregates will include multiple attributes. For example, you can set the following in the URL: groupBy=cloud.account&groupBy=cloud.service. Doing so will have the same effect as specifying a comma-separated list of values for groupBy.
Request
Responses
- 200
- 400
- 404
success
bad_request
not_found