63 lines
1.8 KiB
Markdown
63 lines
1.8 KiB
Markdown
---
|
|
name: auth-routes
|
|
description: Handle 6 OpenAPI operation(s) under /api/v1/auth for the auth route group.
|
|
---
|
|
|
|
# auth API Routes
|
|
|
|
Handle 6 OpenAPI operation(s) under /api/v1/auth for the auth route group.
|
|
|
|
Use the generated operation tools to make real API calls. Do not invent API responses.
|
|
If a tool reports missing setup, return the exact setup field name to the caller.
|
|
For write, update, or delete operations, state the intended action before calling the tool.
|
|
|
|
## Operations
|
|
|
|
### refresh_api_v1_auth_refresh_get
|
|
|
|
- Operation ID: `refresh_api_v1_auth_refresh_get`
|
|
- Route: `GET /api/v1/auth/refresh`
|
|
- Mode: READ
|
|
- Summary: Refresh access token
|
|
|
|
### login_api_v1_auth_login_post
|
|
|
|
- Operation ID: `login_api_v1_auth_login_post`
|
|
- Route: `POST /api/v1/auth/login`
|
|
- Mode: WRITE
|
|
- Summary: Log in with email and password
|
|
- Body: JSON request body accepted.
|
|
|
|
### third_party_login_api_v1_auth_oauth_post
|
|
|
|
- Operation ID: `third_party_login_api_v1_auth_oauth_post`
|
|
- Route: `POST /api/v1/auth/oauth`
|
|
- Mode: WRITE
|
|
- Summary: Log in via third-party provider
|
|
- Parameters:
|
|
- `org_id` in `query`
|
|
- Body: JSON request body accepted.
|
|
|
|
### logout_api_v1_auth_logout_delete
|
|
|
|
- Operation ID: `logout_api_v1_auth_logout_delete`
|
|
- Route: `DELETE /api/v1/auth/logout`
|
|
- Mode: WRITE
|
|
- Summary: Log out the current user
|
|
|
|
### api_verify_email_api_v1_auth_verify_email_post
|
|
|
|
- Operation ID: `api_verify_email_api_v1_auth_verify_email_post`
|
|
- Route: `POST /api/v1/auth/verify-email`
|
|
- Mode: WRITE
|
|
- Summary: Verify user email
|
|
- Body: JSON request body accepted.
|
|
|
|
### api_resend_verification_email_api_v1_auth_resend_verification_post
|
|
|
|
- Operation ID: `api_resend_verification_email_api_v1_auth_resend_verification_post`
|
|
- Route: `POST /api/v1/auth/resend-verification`
|
|
- Mode: WRITE
|
|
- Summary: Resend verification email
|
|
- Body: JSON request body accepted.
|