Files
OmniRoute/docs/i18n/tr/docs/reference/API_REFERENCE.md
diegosouzapw c1ea96e03f feat(i18n): add 9 European locales (el hr sr lt et lv sl mt ga)
Batch 1 of the locale-expansion plan: Greek, Croatian, Serbian, Lithuanian,
Estonian, Latvian, Slovenian, Maltese and Irish across every surface —
dashboard catalog, docs mirrors, CLI catalog, README, locale index and the
marketing site. OmniRoute now ships all 24 official EU languages (51 locales).

Also fixes two defects the batch exposed:

- The placeholder-parity gate matched every "{…}" pair, so an ICU plural branch
  body (other {s}) counted as an argument named "s" and any correct plural
  translation was reported as drift. The scanner now follows the ICU grammar.
  Three translations that invented a {count} argument the English source never
  defines were corrected, as was one Irish string that translated the argument
  name itself.
- Language bars linked to mirrors that do not exist: docs/guides/I18N.md is
  English-only by design yet keeps legacy mirrors, so every new locale got a
  dead link. Bars now skip locales without a mirror on disk.
2026-09-08 09:15:01 -03:00

6.7 KiB
Raw Blame History

title, version, lastUpdated
title version lastUpdated
API Referansı 3.8.50 2026-08-23

API Referansı (Türkçe)

🌐 Languages: 🇺🇸 English · 🇸🇦 ar · 🇦🇿 az · 🇧🇬 bg · 🇧🇩 bn · 🇨🇿 cs · 🇩🇰 da · 🇩🇪 de · 🇬🇷 el · 🇪🇸 es · 🇪🇪 et · 🇮🇷 fa · 🇫🇮 fi · 🇫🇷 fr · 🇮🇪 ga · 🇮🇳 gu · 🇮🇱 he · 🇮🇳 hi · 🇭🇷 hr · 🇭🇺 hu · 🇮🇩 id · 🇮🇹 it · 🇯🇵 ja · 🇰🇷 ko · 🇱🇹 lt · 🇱🇻 lv · 🇮🇳 mr · 🇲🇾 ms · 🇲🇹 mt · 🇳🇱 nl · 🇳🇴 no · 🇵🇭 phi · 🇵🇱 pl · 🇵🇹 pt · 🇧🇷 pt-BR · 🇷🇴 ro · 🇷🇺 ru · 🇸🇰 sk · 🇸🇮 sl · 🇷🇸 sr · 🇸🇪 sv · 🇰🇪 sw · 🇮🇳 ta · 🇮🇳 te · 🇹🇭 th · 🇺🇦 uk-UA · 🇵🇰 ur · 🇻🇳 vi · 🇨🇳 zh-CN · 🇹🇼 zh-TW


Tüm OmniRoute API uç noktaları için eksiksiz referans dokümantasyonu.


İçindekiler


Sohbet Tamamlama (Chat Completions)

POST /v1/chat/completions
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "model": "cc/claude-opus-4-6",
  "messages": [
    {"role": "user", "content": "Python'da bir fonksiyon yaz..."}
  ],
  "stream": true
}

Özel Başlıklar

Başlık Yön ıklama
X-OmniRoute-No-Cache İstek Önbelleği atlamak için true ayarlayın
x-omniroute-no-memory İstek Bu istek için bellek ve yetenek enjeksiyonunu atlamak için true ayarlayın
X-OmniRoute-Progress İstek İlerleme olayları için true ayarlayın
X-Session-Id İstek Harici oturum yakınlığı için yapışkan oturum anahtarı
Idempotency-Key İstek Tekilleştirme anahtarı (5 saniyelik pencere)
X-OmniRoute-Cache Yanıt HIT veya MISS (akışsız modda)
X-OmniRoute-Idempotent Yanıt İstek tekilleştirilmişse true
X-OmniRoute-Version Yanıt OmniRoute derleme sürümü (her zaman bulunur)
X-OmniRoute-Decision Yanıt Yönlendirme izi: strategy=<ad>; provider=<alias>; latency_ms=<n>

Gömme (Embeddings)

POST /v1/embeddings
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "model": "text-embedding-3-small",
  "input": "Vektör haline getirilecek metin"
}

Görsel Üretimi (Image Generation)

POST /v1/images/generations
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "prompt": "Güneş batarken fütüristik bir şehir",
  "n": 1,
  "size": "1024x1024"
}

Arama API'si (Search API)

POST /v1/search
Authorization: Bearer your-api-key
Content-Type: application/json

{
  "query": "OmniRoute AI gateway nedir?",
  "provider": "perplexity"
}

Uyumluluk Uç Noktaları

  • OpenAI Responses: POST /v1/responses
  • Anthropic Messages: POST /v1/messages
  • Gemini Native: POST /v1beta/models/{model}:generateContent
  • Ollama Chat: POST /v1/api/chat
  • Token Sayımı: POST /v1/messages/count_tokens