chore(docs): Updated API Reference (v2) (#9148)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-09-18 07:13:51 +00:00
committed by GitHub
parent a63f6910d0
commit 56ee4d6aad
254 changed files with 6349 additions and 5461 deletions

View File

@@ -0,0 +1,2 @@
curl -X POST '{backend_url}/auth/token/refresh' \
-H 'Authorization: Bearer {token}'

View File

@@ -1 +1 @@
curl -X POST '{backend_url}/auth/user/{auth_provider}'
curl -X POST '{backend_url}/auth/user/github'

View File

@@ -1 +1 @@
curl -X POST '{backend_url}/auth/user/{auth_provider}/callback'
curl -X POST '{backend_url}/auth/user/github/callback?code=123'

View File

@@ -1 +1,6 @@
curl -X POST '{backend_url}/auth/user/{auth_provider}/register'
curl -X POST '{backend_url}/auth/user/emailpass/register' \
-H 'Content-Type: application/json' \
--data-raw '{
"email": "admin@medusa-test.com",
"password": "supersecret"
}'