Skip to content

Commit

Permalink
Document API routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Turtlepaw committed Nov 27, 2022
1 parent 0392de6 commit 2368dbd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ This project was initially inspired by [zer0b.in](https://github.com/zer0bin-dev
| ---------------------------------------------- | ---------- | -------------- | ----------------------------------- |
| [vaultb.in](https://vaultb.in) | 30 days | 69,420 chars | Germany |

## API Routes

| Route | Method | Description | Paramaters
| --- | --- | --- | --- |
| `/pastes/{paste_id}` | `GET` | Get information about a paste | None
| `/api/pastes/{paste_id}/raw` | `GET` | Get the raw paste | None
| `/api/stats` | `GET` | Does nothing | None
| `/pastes` | `POST` | Create a paste | `language` `content`

## Installation

### Prebuilt Binaries
Expand Down

0 comments on commit 2368dbd

Please sign in to comment.