Skip to content

Commit

Permalink
Fixes aggregation values
Browse files Browse the repository at this point in the history
  • Loading branch information
brstuder authored Mar 26, 2024
1 parent facf9bf commit 2ce4302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/api-directory/allocation-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ File type when exporting query. Currently only supports `json`.
{% endswagger-parameter %}

{% swagger-parameter in="path" name="aggregate" type="string" required="false" %}
Field by which to aggregate the results. Accepts: `cluster`, `namespace`, `controllerKind`, `controller`, `service`, `node`, `pod`, `label:<name>`, and `annotation:<name>`. Also accepts comma-separated lists for multi-aggregation, like `namespace,label:app`.
Field by which to aggregate the results. Accepts: `cluster`, `node`, `container`, `controller`, `controllerKind`, `namespace`, `pod`, `providerId`, `service`, `label:<name>`, `annotation:<name>`, `deployment`, `daemonset`, `statefulset`, `job`, `department`, `environment`, `owner`, or `product`. Also accepts comma-separated lists for multi-aggregation, like `namespace,label:app`.
{% endswagger-parameter %}

{% swagger-parameter in="path" name="accumulate" type="boolean" required="false" %}
Expand Down
2 changes: 1 addition & 1 deletion apis/api-directory/assets-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ File type when exporting query. Currently only supports `json`.
{% endswagger-parameter %}

{% swagger-parameter in="path" name="aggregate" type="string" required="false" %}
Used to consolidate cost model data. Supported values are `account`, `cluster`, `project`, `providerid`, `provider`, and `type`. Passing an empty value for this parameter or none at all returns data by an individual asset. Supports multi-aggregation (aggregation of multiple categories) in a comma separated list, such as `aggregate=account,project`.
Used to consolidate cost model data. Supported values are `account`, `category`, `cluster`, `name`, `project`, `providerid`, `provider`, `service`, `type`, `department`, `environment`, `owner`, `product`, `team`, and `label:<name>`. Passing an empty value for this parameter or none at all returns data by an individual asset. Supports multi-aggregation (aggregation of multiple categories) in a comma separated list, such as `aggregate=account,project`.
{% endswagger-parameter %}

{% swagger-parameter in="path" name="accumulate" type="boolean" required="false" %}
Expand Down

0 comments on commit 2ce4302

Please sign in to comment.