Bağlantılar
                                GET https://www.sas.com.ru/qrkod/api/links/
                            
                        
                                curl --request GET \
--url 'https://www.sas.com.ru/qrkod/api/links/' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://www.sas.com.ru/qrkod/api/links/' \
--header 'Authorization: Bearer {api_key}' \
| Parametreler | Detaylar | Açıklama | 
|---|---|---|
| page | Opsiyonel Tam Sayı | Sonuçları hangi sayfadan almak istediğiniz. Varsayılan 1’dir. | 
| results_per_page | Opsiyonel Tam Sayı | Her sayfada kaç sonuç görmek istersiniz. İzin verilen değerler: 10,25,50,100,250,500,1000. Varsayılan25’dir. | 
{
    "data": [
        {
            "id": 1,
            "project_id": null,
            "domain_id": 0,
            "type": "link",
            "url": "example",
            "location_url": "https://example.com/",
            "settings": {
                "password": null,
                "sensitive_content": false
            },
            "pageviews": 10,
            "order": 0,
            "start_date": null,
            "end_date": null,
            "datetime": "2025-10-31 12:51:53"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://www.sas.com.ru/qrkod/api/links?&page=1",
        "last": "https://www.sas.com.ru/qrkod/api/links?&page=1",
        "next": null,
        "prev": null,
        "self": "https://www.sas.com.ru/qrkod/api/links?&page=1"
    }
}
                        
                    
                                GET https://www.sas.com.ru/qrkod/api/links/{link_id}
                            
                        
                                curl --request GET \
--url 'https://www.sas.com.ru/qrkod/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://www.sas.com.ru/qrkod/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "project_id": null,
        "domain_id": 0,
        "type": "link",
        "url": "example",
        "location_url": "https://example.com/",
        "settings": {
            "password": null,
            "sensitive_content": false
        },
        "pageviews": 10,
        "order": 0,
        "start_date": null,
        "end_date": null,
        "datetime": "2025-10-31 12:51:53"
    }
}
                        
                    
                                POST https://www.sas.com.ru/qrkod/api/links
                            
                        | Parametreler | Detaylar | Açıklama | 
|---|---|---|
| location_url | Gerekli Metin | Hedef URL. | 
| url | Opsiyonel Metin | Oluşturulan bağlantının URL takma adı. Rastgele bir tane oluşturmak için boş bırakın. | 
| domain_id | Opsiyonel Tam Sayı | - | 
| project_id | Opsiyonel Tam Sayı | - | 
| pixels_ids | Opsiyonel Dizi Tam Sayı | - | 
| schedule | Opsiyonel Boolean | - | 
| start_date | Opsiyonel Metin | Mevcut olduğunda: schedule = true | 
| end_date | Opsiyonel Metin | Mevcut olduğunda: schedule = true | 
| pageviews_limit | Opsiyonel Tam Sayı | - | 
| expiration_url | Opsiyonel Metin | - | 
| password | Opsiyonel Metin | - | 
| forward_query_parameters_is_enabled | Opsiyonel Boolean | - | 
| utm_source | Opsiyonel Metin | - | 
| utm_medium | Opsiyonel Metin | - | 
| utm_campaign | Opsiyonel Metin | - | 
| sensitive_content | Opsiyonel Boolean | - | 
| http_status_code | Opsiyonel Tam Sayı | İzin verilen değerler: 301,302,307,308 | 
| app_linking_is_enabled | Opsiyonel Boolean | - | 
| cloaking_is_enabled | Opsiyonel Boolean | - | 
| cloaking_title | Opsiyonel Metin | - | 
| cloaking_custom_js | Opsiyonel Metin | - | 
| cloaking_favicon | Opsiyonel Dosya | - | 
| cloaking_opengraph | Opsiyonel Dosya | - | 
| targeting_type | Opsiyonel Metin | continent_code,country_code,city_name,device_type,browser_language,rotation,os_name,browser_name | 
| targeting_continent_code_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = continent_code | 
| targeting_continent_code_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = continent_code | 
| targeting_country_code_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = country_code | 
| targeting_country_code_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = country_code | 
| targeting_city_name_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = city_name | 
| targeting_city_name_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = city_name | 
| targeting_device_type_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = device_type | 
| targeting_device_type_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = device_type | 
| targeting_browser_language_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_language | 
| targeting_browser_language_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_language | 
| targeting_rotation_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = rotation | 
| targeting_rotation_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = rotation | 
| targeting_os_name_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = os_name | 
| targeting_os_name_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = os_name | 
| targeting_browser_name_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_name | 
| targeting_browser_name_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_name | 
                                curl --request POST \
--url 'https://www.sas.com.ru/qrkod/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://www.sas.com.ru/qrkod/' \
                            
                        --url 'https://www.sas.com.ru/qrkod/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://www.sas.com.ru/qrkod/' \
{
    "data": {
        "id": 1
    }
}
                        
                    
                                POST https://www.sas.com.ru/qrkod/api/links/{link_id}
                            
                        | Parametreler | Detaylar | Açıklama | 
|---|---|---|
| location_url | Opsiyonel Metin | Hedef URL. | 
| url | Opsiyonel Metin | Oluşturulan bağlantının URL takma adı. Rastgele bir tane oluşturmak için boş bırakın. | 
| domain_id | Opsiyonel Tam Sayı | - | 
| project_id | Opsiyonel Tam Sayı | - | 
| pixels_ids | Opsiyonel Dizi Tam Sayı | - | 
| schedule | Opsiyonel Boolean | - | 
| start_date | Opsiyonel Metin | Mevcut olduğunda: schedule = true | 
| end_date | Opsiyonel Metin | Mevcut olduğunda: schedule = true | 
| pageviews_limit | Opsiyonel Tam Sayı | - | 
| expiration_url | Opsiyonel Metin | - | 
| password | Opsiyonel Metin | - | 
| forward_query_parameters_is_enabled | Opsiyonel Boolean | - | 
| utm_source | Opsiyonel Metin | - | 
| utm_medium | Opsiyonel Metin | - | 
| utm_campaign | Opsiyonel Metin | - | 
| sensitive_content | Opsiyonel Boolean | - | 
| http_status_code | Opsiyonel Tam Sayı | İzin verilen değerler: 301,302,307,308 | 
| app_linking_is_enabled | Opsiyonel Boolean | - | 
| cloaking_is_enabled | Opsiyonel Boolean | - | 
| cloaking_title | Opsiyonel Metin | - | 
| cloaking_custom_js | Opsiyonel Metin | - | 
| cloaking_favicon | Opsiyonel Dosya | - | 
| cloaking_opengraph | Opsiyonel Dosya | - | 
| targeting_type | Opsiyonel Metin | continent_code,country_code,city_name,device_type,browser_language,rotation,os_name,browser_name | 
| targeting_continent_code_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = continent_code | 
| targeting_continent_code_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = continent_code | 
| targeting_country_code_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = country_code | 
| targeting_country_code_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = country_code | 
| targeting_city_name_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = city_name | 
| targeting_city_name_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = city_name | 
| targeting_device_type_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = device_type | 
| targeting_device_type_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = device_type | 
| targeting_browser_language_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_language | 
| targeting_browser_language_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_language | 
| targeting_rotation_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = rotation | 
| targeting_rotation_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = rotation | 
| targeting_os_name_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = os_name | 
| targeting_os_name_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = os_name | 
| targeting_browser_name_key[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_name | 
| targeting_browser_name_value[index] | Opsiyonel Metin | Mevcut olduğunda: targeting_type = browser_name | 
                                curl --request POST \
--url 'https://www.sas.com.ru/qrkod/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
                            
                        --url 'https://www.sas.com.ru/qrkod/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
  "data": {
    "id": 1
  }
}
                        
                    
                                DELETE https://www.sas.com.ru/qrkod/api/links/{link_id}
                            
                        
                                curl --request DELETE \
--url 'https://www.sas.com.ru/qrkod/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
                            
                        --url 'https://www.sas.com.ru/qrkod/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \