File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -2133,6 +2133,25 @@ class ApiMethods {
2133
2133
2134
2134
return response . data ;
2135
2135
} ;
2136
+ getWorkspaceBuildParametersBulk = async (
2137
+ buildIds : TypesGen . WorkspaceBuild [ "id" ] [ ] ,
2138
+ ) : Promise < TypesGen . WorkspaceBuildParametersBulkResponse > => {
2139
+ if ( buildIds . length === 0 ) {
2140
+ return { } ;
2141
+ }
2142
+
2143
+ const response =
2144
+ await this . axios . get < TypesGen . WorkspaceBuildParametersBulkResponse > (
2145
+ "/api/v2/workspacebuilds/parameters" ,
2146
+ {
2147
+ params : {
2148
+ build_ids : buildIds . join ( "," ) ,
2149
+ } ,
2150
+ } ,
2151
+ ) ;
2152
+
2153
+ return response . data ;
2154
+ } ;
2136
2155
2137
2156
getLicenses = async ( ) : Promise < GetLicensesResponse [ ] > => {
2138
2157
const response = await this . axios . get ( "/api/v2/licenses" ) ;
You can’t perform that action at this time.
0 commit comments