@@ -98,6 +98,19 @@ paths:
9898 ' 200 ' :
9999 description : OK
100100 content : {application/json: {schema: {$ref: '#/components/schemas/GetPacksInfoResponse'}}}
101+ /rpc/SelectPack :
102+ post :
103+ summary : Select pack
104+ description : Select pack
105+ tags : [/rpc]
106+ requestBody :
107+ content : {application/json: {schema: {$ref: '#/components/schemas/SelectPackRequest'}}}
108+ responses :
109+ ' 200 ' :
110+ description : OK
111+ content : {application/json: {schema: {$ref: '#/components/schemas/SelectPackResponse'}}}
112+
113+
101114 /rpc/GetDeviceList :
102115 post :
103116 summary : Get device list
@@ -244,7 +257,7 @@ paths:
244257 /rpc/ListMissingPacks :
245258 post :
246259 summary : ListMissingPacks
247- description : List missing (not installed) packs required by the active target-set
260+ description : List missing (not installed) packs required by the active target-set
248261 tags : [/rpc]
249262 requestBody :
250263 content : {application/json: {schema: {$ref: '#/components/schemas/ListMissingPacksRequest'}}}
@@ -1010,6 +1023,33 @@ components:
10101023 - properties :
10111024 result :
10121025 $ref : ' #/components/schemas/PacksInfo'
1026+ SelectPackRequest :
1027+ allOf :
1028+ - $ref : ' #/x-jsonrpc-envelope-request-with-params'
1029+ - properties :
1030+ method :
1031+ type : string
1032+ const : SelectPack
1033+ params :
1034+ type : object
1035+ properties :
1036+ context :
1037+ type : string
1038+ select :
1039+ type : boolean
1040+ description : true to select pack or modify its properties, false to remove selection
1041+ pack :
1042+ $ref : ' #/components/schemas/Pack'
1043+ required :
1044+ - context
1045+ - select
1046+ - pack
1047+ SelectPackResponse :
1048+ allOf :
1049+ - $ref : ' #/x-jsonrpc-envelope-response'
1050+ - properties :
1051+ result :
1052+ $ref : ' #/components/schemas/SuccessResult'
10131053 GetUsedItemsRequest :
10141054 allOf :
10151055 - $ref : ' #/x-jsonrpc-envelope-request-with-params'
@@ -1276,7 +1316,7 @@ components:
12761316 filter :
12771317 $ref : ' #/components/schemas/DraftProjectsFilter'
12781318 required :
1279- - filter
1319+ - filter
12801320 GetDraftProjectsResponse :
12811321 allOf :
12821322 - $ref : ' #/x-jsonrpc-envelope-response'
0 commit comments