링크
GET https://urlaz.net/api/links/
curl --request GET \
--url 'https://urlaz.net/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://urlaz.net/api/links/' \
--header 'Authorization: Bearer {api_key}' \
매개변수 | 세부정보 | 설명 |
---|---|---|
page | Optional 정수 | 결과를 원하는 페이지 번호는 .입니다. 기본값은 1 . |
results_per_page | Optional 정수 | 페이지당 원하는 결과 수. 허용되는 값은 다음과 같습니다. 10 , 25 , 50 , 100 , 250 , 500 , 1000 . 기본값은 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
},
"pageviews": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2025-03-13 00:27:25"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://urlaz.net/api/links?&page=1",
"last": "https://urlaz.net/api/links?&page=1",
"next": null,
"prev": null,
"self": "https://urlaz.net/api/links?&page=1"
}
}
GET https://urlaz.net/api/links/{link_id}
curl --request GET \
--url 'https://urlaz.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://urlaz.net/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-03-13 00:27:25"
}
}
POST https://urlaz.net/api/links
매개변수 | 세부정보 | 설명 |
---|---|---|
location_url | 필수 문자열 | 목적지.의 URL |
url | Optional 문자열 | 생성된 링크의 URL 별칭. 무작위로 생성된 링크의 경우 비워 두세요. |
domain_id | Optional 정수 | - |
project_id | Optional 정수 | - |
pixels_ids | Optional 배열 정수 | - |
schedule | Optional 부울 | - |
start_date | Optional 문자열 | 사용 가능한 시기: schedule = true |
end_date | Optional 문자열 | 사용 가능한 시기: schedule = true |
pageviews_limit | Optional 정수 | - |
expiration_url | Optional 문자열 | - |
password | Optional 문자열 | - |
forward_query_parameters_is_enabled | Optional 부울 | - |
utm_source | Optional 문자열 | - |
utm_medium | Optional 문자열 | - |
utm_campaign | Optional 문자열 | - |
sensitive_content | Optional 부울 | - |
http_status_code | Optional 정수 | 허용된 값: 301 , 302 , 307 , 308 |
app_linking_is_enabled | Optional 부울 | - |
cloaking_is_enabled | Optional 부울 | - |
cloaking_title | Optional 문자열 | - |
cloaking_custom_js | Optional 문자열 | - |
cloaking_favicon | Optional 파일 | - |
cloaking_opengraph | Optional 파일 | - |
targeting_type | Optional 문자열 | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = continent_code |
targeting_continent_code_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = continent_code |
targeting_country_code_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = country_code |
targeting_country_code_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = country_code |
targeting_city_name_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = city_name |
targeting_city_name_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = city_name |
targeting_device_type_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = device_type |
targeting_device_type_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = device_type |
targeting_browser_language_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_language |
targeting_browser_language_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_language |
targeting_rotation_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = rotation |
targeting_rotation_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = rotation |
targeting_os_name_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = os_name |
targeting_os_name_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = os_name |
targeting_browser_name_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_name |
targeting_browser_name_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_name |
curl --request POST \
--url 'https://urlaz.net/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://urlaz.net/' \
--url 'https://urlaz.net/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://urlaz.net/' \
{
"data": {
"id": 1
}
}
POST https://urlaz.net/api/links/{link_id}
매개변수 | 세부정보 | 설명 |
---|---|---|
location_url | Optional 문자열 | 목적지.의 URL |
url | Optional 문자열 | 생성된 링크의 URL 별칭. 무작위로 생성된 링크의 경우 비워 두세요. |
domain_id | Optional 정수 | - |
project_id | Optional 정수 | - |
pixels_ids | Optional 배열 정수 | - |
schedule | Optional 부울 | - |
start_date | Optional 문자열 | 사용 가능한 시기: schedule = true |
end_date | Optional 문자열 | 사용 가능한 시기: schedule = true |
pageviews_limit | Optional 정수 | - |
expiration_url | Optional 문자열 | - |
password | Optional 문자열 | - |
forward_query_parameters_is_enabled | Optional 부울 | - |
utm_source | Optional 문자열 | - |
utm_medium | Optional 문자열 | - |
utm_campaign | Optional 문자열 | - |
sensitive_content | Optional 부울 | - |
http_status_code | Optional 정수 | 허용된 값: 301 , 302 , 307 , 308 |
app_linking_is_enabled | Optional 부울 | - |
cloaking_is_enabled | Optional 부울 | - |
cloaking_title | Optional 문자열 | - |
cloaking_custom_js | Optional 문자열 | - |
cloaking_favicon | Optional 파일 | - |
cloaking_opengraph | Optional 파일 | - |
targeting_type | Optional 문자열 | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = continent_code |
targeting_continent_code_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = continent_code |
targeting_country_code_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = country_code |
targeting_country_code_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = country_code |
targeting_city_name_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = city_name |
targeting_city_name_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = city_name |
targeting_device_type_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = device_type |
targeting_device_type_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = device_type |
targeting_browser_language_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_language |
targeting_browser_language_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_language |
targeting_rotation_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = rotation |
targeting_rotation_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = rotation |
targeting_os_name_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = os_name |
targeting_os_name_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = os_name |
targeting_browser_name_key[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_name |
targeting_browser_name_value[index] | Optional 문자열 | 사용 가능한 시기: targeting_type = browser_name |
curl --request POST \
--url 'https://urlaz.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://urlaz.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://urlaz.net/api/links/{link_id}
curl --request DELETE \
--url 'https://urlaz.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://urlaz.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \