Ana içeriğe geç

Makale Boyutları

Mevcut makale boyutu seçeneklerini getirmek için kullanılan endpoint.

📋 Endpoint Bilgileri

  • URL: /api/v1/makaleler/makale-boyutları
  • Method: GET
  • Authentication: Bearer Token gerekli

✅ Response Example

[
{
"id": 1,
"name": "Kısa",
"wordCount": "300-500",
"description": "Blog postları için ideal",
"estimatedTime": "2-3 dakika",
"cost": 15.0
},
{
"id": 2,
"name": "Orta",
"wordCount": "800-1200",
"description": "Standart makaleler",
"estimatedTime": "4-6 dakika",
"cost": 25.0
}
]

💻 Kullanım

async function getArticleSizes() {
const response = await fetch(
"https://integration.seoauthor.ai/api/v1/makaleler/makale-boyutları",
{
headers: {
Authorization: `Bearer ${accessToken}`,
},
}
);

return response.json();
}