From d01b411499a8700351e5974bb93cb1371fdea818 Mon Sep 17 00:00:00 2001 From: cibot Date: Thu, 23 Mar 2023 12:05:27 +0000 Subject: [PATCH] Definitions Update assets_query --- alsdkdefs/apis/assets_query/assets_query.v1.yaml | 4 ++-- alsdkdefs/apis/assets_query/examples.yaml | 4 ++-- alsdkdefs/apis/assets_query/parameters.yaml | 6 +++--- alsdkdefs/apis/assets_query/schemas.yaml | 5 +++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/alsdkdefs/apis/assets_query/assets_query.v1.yaml b/alsdkdefs/apis/assets_query/assets_query.v1.yaml index 61102c0..3cda6a6 100644 --- a/alsdkdefs/apis/assets_query/assets_query.v1.yaml +++ b/alsdkdefs/apis/assets_query/assets_query.v1.yaml @@ -481,7 +481,7 @@ paths: - lang: Shell label: Get all assets for an account ID with pagination (continue) source: |- - curl "https://api.cloudinsight.alertlogic.com/assets_query/v1/12345678/assets?continue=EEBBD0DF-B927-411B-B771-247D4C96F9AC" \ + curl "https://api.cloudinsight.alertlogic.com/assets_query/v1/12345678/assets?continue=g2gDZAAXcGFnaW5hdGlvbl9jb250aW51YXRpb25sAAAABGgCbQAAABdsYXN0X2V2YWx1YXRlZF92ZXJ0aWNlc2wAAAABaANtAAAAJDdENUU2NkJFLTk4QzYtNDBBMi04QjA5LTVEQzRDMEZFRTY3N20AAAAEaG9zdG0AAAAnL2F3cy91cy13ZXN0LTIvaG9zdC9pLTA0N2FmMjAzYmZkMDY2ZTI4amgCbQAAAAp0b3BvX2NoYWlubQAAAAVmYWxzZWgCbQAAAAthc3NldF90eXBlc20AAAAEaG9zdGgCbQAAAAlwYWdlX3NpemVtAAAAAzIwMGpsAAAAAWgDbQAAACQ5OTY5RUM5OC1GM0RELTQwNDAtODZDNS02QTkwMTlFMkYwN0VtAAAABGhvc3RtAAAAJy9hd3MvdXMtZWFzdC0xL2hvc3QvaS0wZTNkMzkwYWM4YjYxZGNjYWo" \ -H "x-aims-auth-token: $TOKEN" -H "accept: application/json" responses: "200": @@ -511,7 +511,7 @@ paths: $ref: 'examples.yaml#/QueryAssetsTopoChainFalseExample' asset_types=any & page_size=5: $ref: 'examples.yaml#/QueryAssetsAssetTypesAnyWithPagination' - asset_types=any & continue=EEBBD0DF-B927-411B-B771-247D4C96F9AC: + asset_types=any & continue=g2gDZAAXcGFnaW5hdGlvbl9jb250aW51YXRpb25sAAAABGgCbQAAABdsYXN0X2V2YWx1YXRlZF92ZXJ0aWNlc2wAAAABaANtAAAAJDdENUU2NkJFLTk4QzYtNDBBMi04QjA5LTVEQzRDMEZFRTY3N20AAAAEaG9zdG0AAAAnL2F3cy91cy13ZXN0LTIvaG9zdC9pLTA0N2FmMjAzYmZkMDY2ZTI4amgCbQAAAAp0b3BvX2NoYWlubQAAAAVmYWxzZWgCbQAAAAthc3NldF90eXBlc20AAAAEaG9zdGgCbQAAAAlwYWdlX3NpemVtAAAAAzIwMGpsAAAAAWgDbQAAACQ5OTY5RUM5OC1GM0RELTQwNDAtODZDNS02QTkwMTlFMkYwN0VtAAAABGhvc3RtAAAAJy9hd3MvdXMtZWFzdC0xL2hvc3QvaS0wZTNkMzkwYWM4YjYxZGNjYWo: $ref: 'examples.yaml#/QueryAssetsAssetTypesAnyWithPaginationContinue' "400": $ref: 'responses.yaml#/QueryAssetsBadRequestError' diff --git a/alsdkdefs/apis/assets_query/examples.yaml b/alsdkdefs/apis/assets_query/examples.yaml index c747656..aa71310 100644 --- a/alsdkdefs/apis/assets_query/examples.yaml +++ b/alsdkdefs/apis/assets_query/examples.yaml @@ -338,7 +338,7 @@ QueryAssetsAssetTypesAnyWithPagination: key: /aws/us-east-1/subnet/subnet-01020304 account_id: "12345678" rows: 5 - continue: EEBBD0DF-B927-411B-B771-247D4C96F9AC + continue: g2gDZAAXcGFnaW5hdGlvbl9jb250aW51YXRpb25sAAAABGgCbQAAABdsYXN0X2V2YWx1YXRlZF92ZXJ0aWNlc2wAAAABaANtAAAAJDdENUU2NkJFLTk4QzYtNDBBMi04QjA5LTVEQzRDMEZFRTY3N20AAAAEaG9zdG0AAAAnL2F3cy91cy13ZXN0LTIvaG9zdC9pLTA0N2FmMjAzYmZkMDY2ZTI4amgCbQAAAAp0b3BvX2NoYWlubQAAAAVmYWxzZWgCbQAAAAthc3NldF90eXBlc20AAAAEaG9zdGgCbQAAAAlwYWdlX3NpemVtAAAAAzIwMGpsAAAAAWgDbQAAACQ5OTY5RUM5OC1GM0RELTQwNDAtODZDNS02QTkwMTlFMkYwN0VtAAAABGhvc3RtAAAAJy9hd3MvdXMtZWFzdC0xL2hvc3QvaS0wZTNkMzkwYWM4YjYxZGNjYWo total_assets: 14 QueryAssetsAssetTypesAnyWithPaginationContinue: value: @@ -364,7 +364,7 @@ QueryAssetsAssetTypesAnyWithPaginationContinue: key: /aws/us-east-1/subnet/subnet-01020304 account_id: "12345678" rows: 5 - continue: C446F70F-3E5F-465D-B743-69C28D06EF90 + continue: g2gDZAAXcGFnaW5hdGlvbl9jb250aW51YXRpb25sAAAABGgCbQAAABdsYXN0X2V2YWx1YXRlZF92ZXJ0aWNlc2wAAAABaANtAAAAJDdENUU2NkJFLTk4QzYtNDBBMi04QjA5LTVEQzRDMEZFRTY3N20AAAAEaG9zdG0AAAAnL2F3cy91cy13ZXN0LTIvaG9zdC9pLTA0N2FmMjAzYmZkMDY2ZTI4amgCbQAAAAp0b3BvX2NoYWlubQAAAAVmYWxzZWgCbQAAAAthc3NldF90eXBlc20AAAAEaG9zdGgCbQAAAAlwYWdlX3NpemVtAAAAAzIwMGpsAAAAAWgDbQAAACQ5OTY5RUM5OC1GM0RELTQwNDAtODZDNS02QTkwMTlFMkYwN0VtAAAABGhvc3RtAAAAJy9hd3MvdXMtZWFzdC0xL2hvc3QvaS0wZTNkMzkwYWM4YjYxZGNjYWo total_assets: 14 FindAssetAgentByUuidExample: value: diff --git a/alsdkdefs/apis/assets_query/parameters.yaml b/alsdkdefs/apis/assets_query/parameters.yaml index 42f677b..d2bdb1c 100644 --- a/alsdkdefs/apis/assets_query/parameters.yaml +++ b/alsdkdefs/apis/assets_query/parameters.yaml @@ -558,9 +558,9 @@ ParamContinue: in: query name: continue description: |- - A UUID returned from a previous call to GET assets. When provided to subsequent - GET assets calls, the next set of results and a new `continue` UUID will be - returned. + A continuation token returned from a previous call to GET assets. + When provided to subsequent GET assets calls, the next set of results and a new + `continue` token will be returned. ParamPageSize: schema: type: integer diff --git a/alsdkdefs/apis/assets_query/schemas.yaml b/alsdkdefs/apis/assets_query/schemas.yaml index dcdcd1d..8c9d128 100644 --- a/alsdkdefs/apis/assets_query/schemas.yaml +++ b/alsdkdefs/apis/assets_query/schemas.yaml @@ -235,8 +235,9 @@ QueryAssetsResponse: continue: type: string title: |- - A UUID to be used for subsequent GET assets calls to get the next set of results. - Only present when there are more rows to paginate through. + A continuation token returned from a previous call to GET assets. + When provided to subsequent GET assets calls, the next set of results and a new + `continue` token will be returned. total_assets: type: integer title: |-