Skip to content

Commit 3c7798f

Browse files
authored
Merge pull request #4 from genesiscloud/release-v1.0.2
Release v1.0.2
2 parents 9dae8e2 + cb031ce commit 3c7798f

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@genesiscloud/genesiscloud-js",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "JavaScript client for the Genesis Cloud API",
55
"main": "dist/index.js",
66
"type": "commonjs",

src/services.gen.ts

+21
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,27 @@ export class InstancesService {
594594
});
595595
}
596596

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+
597618
/**
598619
* List instance snapshots
599620
* @returns unknown PaginatedSnapshotsResponse

src/types.gen.ts

+15
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,21 @@ export type $OpenApiTs = {
11951195
};
11961196
};
11971197
};
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+
};
11981213
"/instances/{instance_id}/snapshots": {
11991214
get: {
12001215
req: {

0 commit comments

Comments
 (0)