Skip to content

Commit c371dab

Browse files
author
cibot
committed
Definitions Update remediations
1 parent 77180da commit c371dab

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

alsdkdefs/apis/remediations/assets_query.v1.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ paths:
422422
- $ref: 'parameters.yaml#/ParamReturnCount'
423423
- $ref: 'parameters.yaml#/ParamReduce'
424424
- $ref: 'parameters.yaml#/ParamQFields'
425+
- $ref: 'parameters.yaml#/ParamSummarizeAssets'
425426
- $ref: 'parameters.yaml#/ParamFilter'
426427
- $ref: 'parameters.yaml#/ParamFilterRelationship'
427428
- $ref: 'parameters.yaml#/ParamRelatedProperties'
@@ -620,6 +621,7 @@ paths:
620621
- $ref: 'parameters.yaml#/ParamReturnCount'
621622
- $ref: 'parameters.yaml#/ParamReduce'
622623
- $ref: 'parameters.yaml#/ParamQFields'
624+
- $ref: 'parameters.yaml#/ParamSummarizeAssets'
623625
- $ref: 'parameters.yaml#/ParamFilter'
624626
- $ref: 'parameters.yaml#/ParamFilterRelationship'
625627
- $ref: 'parameters.yaml#/ParamRelatedProperties'

alsdkdefs/apis/remediations/parameters.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,17 @@ ParamQFields:
9696
in: query
9797
name: qfields
9898
description: |-
99-
Optional comma-separated list of fields to be returned as part of the objects. `key`, `type`
100-
and `deployment_id` are always returned. Both `&qfields=object.field` and `&qfields=field`
101-
are acceptable; in the latter case all objects will be filtered.
99+
Optional comma-separated list of fields to be returned as part of the objects. When qfields is used,
100+
All objects will always and only return `key`, `type` and `deployment_id` unless additional fields are
101+
specified. To request a field, Both `&qfields=object.field` and `&qfields=field` are acceptable; in
102+
the latter case all objects will be filtered with the requested field.
103+
ParamSummarizeAssets:
104+
schema:
105+
type: boolean
106+
in: query
107+
name: summarize_assets
108+
description: |-
109+
Callers should pass summarize_assets=true to pass back the asset type's summary properties. Can be used in combination with qfields.
102110
ParamFilter:
103111
schema:
104112
type: object

0 commit comments

Comments
 (0)