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

Document API routes #1

Merged
merged 1 commit into from
Nov 28, 2022
Merged

Document API routes #1

merged 1 commit into from
Nov 28, 2022

Conversation

Turtlepaw
Copy link
Contributor

@Turtlepaw Turtlepaw commented Nov 27, 2022

From README.md

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

@merlinfuchs
Copy link
Owner

Awesome, thanks!

@merlinfuchs merlinfuchs merged commit 2e62e3c into merlinfuchs:main Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants