அனுகூலமான டொமைன்கள்

GET https://tistos.com/api/domains/
curl --request GET \
--url 'https://tistos.com/api/domains/' \
--header 'Authorization: Bearer {api_key}' \
அளவுருக்கள் விவரங்கள் விளக்கம்
page விருப்பமான முழு எண் நீங்கள் முடிவுகளைப் பெற விரும்பும் பக்கம் எண். இயல்பாக 1 ஆக இருக்கும்.
results_per_page விருப்பமான முழு எண் ஒரு பக்கத்திற்கு நீங்கள் எவ்வளவு முடிவுகளை விரும்புகிறீர்கள். அனுமதிக்கப்பட்ட மதிப்புகள்: 10 , 25 , 50 , 100 , 250 , 500 , 1000. இயல்பாக 25 ஆக உள்ளது.
{
    "data": [
        {
            "id": 1,
            "scheme": "https://",
            "host": "example.com",
            "custom_index_url": "",
            "is_enabled": true,
            "last_datetime": null,
            "datetime": "2025-10-16 11:04:36",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://tistos.com/api/domains?page=1",
        "last": "https://tistos.com/api/domains?page=1",
        "next": null,
        "prev": null,
        "self": "https://tistos.com/api/domains?page=1"
    }
}
GET https://tistos.com/api/domains/{domain_id}
curl --request GET \
--url 'https://tistos.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "scheme": "https://",
        "host": "example.com",
        "custom_index_url": "",
        "is_enabled": true,
        "last_datetime": null,
        "datetime": "2025-10-16 11:04:36",
    }
}
POST https://tistos.com/api/domains
அளவுருக்கள் விவரங்கள் விளக்கம்
host தேவையானது கோப்பு -
custom_index_url விருப்பமான கோப்பு -
custom_not_found_url விருப்பமான கோப்பு -
curl --request POST \
--url 'https://tistos.com/api/domains' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--form 'custom_index_url=https://example.com/' \
--form 'custom_not_found_url=https://example.com/404-page'
{
    "data": {
        "id": 1
    }
}
POST https://tistos.com/api/domains/{domain_id}
அளவுருக்கள் விவரங்கள் விளக்கம்
host விருப்பமான கோப்பு -
custom_index_url விருப்பமான கோப்பு -
custom_not_found_url விருப்பமான கோப்பு -
curl --request POST \
--url 'https://tistos.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
{
    "data": {
        "id": 1
    }
}
DELETE https://tistos.com/api/domains/{domain_id}
curl --request DELETE \
--url 'https://tistos.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \