diff --git a/pkg/handlers/static/index.html b/pkg/handlers/static/index.html index 65474d9..e6e6a35 100644 --- a/pkg/handlers/static/index.html +++ b/pkg/handlers/static/index.html @@ -131,65 +131,6 @@ color: #666; } - .endpoints { - background: #f8f9fa; - border-radius: 10px; - padding: 30px; - text-align: left; - animation: fadeInUp 0.8s ease 1s both; - } - - .endpoints h2 { - color: #1a237e; - margin-bottom: 20px; - text-align: center; - } - - .endpoint-group { - margin-bottom: 20px; - } - - .endpoint-group h3 { - color: #1e88e5; - font-size: 1em; - margin-bottom: 10px; - } - - .endpoint { - background: white; - padding: 12px 15px; - margin-bottom: 8px; - border-radius: 6px; - font-family: 'Monaco', 'Courier New', monospace; - font-size: 0.85em; - display: flex; - align-items: center; - gap: 10px; - } - - .endpoint-method { - background: #1e88e5; - color: white; - padding: 4px 8px; - border-radius: 4px; - font-weight: 600; - font-size: 0.85em; - min-width: 60px; - text-align: center; - } - - .endpoint-method.post { - background: #4caf50; - } - - .endpoint-method.delete { - background: #f44336; - } - - .endpoint-path { - color: #666; - } - .footer { margin-top: 40px; padding-top: 30px; @@ -265,11 +206,6 @@ width: 150px; height: 150px; } - - .endpoint { - flex-direction: column; - align-items: flex-start; - } } @@ -311,258 +247,6 @@ -
-

Available API Endpoints

- -
-

📊 Status & Health

-
- GET - /health -
-
- -
-

🔌 Webhooks

-
- GET - /api/hooks -
-
- POST - /api/hooks/add -
-
- DELETE - /api/hooks/remove -
-
- -
-

👤 Accounts

-
- GET - /api/accounts -
-
- POST - /api/accounts/add -
-
- POST - /api/accounts/update -
-
- POST - /api/accounts/disable -
-
- POST - /api/accounts/enable -
-
- DELETE - /api/accounts/remove -
-
- -
-

💬 Send Messages

-
- POST - /api/send -
-
- POST - /api/send/image -
-
- POST - /api/send/video -
-
- POST - /api/send/document -
-
- POST - /api/send/audio -
-
- POST - /api/send/sticker -
-
- POST - /api/send/location -
-
- POST - /api/send/contacts -
-
- POST - /api/send/interactive -
-
- POST - /api/send/template -
-
- POST - /api/send/flow -
-
- POST - /api/send/reaction -
-
- POST - /api/messages/read -
-
- -
-

📄 Templates

-
- POST - /api/templates -
-
- POST - /api/templates/upload -
-
- POST - /api/templates/delete -
-
- -
-

🔄 Flows

-
- POST - /api/flows -
-
- POST - /api/flows/create -
-
- POST - /api/flows/get -
-
- POST - /api/flows/upload -
-
- POST - /api/flows/publish -
-
- POST - /api/flows/deprecate -
-
- POST - /api/flows/delete -
-
- -
-

📞 Phone Numbers

-
- POST - /api/phone-numbers -
-
- POST - /api/phone-numbers/request-code -
-
- POST - /api/phone-numbers/verify-code -
-
- -
-

🏪 Catalog / Commerce

-
- POST - /api/catalogs -
-
- POST - /api/catalogs/products -
-
- POST - /api/send/catalog -
-
- POST - /api/send/product -
-
- POST - /api/send/product-list -
-
- -
-

🏢 Business Profile

-
- POST - /api/business-profile -
-
- POST - /api/business-profile/update -
-
- -
-

🗑️ Media Management

-
- POST - /api/media/upload -
-
- POST - /api/media-delete -
-
- -
-

💾 Message Cache

-
- GET - /api/cache -
-
- GET - /api/cache/stats -
-
- POST - /api/cache/replay -
-
- -
-

🔔 WhatsApp Business API

-
- GET - /webhooks/whatsapp/{account_id} -
-
- POST - /webhooks/whatsapp/{account_id} -
-
-
-