diff --git a/api_documentation.md b/api_documentation.md index e8310ad..b5ea94b 100644 --- a/api_documentation.md +++ b/api_documentation.md @@ -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: ` @@ -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: ` @@ -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 ` diff --git a/docker-compose.yml b/docker-compose.yml index faff34f..4b67361 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: build: . container_name: storyline-ai-gateway ports: - - "8000:8000" + - "8191:8000" env_file: - .env restart: always