File tree 3 files changed +37
-1
lines changed
3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @genesiscloud/genesiscloud-js" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " JavaScript client for the Genesis Cloud API" ,
5
5
"main" : " dist/index.js" ,
6
6
"type" : " commonjs" ,
Original file line number Diff line number Diff line change @@ -594,6 +594,27 @@ export class InstancesService {
594
594
} ) ;
595
595
}
596
596
597
+ /**
598
+ * Get Instance user-metadata
599
+ * Gets the user-metadata of the instance.
600
+ * @returns unknown Instance.GetInstanceUserMetadataResponse
601
+ * @throws ApiError
602
+ */
603
+ public getInstanceUserMetadata (
604
+ data : $OpenApiTs [ "/instances/{instance_id}/user-metadata" ] [ "get" ] [ "req" ] ,
605
+ ) : CancelablePromise <
606
+ $OpenApiTs [ "/instances/{instance_id}/user-metadata" ] [ "get" ] [ "res" ] [ 200 ]
607
+ > {
608
+ const { instanceId } = data ;
609
+ return this . httpRequest . request ( {
610
+ method : "GET" ,
611
+ url : "/instances/{instance_id}/user-metadata" ,
612
+ path : {
613
+ instance_id : instanceId ,
614
+ } ,
615
+ } ) ;
616
+ }
617
+
597
618
/**
598
619
* List instance snapshots
599
620
* @returns unknown PaginatedSnapshotsResponse
Original file line number Diff line number Diff line change @@ -1195,6 +1195,21 @@ export type $OpenApiTs = {
1195
1195
} ;
1196
1196
} ;
1197
1197
} ;
1198
+ "/instances/{instance_id}/user-metadata" : {
1199
+ get : {
1200
+ req : {
1201
+ instanceId : string ;
1202
+ } ;
1203
+ res : {
1204
+ /**
1205
+ * Instance.GetInstanceUserMetadataResponse
1206
+ */
1207
+ 200 : {
1208
+ [ key : string ] : unknown ;
1209
+ } ;
1210
+ } ;
1211
+ } ;
1212
+ } ;
1198
1213
"/instances/{instance_id}/snapshots" : {
1199
1214
get : {
1200
1215
req : {
You can’t perform that action at this time.
0 commit comments