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}'
searchsearch_bytitle für Title, alias für Alias, url für URL. Standardwert: titlestatus0 für Alle, 1 für Aktiv, 2 für Abgelaufen, 3 für Deaktiviert. Standardwert: 0space_iddomain_idpixel_idsort_byid für Erstellungsdatum, clicks für Klicks, title für Title, alias für Alias, url für URL. Standardwert: idsortdesc für Absteigend, asc für Aufsteigend. Standardwert: descper_page10, 25, 50, 100. Standardwert: 100API 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}'
urldomain_idaliasspace_idpixel_ids[]redirect_passwordsensitive_content0 für Nein, 1 für Ja. Standardwert: 0privacy0 für Öffentlich, 1 für Privat, 2 für Passwort. Standardwert: 0passwordprivacy field set to 2.active_period_start_atY-m-d H:i format.active_period_end_atY-m-d H:i format.clicks_limitexpiration_urltargets_typecontinents 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}'
urlaliasspace_idpixel_ids[]redirect_passwordsensitive_content0 für Nein, 1 für Ja.privacy0 für Öffentlich, 1 für Privat, 2 für Passwort.passwordprivacy field set to 2.active_period_start_atY-m-d H:i format.active_period_end_atY-m-d H:i format.clicks_limitexpiration_urltargets_typecontinents 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}'