Cyswllt
GET https://tistos.com/api/links/
curl --request GET \
--url 'https://tistos.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
Paramedrau | Manylion | Disgrifiad |
---|---|---|
page | Dewisol Cyfanrif | Y rhif tudalen y dymunwch gael canlyniadau ohono. Mae'n dod yn ddiofyn i 1 . |
results_per_page | Dewisol Cyfanrif | Faint o ganlyniadau ydych chi am bob tudalen. Mae'r gwerthoedd a ganiateir yn: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Mae'r rhagosodiad yn 25 . |
{ "data": [ { "id": 1, "project_id": null, "domain_id": 0, "type": "link", "url": "example", "location_url": "https://example.com/", "settings": { "password": null, "sensitive_content": false }, "clicks": 10, "order": 0, "start_date": null, "end_date": null, "datetime": "2025-10-16 11:05:25", } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://tistos.com/api/links?page=1", "last": "https://tistos.com/api/links?page=1", "next": null, "prev": null, "self": "https://tistos.com/api/links?page=1" } }
GET https://tistos.com/api/links/{link_id}
curl --request GET \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/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 }, "clicks": 10, "order": 0, "start_date": null, "end_date": null, "datetime": "2025-10-16 11:05:25", } }
POST https://tistos.com/api/links
Paramedrau | Manylion | Disgrifiad |
---|---|---|
type | Dewisol String | link |
location_url | Angenrheidiol String | URL y cyrchfan.Ar gael pan: is_bulk = 0 |
location_urls | Angenrheidiol String | URL y cyrchfan.Ar gael pan: is_bulk = 1 |
url | Dewisol String | Alias URL y ddolen a gynhyrchwyd. Gadewch yn wag i greu un ar hap.Ar gael pan: is_bulk = 0 |
is_bulk | Dewisol Booleaidd | |
domain_id | Dewisol Cyfanrif | - |
project_id | Dewisol Cyfanrif | - |
pixels_ids | Dewisol Arolygiad Cyfanrif | - |
email_reports | Dewisol Arolygiad | ID triniwr hysbysiadau |
schedule | Dewisol Booleaidd | - |
start_date | Dewisol String | Ar gael pan: schedule = true |
end_date | Dewisol String | Ar gael pan: schedule = true |
clicks_limit | Dewisol Cyfanrif | - |
expiration_url | Dewisol String | - |
sensitive_content | Dewisol Booleaidd | - |
http_status_code | Dewisol Cyfanrif | Gwerthoedd a ganiateir: 301 , 302 , 307 , 308 |
app_linking_is_enabled | Dewisol Booleaidd | - |
cloaking_is_enabled | Dewisol Booleaidd | - |
cloaking_title | Dewisol String | - |
cloaking_meta_description | Dewisol String | - |
cloaking_custom_js | Dewisol String | - |
cloaking_favicon | Dewisol Ffeil | - |
cloaking_opengraph | Dewisol Ffeil | - |
password | Dewisol String | - |
forward_query_parameters_is_enabled | Dewisol Booleaidd | - |
utm_source | Dewisol String | - |
utm_medium | Dewisol String | - |
utm_campaign | Dewisol String | - |
targeting_type | Dewisol String | continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
targeting_continent_code_value[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
targeting_country_code_key[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
targeting_country_code_value[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
targeting_city_name_key[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
targeting_city_name_value[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
targeting_device_type_key[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
targeting_device_type_value[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
targeting_browser_language_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
targeting_browser_language_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
targeting_rotation_key[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
targeting_rotation_value[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
targeting_os_name_key[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
targeting_os_name_value[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
targeting_browser_name_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
targeting_browser_name_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
curl --request POST \
--url 'https://tistos.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://tistos.com/' \
--url 'https://tistos.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://tistos.com/' \
{ "data": { "id": 1 } }
POST https://tistos.com/api/links/{link_id}
Paramedrau | Manylion | Disgrifiad |
---|---|---|
location_url | Dewisol String | URL y cyrchfan. |
url | Dewisol String | Alias URL y ddolen a gynhyrchwyd. Gadewch yn wag i greu un ar hap. |
domain_id | Dewisol Cyfanrif | - |
project_id | Dewisol Cyfanrif | - |
pixels_ids | Dewisol Arolygiad Cyfanrif | - |
email_reports | Dewisol Arolygiad | ID triniwr hysbysiadau |
schedule | Dewisol Booleaidd | - |
start_date | Dewisol String | Ar gael pan: schedule = true |
end_date | Dewisol String | Ar gael pan: schedule = true |
clicks_limit | Dewisol Cyfanrif | - |
expiration_url | Dewisol String | - |
sensitive_content | Dewisol Booleaidd | - |
http_status_code | Dewisol Cyfanrif | Gwerthoedd a ganiateir: 301 , 302 , 307 , 308 |
app_linking_is_enabled | Dewisol Booleaidd | - |
cloaking_is_enabled | Dewisol Booleaidd | - |
cloaking_title | Dewisol String | - |
cloaking_meta_description | Dewisol String | - |
cloaking_custom_js | Dewisol String | - |
cloaking_favicon | Dewisol Ffeil | - |
cloaking_opengraph | Dewisol Ffeil | - |
password | Dewisol String | - |
forward_query_parameters_is_enabled | Dewisol Booleaidd | - |
utm_source | Dewisol String | - |
utm_medium | Dewisol String | - |
utm_campaign | Dewisol String | - |
targeting_type | Dewisol String | continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
targeting_continent_code_value[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
targeting_country_code_key[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
targeting_country_code_value[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
targeting_city_name_key[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
targeting_city_name_value[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
targeting_device_type_key[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
targeting_device_type_value[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
targeting_browser_language_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
targeting_browser_language_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
targeting_rotation_key[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
targeting_rotation_value[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
targeting_os_name_key[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
targeting_os_name_value[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
targeting_browser_name_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
targeting_browser_name_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
curl --request POST \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{ "data": { "id": 1 } }
DELETE https://tistos.com/api/links/{link_id}
curl --request DELETE \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \