Skip to content

Commit

Permalink
feat: add models list/create/get/delete commands (#39)
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Lunde <[email protected]>
  • Loading branch information
ps-kwang and jared-paperspace committed Jul 1, 2023
1 parent f642391 commit c4bbfdf
Show file tree
Hide file tree
Showing 8 changed files with 4,349 additions and 1,304 deletions.
8 changes: 8 additions & 0 deletions api/models.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { client } from "./client.ts";

export const models = {
list: client("/models").get,
create: client("/models").post,
get: client("/models/{id}").get,
delete: client("/models/{id}").delete,
};
Loading

0 comments on commit c4bbfdf

Please sign in to comment.