Ayarlar

Bu servis sayesinde sitenizin tüm yapılandırma bilgilerini, mobil veya diğer uygulamalarınızda kullanmak için çekebilirsiniz.

API URL Method Response
/api/settings GET application/json
 Örnek PHP Kodu
<?php
    header('Content-type: application/json');
    $apiUri = "http://siteadresiniz.com/api/settings";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $apiUri);
    curl_setopt($ch, CURLOPT_HEADER, false);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, false);
    curl_setopt($ch, CURLOPT_USERPWD, "username:password");
    exit(curl_exec($ch));
Çıktı
{
    "admin_name": "admin",
    "locale": "tr_TR",
    "admin_locale": "tr_TR",
    ...
}