Skip to content

Commit

Permalink
Merge pull request #4 from genesiscloud/release-v1.0.2
Browse files Browse the repository at this point in the history
Release v1.0.2
  • Loading branch information
skirsten authored Sep 3, 2024
2 parents 9dae8e2 + cb031ce commit 3c7798f
Showing 3 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@genesiscloud/genesiscloud-js",
"version": "1.0.0",
"version": "1.0.2",
"description": "JavaScript client for the Genesis Cloud API",
"main": "dist/index.js",
"type": "commonjs",
21 changes: 21 additions & 0 deletions src/services.gen.ts
Original file line number Diff line number Diff line change
@@ -594,6 +594,27 @@ export class InstancesService {
});
}

/**
* Get Instance user-metadata
* Gets the user-metadata of the instance.
* @returns unknown Instance.GetInstanceUserMetadataResponse
* @throws ApiError
*/
public getInstanceUserMetadata(
data: $OpenApiTs["/instances/{instance_id}/user-metadata"]["get"]["req"],
): CancelablePromise<
$OpenApiTs["/instances/{instance_id}/user-metadata"]["get"]["res"][200]
> {
const { instanceId } = data;
return this.httpRequest.request({
method: "GET",
url: "/instances/{instance_id}/user-metadata",
path: {
instance_id: instanceId,
},
});
}

/**
* List instance snapshots
* @returns unknown PaginatedSnapshotsResponse
15 changes: 15 additions & 0 deletions src/types.gen.ts
Original file line number Diff line number Diff line change
@@ -1195,6 +1195,21 @@ export type $OpenApiTs = {
};
};
};
"/instances/{instance_id}/user-metadata": {
get: {
req: {
instanceId: string;
};
res: {
/**
* Instance.GetInstanceUserMetadataResponse
*/
200: {
[key: string]: unknown;
};
};
};
};
"/instances/{instance_id}/snapshots": {
get: {
req: {

0 comments on commit 3c7798f

Please sign in to comment.