chore: Update external API port from 8000 to 8191 in docker-compose configuration and API documentation.
This commit is contained in:
@@ -29,7 +29,7 @@ These are the endpoints you call from your Articulate Storyline JavaScript trigg
|
||||
|
||||
### 1. Gemini Chat
|
||||
Processes requests using the Google Gemini 2.0 Flash model.
|
||||
- **URL**: `http://localhost:8000/api/v1/gemini/chat`
|
||||
- **URL**: `http://localhost:8191/api/v1/gemini/chat`
|
||||
- **Method**: `POST`
|
||||
- **Headers**: `X-API-Key: <your_key>`
|
||||
|
||||
@@ -43,7 +43,7 @@ Processes requests using the Google Gemini 2.0 Flash model.
|
||||
|
||||
### 2. OpenAI Chat
|
||||
Processes requests using GPT-3.5-Turbo (or configured OpenAI model).
|
||||
- **URL**: `http://localhost:8000/api/v1/openai/chat`
|
||||
- **URL**: `http://localhost:8191/api/v1/openai/chat`
|
||||
- **Method**: `POST`
|
||||
- **Headers**: `X-API-Key: <your_key>`
|
||||
|
||||
@@ -57,7 +57,7 @@ Processes requests using GPT-3.5-Turbo (or configured OpenAI model).
|
||||
|
||||
### 3. Health Check
|
||||
Verify if the gateway is online.
|
||||
- **URL**: `http://localhost:8000/api/v1/storyline/health`
|
||||
- **URL**: `http://localhost:8191/api/v1/storyline/health`
|
||||
- **Method**: `GET`
|
||||
- **Headers**: No Auth required.
|
||||
|
||||
@@ -68,12 +68,12 @@ Verify if the gateway is online.
|
||||
These endpoints power the Admin Dashboard. They require a Bearer token or Master Key depending on implementation.
|
||||
|
||||
### 1. Login
|
||||
- **URL**: `http://localhost:8000/auth/login`
|
||||
- **URL**: `http://localhost:8191/auth/login`
|
||||
- **Method**: `POST`
|
||||
- **Body**: `multipart/form-data` with `username` and `password`.
|
||||
|
||||
### 2. Create New Module
|
||||
- **URL**: `http://localhost:8000/internal/admin/modules`
|
||||
- **URL**: `http://localhost:8191/internal/admin/modules`
|
||||
- **Method**: `POST`
|
||||
- **Headers**: `Authorization: Bearer <token>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user