نقطة نهاية API:
https://shbbr.com/api/v1/links
مثال الطلب:
curl --location --request GET 'https://shbbr.com/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bytitle لـ العنوان, alias لـ الاسم المستعار, url لـ رابط. الافتراضي: title.status0 لـ الكل, 1 لـ نشط, 2 لـ منتهي, 3 لـ معطل. الافتراضي: 0.space_iddomain_idpixel_idsort_byid لـ تاريخ الإنشاء, clicks لـ نقرات, title لـ العنوان, alias لـ الاسم المستعار, url لـ رابط. الافتراضي: id.sortdesc لـ تنازلي, asc لـ تصاعدي. الافتراضي: desc.per_page10, 25, 50, 100. الافتراضي: 100.نقطة نهاية API:
https://shbbr.com/api/v1/links/{id}
مثال الطلب:
curl --location --request GET 'https://shbbr.com/api/v1/links/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطة نهاية API:
https://shbbr.com/api/v1/links
مثال الطلب:
curl --location --request POST 'https://shbbr.com/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 لـ لا, 1 لـ نعم. الافتراضي: 0.privacy0 لـ عام, 1 لـ خاص, 2 لـ كلمة المرور. الافتراضي: 0.passwordprivacy مضبوط على 2.active_period_start_atY-m-d H:i.active_period_end_atY-m-d H:i.clicks_limitexpiration_urltargets_typecontinents لـ Continents, countries لـ Countries, operating_systems لـ Operating systems, browsers لـ Browsers, languages لـ Languages, devices لـ Devices, rotations لـ Rotations.targets[index][key]targets_type=country، القيمة لازم تكون بصيغة ISO 3166-1 alpha-2.targets_type=operating_systems, the possible values are iOS, Android, Windows, OS X, Linux, Ubuntu, Chrome OS.targets_type=browsers، القيم الممكنة هي: 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، القيم الممكنة هي: Desktop, Mobile, Tablet, Watch, Television.targets_type=languages، القيمة لازم تكون بصيغة ISO 639-1 alpha-2.targets_type=continents، القيم الممكنة هي: AF لـ Africa, AN لـ Antarctica, AS لـ Asia, EU لـ Europe, NA لـ North America, OC لـ Oceania, SA لـ South America.targets[index][value]نقطة نهاية API:
https://shbbr.com/api/v1/links/{id}
مثال الطلب:
curl --location --request PUT 'https://shbbr.com/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 لـ لا, 1 لـ نعم.privacy0 لـ عام, 1 لـ خاص, 2 لـ كلمة المرور.passwordprivacy مضبوط على 2.active_period_start_atY-m-d H:i.active_period_end_atY-m-d H:i.clicks_limitexpiration_urltargets_typecontinents لـ Continents, countries لـ Countries, operating_systems لـ Operating systems, browsers لـ Browsers, languages لـ Languages, devices لـ Devices, rotations لـ Rotations.targets[index][key]targets_type=country، القيمة لازم تكون بصيغة ISO 3166-1 alpha-2.targets_type=operating_systems, the possible values are iOS, Android, Windows, OS X, Linux, Ubuntu, Chrome OS.targets_type=browsers، القيم الممكنة هي: 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، القيم الممكنة هي: Desktop, Mobile, Tablet, Watch, Television.targets_type=languages، القيمة لازم تكون بصيغة ISO 639-1 alpha-2.targets_type=continents، القيم الممكنة هي: AF لـ Africa, AN لـ Antarctica, AS لـ Asia, EU لـ Europe, NA لـ North America, OC لـ Oceania, SA لـ South America.targets[index][value]نقطة نهاية API:
https://shbbr.com/api/v1/links/{id}
مثال الطلب:
curl --location --request DELETE 'https://shbbr.com/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'