API endpoint:
http://linkle.us/api/v1/links
Request example:
curl --location --request GET 'http://linkle.us/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
title
for Başlık, alias
for Alias, url
for URL. Defaults to: title
.status
0
for Tümü, 1
for Aktif, 2
for Süresi dolmuş, 3
for Devre dışı. Defaults to: 0
.space_id
domain_id
pixel_id
sort_by
id
for Date created, clicks
for Clicks, title
for Başlık, alias
for Alias, url
for URL. Defaults to: id
.sort
desc
for Azalan, asc
for Artan. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
http://linkle.us/api/v1/links/{id}
Request example:
curl --location --request GET 'http://linkle.us/api/v1/links/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
http://linkle.us/api/v1/links
Request example:
curl --location --request POST 'http://linkle.us/api/v1/links' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}' \ --data-urlencode 'domain={id}'
url
domain_id
alias
password
space_id
pixel_ids
disabled
0
for Aktif, 1
for Devre dışı. Defaults to: 0
.privacy
0
for Herkese açık, 1
for Özel, 2
for Şifre. Defaults to: 0
.privacy_password
privacy
set to 2
.expiration_url
expiration_date
YYYY-MM-DD
format.expiration_time
HH:MM
format.expiration_clicks
target_type
0
for Hiçbiri, 1
for Geographic, 2
for Platform, 4
for Rotation.country[index][key]
country[index][value]
platform[index][key]
iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS
.platform[index][value]
language[index][key]
language[index][value]
rotation[index][value]
API endpoint:
http://linkle.us/api/v1/links/{id}
Request example:
curl --location --request PUT 'http://linkle.us/api/v1/links/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
alias
password
space_id
pixel_ids
disabled
0
for Aktif, 1
for Devre dışı.privacy
0
for Herkese açık, 1
for Özel, 2
for Şifre.privacy_password
privacy
set to 2
.expiration_url
expiration_date
YYYY-MM-DD
format.expiration_time
HH:MM
format.expiration_clicks
target_type
0
for Hiçbiri, 1
for Geographic, 2
for Platform, 4
for Rotation.country[index][key]
country[index][value]
platform[index][key]
iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS
.platform[index][value]
language[index][key]
language[index][value]
rotation[index][value]
API endpoint:
http://linkle.us/api/v1/links/{id}
Request example:
curl --location --request DELETE 'http://linkle.us/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'