
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
3.7 KiB
3.7 KiB
title |
---|
Backend API |
See also: The backend documentation
API Cheat sheet
With authentication:
🔐 | Method | Endpoint | Description |
---|---|---|---|
🔐 | POST |
/models |
Creates model |
🔐 | GET |
/models/:handle |
Read model |
🔐 | PUT |
/models/:handle |
Update model |
🔐 | DELETE |
/models/:handle |
Remove model |
🔐 | POST |
/recipes |
Create recipe |
🔐 | GET |
/recipes/:handle |
Read recipe |
🔐 | PUT |
/recipes/:handle |
Updates recipe |
🔐 | DELETE |
/recipes/:handle |
Remove recipe |
🔐 | GET |
/account |
Load account |
🔐 | PUT |
/account |
Update account |
🔐 | DELETE |
/account |
Remove account |
🔐 | POST |
/account/change/email |
Confirm email change |
🔐 | GET |
/account/export |
Export account |
🔐 | GET |
/account/restrict |
Restric account |
🔐 | GET |
/users/:username |
Read user profile |
🔐 | POST |
/available/username |
Is username available |
Without authentication:
🔓 | Method | Endpoint | Description |
---|---|---|---|
🔓 | POST |
/signup |
Request account |
🔓 | POST |
/account |
Create account |
🔓 | POST |
/login |
Log in |
🔓 | POST |
/reset/password |
Recover password |
🔓 | POST |
/confirm/login |
Passwordless login |
🔓 | POST |
/oauth/init |
Oauth initialisation |
🔓 | GET |
/oauth/callback/from/:provider |
Oauth callback |
🔓 | POST |
/oauth/login |
Oauth login |
🔓 | GET |
/patrons |
Patron list |