Skip to content

Commit

Permalink
add api
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Jul 31, 2024
1 parent 192086f commit 9f2d3a5
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions frontend/src/gen/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,15 +277,15 @@ export interface paths {
patch?: never;
trace?: never;
};
"/artifacts/image/{artifact_id}_{size}.png": {
"/artifacts/image/{image_id}/{size}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Images Url */
get: operations["images_url_artifacts_image__artifact_id___size__png_get"];
get: operations["images_url_artifacts_image__image_id___size__get"];
put?: never;
post?: never;
delete?: never;
Expand All @@ -294,15 +294,15 @@ export interface paths {
patch?: never;
trace?: never;
};
"/artifacts/artifact/{artifact_id}.{artifact_type}": {
"/artifacts/{artifact_type}/{artifact_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Artifact Url */
get: operations["artifact_url_artifacts_artifact__artifact_id___artifact_type__get"];
/** Urdf Url */
get: operations["urdf_url_artifacts__artifact_type___artifact_id__get"];
put?: never;
post?: never;
delete?: never;
Expand Down Expand Up @@ -356,6 +356,8 @@ export interface components {
* Format: binary
*/
file: string;
/** Metadata */
metadata: string;
};
/** DumpListingsResponse */
DumpListingsResponse: {
Expand Down Expand Up @@ -920,13 +922,12 @@ export interface operations {
};
};
};
images_url_artifacts_image__artifact_id___size__png_get: {
images_url_artifacts_image__image_id___size__get: {
parameters: {
query: {
image_id: string;
};
query?: never;
header?: never;
path: {
image_id: string;
size: "small" | "large";
};
cookie?: never;
Expand All @@ -953,13 +954,13 @@ export interface operations {
};
};
};
artifact_url_artifacts_artifact__artifact_id___artifact_type__get: {
urdf_url_artifacts__artifact_type___artifact_id__get: {
parameters: {
query?: never;
header?: never;
path: {
artifact_id: string;
artifact_type: "urdf" | "mjcf";
artifact_id: string;
};
cookie?: never;
};
Expand Down Expand Up @@ -987,11 +988,7 @@ export interface operations {
};
upload_artifacts_upload_post: {
parameters: {
query: {
listing_id: string;
artifact_type: "image" | "urdf" | "mjcf";
description?: string | null;
};
query?: never;
header?: never;
path?: never;
cookie?: never;
Expand Down

0 comments on commit 9f2d3a5

Please sign in to comment.