Skip to main content
Module

x/tpy/mod.ts

🔑 A strongly typed Pylon API client.
Go to Latest
import * as tpy from "https://deno.land/x/tpy@v1.0.0-pre-release-2/mod.ts";

Namespaces

/deployments

GET /deployments/*

POST /deployments/*

Not an API resource, this namespace behaves as templates and other base types.

/guilds

GET /guilds

Not an API resource, this namespace behaves as templates and other base types.

/user

GET /user

GET /user/guilds

Classes

The Tpy WebSocket manager.

Enums

A deployment's 'up' status. Altered by Pylon administrators.

The type of deployment.

A library specific enum for describing errors.

Type Aliases

GET /deployments/:id

POST /deployments/:id Request

POST /deployments/:id Response

The base structure of some deployment related responses.

Deployment configurations. Recieved stringified.

The current project's files and information.

Pylon uses FastAPI, this is a FastAPI error.

GET /guilds/:id

GET /guilds/:id/stats

Base guild payload.

GET /user/guilds/available

GET /user/guilds

GET /user