API endpoint:
https://4or.de/api/v1/links
Beispiel anfordern:
curl --location --request GET 'https://4or.de/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
title
for Title, alias
for Alias, url
for URL. Standardwert: title
status
0
for Alle, 1
for Aktiv, 2
for Abgelaufen, 3
for Deaktiviert. Standardwert: 0
space_id
domain_id
pixel_id
sort_by
id
for Erstellungsdatum, clicks
for Klicks, title
for Title, alias
for Alias, url
for URL. Standardwert: id
sort
desc
for Absteigend, asc
for Aufsteigend. Standardwert: desc
per_page
10
, 25
, 50
, 100
. Standardwert: 100
API endpoint:
https://4or.de/api/v1/links/{id}
Beispiel anfordern:
curl --location --request GET 'https://4or.de/api/v1/links/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://4or.de/api/v1/links
Beispiel anfordern:
curl --location --request POST 'https://4or.de/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 Aktiv, 1
for Deaktiviert. Standardwert: 0
privacy
0
for Öffentlich, 1
for Privat, 2
for Passwort. Standardwert: 0
privacy_password
privacy
set to 2
.expiration_url
expiration_date
YYYY-MM-DD
.expiration_time
HH:MM
.expiration_clicks
target_type
0
for Keine, 1
for Geografisch, 2
for Plattform, 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:
https://4or.de/api/v1/links/{id}
Beispiel anfordern:
curl --location --request PUT 'https://4or.de/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 Aktiv, 1
for Deaktiviert.privacy
0
for Öffentlich, 1
for Privat, 2
for Passwort.privacy_password
privacy
set to 2
.expiration_url
expiration_date
YYYY-MM-DD
.expiration_time
HH:MM
.expiration_clicks
target_type
0
for Keine, 1
for Geografisch, 2
for Plattform, 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:
https://4or.de/api/v1/links/{id}
Beispiel anfordern:
curl --location --request DELETE 'https://4or.de/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'