API endpoint:
https://4or.de/api/v1/links
Beispiel Request:
curl --location --request GET 'https://4or.de/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
title
für Title, alias
für Alias, url
für URL. Standardwert: title
status
0
für Alle, 1
für Aktiv, 2
für Abgelaufen, 3
für Deaktiviert. Standardwert: 0
space_id
domain_id
pixel_id
sort_by
id
für Erstellungsdatum, clicks
für Klicks, title
für Title, alias
für Alias, url
für URL. Standardwert: id
sort
desc
für Absteigend, asc
für Aufsteigend. Standardwert: desc
per_page
10
, 25
, 50
, 100
. Standardwert: 100
API endpoint:
https://4or.de/api/v1/links/{id}
Beispiel Request:
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 Request:
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
space_id
pixel_ids[]
redirect_password
sensitive_content
0
für Nein, 1
für Ja. Standardwert: 0
privacy
0
für Öffentlich, 1
für Privat, 2
für Passwort. Standardwert: 0
password
privacy
field set to 2
.active_period_start_at
Y-m-d H:i
format.active_period_end_at
Y-m-d H:i
format.clicks_limit
expiration_url
targets_type
continents
für Continents, countries
für Countries, operating_systems
für Operating systems, browsers
für Browsers, languages
für Languages, devices
für Devices, rotations
für Rotations.targets[index][key]
targets_type=country
, the value must be in ISO 3166-1 alpha-2 format.targets_type=operating_systems
, the possible values are iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS.
targets_type=browsers
, the possible values are: Chrome
, Chromium
, Firefox
, Firefox Mobile
, Edge
, Internet Explorer
, Mobile Internet Explorer
, Vivaldi
, Brave
, Safari
, Opera
, Opera Mini
, Opera Mobile
, Opera Touch
, Yandex Browser
, UC Browser
, Samsung Internet
, QQ Browser
, BlackBerry Browser
, Maxtho.
targets_type=devices
, the possible values are: Desktop
, Mobile
, Tablet
, Watch
, Television.
targets_type=languages
, the value must be in ISO 639-1 alpha-2 format.targets_type=continents
, the possible values are: AF
für Africa, AN
für Antarctica, AS
für Asia, EU
für Europe, NA
für North America, OC
für Oceania, SA
für South America.targets[index][value]
API endpoint:
https://4or.de/api/v1/links/{id}
Beispiel Request:
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
space_id
pixel_ids[]
redirect_password
sensitive_content
0
für Nein, 1
für Ja.privacy
0
für Öffentlich, 1
für Privat, 2
für Passwort.password
privacy
field set to 2
.active_period_start_at
Y-m-d H:i
format.active_period_end_at
Y-m-d H:i
format.clicks_limit
expiration_url
targets_type
continents
für Continents, countries
für Countries, operating_systems
für Operating systems, browsers
für Browsers, languages
für Languages, devices
für Devices, rotations
für Rotations.targets[index][key]
targets_type=country
, the value must be in ISO 3166-1 alpha-2 format.targets_type=operating_systems
, the possible values are iOS
, Android
, Windows
, OS X
, Linux
, Ubuntu
, Chrome OS.
targets_type=browsers
, the possible values are: Chrome
, Chromium
, Firefox
, Firefox Mobile
, Edge
, Internet Explorer
, Mobile Internet Explorer
, Vivaldi
, Brave
, Safari
, Opera
, Opera Mini
, Opera Mobile
, Opera Touch
, Yandex Browser
, UC Browser
, Samsung Internet
, QQ Browser
, BlackBerry Browser
, Maxtho.
targets_type=devices
, the possible values are: Desktop
, Mobile
, Tablet
, Watch
, Television.
targets_type=languages
, the value must be in ISO 639-1 alpha-2 format.targets_type=continents
, the possible values are: AF
für Africa, AN
für Antarctica, AS
für Asia, EU
für Europe, NA
für North America, OC
für Oceania, SA
für South America.targets[index][value]
API endpoint:
https://4or.de/api/v1/links/{id}
Beispiel Request:
curl --location --request DELETE 'https://4or.de/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'