بكسلز

ملاحظات
مستوى الخبراء
يجب إرسال مفتاح واجهة برمجة التطبيقات كرمز لحامله في رأس التفويض الخاص بالطلب. احصل على مفتاح واجهة برمجة تطبيقات الخاص بك.
قائمة

نقطة النهاية واجهة برمجة تطبيقات:

GET
https://shbbr.com/api/v1/pixels

طلب مثال:

curl --location --request GET 'https://shbbr.com/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
معامل
النوع
وصف
search
اختياري string
استعلام البحث.
type
اختياري string
نوع البكسل. القيم الممكنة هي :القيم.
sort
اختياري string
فرز. القيم الممكنة هي :القيم. افتراضات إلى :القيمة.
per_page
اختياري int
النتائج لكل صفحه. القيم الممكنة هي :القيم. افتراضات إلى :القيمة.
عرض

نقطة النهاية واجهة برمجة تطبيقات:

GET
https://shbbr.com/api/v1/pixels/{id}

طلب مثال:

curl --location --request GET 'https://shbbr.com/api/v1/pixels/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
محل

نقطة النهاية واجهة برمجة تطبيقات:

POST
https://shbbr.com/api/v1/pixels

طلب مثال:

curl --location --request POST 'https://shbbr.com/api/v1/pixels' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
معامل
النوع
وصف
name
مطلوب string
اسم البكسل.
type
مطلوب string
نوع البكسل. القيم الممكنة هي :القيم.
pixel_id
مطلوب string
معرف البكسل
تحديث

نقطة النهاية واجهة برمجة تطبيقات:

PUT PATCH
https://shbbr.com/api/v1/pixels/{id}

طلب مثال:

curl --location --request PUT 'https://shbbr.com/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
معامل
النوع
وصف
name
اختياري string
اسم البكسل.
type
اختياري string
نوع البكسل. القيم الممكنة هي :القيم.
pixel_id
اختياري string
معرف البكسل
مسح

نقطة النهاية واجهة برمجة تطبيقات:

DELETE
https://shbbr.com/api/v1/pixels/{id}

طلب مثال:

curl --location --request DELETE 'https://shbbr.com/api/v1/pixels/{id}' \
--header 'Authorization: Bearer {api_key}'