{
  "openapi": "3.1.0",
  "info": {
    "title": "PaketSoft Mağaza API",
    "version": "1.0.0",
    "description": "PaketSoft üzerinde çalışan e-ticaret mağazalarının ürün, stok, sipariş, müşteri, kupon, rapor ve webhook verilerine erişim. Her mağaza kendi alan adında yayınlanır; anahtarlar mağaza panelinin API sayfasından üretilir. Okuma Koli paketinde (dakikada 60 istek), yazma Palet (300) ve Konteyner (600) paketlerinde açıktır.",
    "contact": {
      "name": "PaketSoft Destek",
      "email": "destek@paketsoft.com",
      "url": "https://paketsoft.com/devs"
    },
    "termsOfService": "https://paketsoft.com/hesap-kosullari"
  },
  "externalDocs": {
    "description": "Geliştirici belgeleri",
    "url": "https://paketsoft.com/devs"
  },
  "servers": [
    {
      "url": "https://{magaza}/api/v1",
      "description": "Mağazanın kendi alan adı",
      "variables": {
        "magaza": {
          "default": "magazaniz.paketsoft.com",
          "description": "Mağaza alan adı (ör. avantajdepo.paketsoft.com veya özel alan adı)"
        }
      }
    }
  ],
  "security": [
    {
      "apiKey": [],
      "apiSecret": []
    },
    {
      "basic": []
    }
  ],
  "tags": [
    {
      "name": "Ürünler"
    },
    {
      "name": "Siparişler"
    },
    {
      "name": "Müşteriler"
    },
    {
      "name": "Katalog"
    },
    {
      "name": "Kuponlar"
    },
    {
      "name": "Rapor"
    },
    {
      "name": "Webhooklar"
    }
  ],
  "paths": {
    "/urunler": {
      "get": {
        "summary": "Ürünleri listeler",
        "tags": [
          "Ürünler"
        ],
        "operationId": "get_urunler",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/urunler"
        },
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Arama metni",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kategori",
            "in": "query",
            "required": false,
            "description": "Kategori kimliği veya adresi",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "aktif",
            "in": "query",
            "required": false,
            "description": "true / false",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "degisen",
            "in": "query",
            "required": false,
            "description": "Bu tarihten sonra değişenler (ISO 8601)",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      },
      "post": {
        "summary": "Ürün ekler",
        "tags": [
          "Ürünler"
        ],
        "operationId": "post_urunler",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/urun-olustur"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/urunler/{id}": {
      "get": {
        "summary": "Tek ürünü getirir",
        "tags": [
          "Ürünler"
        ],
        "operationId": "get_urunler_id",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/urunler"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "patch": {
        "summary": "Ürünü günceller",
        "tags": [
          "Ürünler"
        ],
        "operationId": "patch_urunler_id",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/urun-guncelle"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/urunler/toplu": {
      "post": {
        "summary": "Toplu ürün ekler veya günceller",
        "tags": [
          "Ürünler"
        ],
        "operationId": "post_urunler_toplu",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/urun-guncelle"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/stok": {
      "post": {
        "summary": "SKU ile stok ve fiyat günceller",
        "tags": [
          "Ürünler"
        ],
        "operationId": "post_stok",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/urun-guncelle"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/siparisler": {
      "get": {
        "summary": "Siparişleri listeler",
        "tags": [
          "Siparişler"
        ],
        "operationId": "get_siparisler",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "baslangic",
            "in": "query",
            "required": false,
            "description": "Başlangıç tarihi (ISO 8601)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bitis",
            "in": "query",
            "required": false,
            "description": "Bitiş tarihi (ISO 8601)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "durum",
            "in": "query",
            "required": false,
            "description": "Sipariş durumu",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kanal",
            "in": "query",
            "required": false,
            "description": "Satış kanalı",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      }
    },
    "/siparisler/{no}": {
      "get": {
        "summary": "Sipariş ayrıntısı",
        "tags": [
          "Siparişler"
        ],
        "operationId": "get_siparisler_no",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "no",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "patch": {
        "summary": "Kargo takip ve fatura numarası yazar",
        "tags": [
          "Siparişler"
        ],
        "operationId": "patch_siparisler_no",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "no",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/siparisler/durum": {
      "post": {
        "summary": "Siparişlerin durumunu toplu günceller",
        "tags": [
          "Siparişler"
        ],
        "operationId": "post_siparisler_durum",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/musteriler": {
      "get": {
        "summary": "Müşterileri listeler",
        "tags": [
          "Müşteriler"
        ],
        "operationId": "get_musteriler",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Arama metni",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "baslangic",
            "in": "query",
            "required": false,
            "description": "Başlangıç tarihi (ISO 8601)",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      }
    },
    "/musteriler/{id}": {
      "get": {
        "summary": "Müşteri ayrıntısı",
        "tags": [
          "Müşteriler"
        ],
        "operationId": "get_musteriler_id",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/kategoriler": {
      "get": {
        "summary": "Kategori ağacı",
        "tags": [
          "Katalog"
        ],
        "operationId": "get_kategoriler",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/katalog"
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      }
    },
    "/markalar": {
      "get": {
        "summary": "Markalar",
        "tags": [
          "Katalog"
        ],
        "operationId": "get_markalar",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://paketsoft.com/devs/katalog"
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      }
    },
    "/kuponlar": {
      "get": {
        "summary": "Kuponları listeler",
        "tags": [
          "Kuponlar"
        ],
        "operationId": "get_kuponlar",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      },
      "post": {
        "summary": "Kupon oluşturur",
        "tags": [
          "Kuponlar"
        ],
        "operationId": "post_kuponlar",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/rapor/ozet": {
      "get": {
        "summary": "Satış özeti",
        "tags": [
          "Rapor"
        ],
        "operationId": "get_rapor_ozet",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "baslangic",
            "in": "query",
            "required": false,
            "description": "Başlangıç tarihi (ISO 8601)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bitis",
            "in": "query",
            "required": false,
            "description": "Bitiş tarihi (ISO 8601)",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/webhooklar": {
      "get": {
        "summary": "Webhook listesi",
        "tags": [
          "Webhooklar"
        ],
        "operationId": "get_webhooklar",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Liste"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/sayfa"
          },
          {
            "$ref": "#/components/parameters/adet"
          }
        ]
      },
      "post": {
        "summary": "Webhook ekler",
        "tags": [
          "Webhooklar"
        ],
        "operationId": "post_webhooklar",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "delete": {
        "summary": "Webhook siler",
        "tags": [
          "Webhooklar"
        ],
        "operationId": "delete_webhooklar",
        "responses": {
          "200": {
            "description": "Başarılı",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "403": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          },
          "429": {
            "description": "Hata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Hata"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Key",
        "description": "pk_ ile başlayan anahtar"
      },
      "apiSecret": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Secret",
        "description": "sk_ ile başlayan gizli anahtar"
      },
      "basic": {
        "type": "http",
        "scheme": "basic",
        "description": "base64(anahtar:gizli)"
      }
    },
    "parameters": {
      "sayfa": {
        "name": "sayfa",
        "in": "query",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "default": 1
        }
      },
      "adet": {
        "name": "adet",
        "in": "query",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 50
        }
      }
    },
    "schemas": {
      "Hata": {
        "type": "object",
        "properties": {
          "hata": {
            "type": "string"
          }
        },
        "required": [
          "hata"
        ]
      },
      "Liste": {
        "type": "object",
        "properties": {
          "veri": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "sayfalama": {
            "type": "object",
            "properties": {
              "sayfa": {
                "type": "integer"
              },
              "adet": {
                "type": "integer"
              },
              "toplam": {
                "type": "integer"
              },
              "sonraki": {
                "type": "boolean"
              }
            }
          }
        }
      }
    }
  }
}