๋งํฌ
GET https://qrcodemonkey.net/api/links/
curl --request GET \
--url 'https://qrcodemonkey.net/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/links/' \
--header 'Authorization: Bearer {api_key}' \
๋งค๊ฐ๋ณ์ | ์ธ๋ถ ์ ๋ณด | ์ค๋ช |
---|---|---|
page | ์ ํ ์ฌํญ ์ ์ | ๋น์ ์ด ์ํ๋ ํ์ด์ง ๋ฒํธ์์ ๊ฒฐ๊ณผ๋ฅผ ์ป์ต๋๋ค. ๊ธฐ๋ณธ๊ฐ์ 1 ์
๋๋ค. |
results_per_page | ์ ํ ์ฌํญ ์ ์ | ํ ํ์ด์ง๋น ์ํ๋ ๊ฒฐ๊ณผ ์๋ฅผ ์
๋ ฅํ์ธ์. ํ์ฉ๋ ๊ฐ์: 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,
"date": "2020-11-15 12:00:00"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://qrcodemonkey.net/api/links?&page=1",
"last": "https://qrcodemonkey.net/api/links?&page=1",
"next": null,
"prev": null,
"self": "https://qrcodemonkey.net/api/links?&page=1"
}
}
GET https://qrcodemonkey.net/api/links/{link_id}
curl --request GET \
--url 'https://qrcodemonkey.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.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,
"date": "2020-11-15 12:00:00"
}
}
POST https://qrcodemonkey.net/api/links
๋งค๊ฐ๋ณ์ | ์ธ๋ถ ์ ๋ณด | ์ค๋ช |
---|---|---|
location_url | ํ์ ๋ฌธ์์ด | ๋ชฉ์ ์ง์ URL |
url | ์ ํ ์ฌํญ ๋ฌธ์์ด | ์์ฑ๋ ๋งํฌ์ URL ๋ณ์นญ. ๋ฌด์์๋ก ์์ฑ๋ ๊ฒฝ์ฐ ๋น์ ๋์ญ์์ค. |
domain_id | ์ ํ ์ฌํญ ์ ์ | - |
project_id | ์ ํ ์ฌํญ ์ ์ | - |
pixels_ids | ์ ํ ์ฌํญ ๋ฐฐ์ด ์ ์ | - |
schedule | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
start_date | ์ ํ ์ฌํญ ๋ฌธ์์ด | ๋ค์ ์๊ฐ์ ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค: schedule = true |
end_date | ์ ํ ์ฌํญ ๋ฌธ์์ด | ๋ค์ ์๊ฐ์ ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค: schedule = true |
pageviews_limit | ์ ํ ์ฌํญ ์ ์ | - |
expiration_url | ์ ํ ์ฌํญ ๋ฌธ์์ด | - |
password | ์ ํ ์ฌํญ ๋ฌธ์์ด | - |
forward_query_parameters_is_enabled | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
utm_source | ์ ํ ์ฌํญ missing_translation: api_documentation.strings | - |
utm_medium | ์ ํ ์ฌํญ missing_translation: api_documentation.strings | - |
utm_campaign | ์ ํ ์ฌํญ missing_translation: api_documentation.strings | - |
sensitive_content | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
http_status_code | ์ ํ ์ฌํญ ์ ์ | ํ์ฉ๋ ๊ฐ: 301 , 302 , 307 , 308 |
app_linking_is_enabled | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
cloaking_is_enabled | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
cloaking_title | ์ ํ ์ฌํญ ๋ฌธ์์ด | - |
cloaking_favicon | ์ ํ ์ฌํญ ํ์ผ | - |
targeting_type | ์ ํ ์ฌํญ ๋ฌธ์์ด | country_code , device_type , browser_language , rotation , os_name |
targeting_country_code_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=country_code) |
targeting_country_code_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=country_code) |
targeting_device_type_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=device_type) |
targeting_device_type_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=device_type) |
targeting_browser_language_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=browser_language) |
targeting_browser_language_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=browser_language) |
targeting_rotation_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=rotation) |
targeting_rotation_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=rotation) |
targeting_os_name_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=os_name) |
targeting_os_name_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=os_name) |
curl --request POST \
--url 'https://qrcodemonkey.net/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://qrcodemonkey.net/' \
--url 'https://qrcodemonkey.net/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://qrcodemonkey.net/' \
{
"data": {
"id": 1
}
}
POST https://qrcodemonkey.net/api/links/{link_id}
๋งค๊ฐ๋ณ์ | ์ธ๋ถ ์ ๋ณด | ์ค๋ช |
---|---|---|
location_url | ์ ํ ์ฌํญ ๋ฌธ์์ด | ๋ชฉ์ ์ง์ URL |
url | ์ ํ ์ฌํญ ๋ฌธ์์ด | ์์ฑ๋ ๋งํฌ์ URL ๋ณ์นญ. ๋ฌด์์๋ก ์์ฑ๋ ๊ฒฝ์ฐ ๋น์ ๋์ญ์์ค. |
domain_id | ์ ํ ์ฌํญ ์ ์ | - |
project_id | ์ ํ ์ฌํญ ์ ์ | - |
pixels_ids | ์ ํ ์ฌํญ ๋ฐฐ์ด ์ ์ | - |
schedule | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
start_date | ์ ํ ์ฌํญ ๋ฌธ์์ด | ๋ค์ ์๊ฐ์ ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค: schedule = true |
end_date | ์ ํ ์ฌํญ ๋ฌธ์์ด | ๋ค์ ์๊ฐ์ ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค: schedule = true |
pageviews_limit | ์ ํ ์ฌํญ ์ ์ | - |
expiration_url | ์ ํ ์ฌํญ ๋ฌธ์์ด | - |
password | ์ ํ ์ฌํญ ๋ฌธ์์ด | - |
forward_query_parameters_is_enabled | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
utm_source | ์ ํ ์ฌํญ missing_translation: api_documentation.strings | - |
utm_medium | ์ ํ ์ฌํญ missing_translation: api_documentation.strings | - |
utm_campaign | ์ ํ ์ฌํญ missing_translation: api_documentation.strings | - |
sensitive_content | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
http_status_code | ์ ํ ์ฌํญ ์ ์ | ํ์ฉ๋ ๊ฐ: 301 , 302 , 307 , 308 |
app_linking_is_enabled | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
cloaking_is_enabled | ์ ํ ์ฌํญ ๋ถ์ธ(Boolean) | - |
cloaking_title | ์ ํ ์ฌํญ ๋ฌธ์์ด | - |
cloaking_favicon | ์ ํ ์ฌํญ ํ์ผ | - |
targeting_type | ์ ํ ์ฌํญ ๋ฌธ์์ด | country_code , device_type , browser_language , rotation , os_name |
targeting_country_code_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=country_code) |
targeting_country_code_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=country_code) |
targeting_device_type_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=device_type) |
targeting_device_type_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=device_type) |
targeting_browser_language_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=browser_language) |
targeting_browser_language_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=browser_language) |
targeting_rotation_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=rotation) |
targeting_rotation_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=rotation) |
targeting_os_name_key[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=os_name) |
targeting_os_name_value[index] | ์ ํ ์ฌํญ ๋ฌธ์์ด | (targeting_type=os_name) |
curl --request POST \
--url 'https://qrcodemonkey.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://qrcodemonkey.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://qrcodemonkey.net/api/links/{link_id}
curl --request DELETE \
--url 'https://qrcodemonkey.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \