Skip to content

Commit adef04b

Browse files
author
cibot
committed
Definitions Update aetag
1 parent f8c1858 commit adef04b

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

alsdkdefs/apis/aetag/aetag.v1.yaml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,56 @@ paths:
854854
description: >-
855855
Determine if the tags are retrieve with composition or not, by
856856
default it is true.
857+
'/aetag/v1/{account_id}/tags/lookup':
858+
parameters:
859+
- schema:
860+
type: string
861+
name: account_id
862+
in: path
863+
required: true
864+
description: AIMS Account ID
865+
post:
866+
summary: Lookup keys or Values in Tags&tunning paths
867+
operationId: lookup_tagset
868+
responses:
869+
'200':
870+
description: Key or Value Found
871+
content:
872+
application/json:
873+
schema:
874+
type: object
875+
properties:
876+
matched:
877+
type: boolean
878+
'204':
879+
description: Key or Value Not Found
880+
881+
security:
882+
- X-AIMS-Auth-Token: [ ]
883+
parameters:
884+
- schema:
885+
type: boolean
886+
default: 'true'
887+
in: query
888+
name: compose
889+
description: >-
890+
Determine if the tags are retrieve with composition or not, by
891+
default it is true.
892+
description: >-
893+
Looks up specific keys and values in specified tagsets
894+
requestBody:
895+
required: true
896+
content:
897+
application/json:
898+
schema:
899+
$ref: '#/components/schemas/LookupValues'
900+
x-alertlogic-schema:
901+
name: lookup
902+
encoding:
903+
explode: true
904+
description: Look up request propotype.
905+
tags:
906+
- Tags Resources
857907
'/aetag/v1/definitions/ids/{id}':
858908
parameters:
859909
- schema:
@@ -1746,6 +1796,36 @@ components:
17461796
- operation
17471797
- key
17481798
additionalProperties: false
1799+
LookupValues:
1800+
description: 'Schema for lookup operation'
1801+
title: LookupValues
1802+
type: object
1803+
required:
1804+
- paths
1805+
- keys
1806+
properties:
1807+
paths:
1808+
type: array
1809+
maxItems: 10
1810+
items:
1811+
type: string
1812+
keys:
1813+
type: array
1814+
maxItems: 10
1815+
items:
1816+
type: string
1817+
values:
1818+
type: array
1819+
maxItems: 100
1820+
items:
1821+
oneOf:
1822+
- type: string
1823+
- type: number
1824+
lookup:
1825+
type: string
1826+
enum:
1827+
- "and"
1828+
- "or"
17491829
securitySchemes:
17501830
X-AIMS-Auth-Token:
17511831
name: X-AIMS-Auth-Token

0 commit comments

Comments
 (0)