نقطة نهاية API:
https://shbbr.com/api/v1/spaces
مثال الطلب:
curl --location --request GET 'https://shbbr.com/api/v1/spaces' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname لـ الاسم. الافتراضي: name.sort_byid لـ تاريخ الإنشاء, name لـ الاسم. الافتراضي: id.sortdesc لـ تنازلي, asc لـ تصاعدي. الافتراضي: desc.per_page10, 25, 50, 100. الافتراضي: 100.نقطة نهاية API:
https://shbbr.com/api/v1/spaces/{id}
مثال الطلب:
curl --location --request GET 'https://shbbr.com/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطة نهاية API:
https://shbbr.com/api/v1/spaces
مثال الطلب:
curl --location --request POST 'https://shbbr.com/api/v1/spaces' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
namecolor1, 2, 3, 4, 5, 6. الافتراضي: 1.نقطة نهاية API:
https://shbbr.com/api/v1/spaces/{id}
مثال الطلب:
curl --location --request PUT 'https://shbbr.com/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
namecolor1, 2, 3, 4, 5, 6.نقطة نهاية API:
https://shbbr.com/api/v1/spaces/{id}
مثال الطلب:
curl --location --request DELETE 'https://shbbr.com/api/v1/spaces/{id}' \ --header 'Authorization: Bearer {api_key}'