Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.0.2 #4

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Expand Down
21 changes: 21 additions & 0 deletions src/services.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions src/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading