API endpoint:
https://uptime.yesilkare.com/api/v1/status-pages
Request örnek:
curl --location --request GET 'https://uptime.yesilkare.com/api/v1/status-pages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname . Varsayılan: name.monitor_idsort_byid , Ad için name . Varsayılan: id.sortdesc , Artan için asc . Varsayılan: desc.per_page10, 25, 50, 100. Varsayılan: 10.API endpoint:
https://uptime.yesilkare.com/api/v1/status-pages/{id}
Request örnek:
curl --location --request GET 'https://uptime.yesilkare.com/api/v1/status-pages/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://uptime.yesilkare.com/api/v1/status-pages
Request örnek:
curl --location --request POST 'https://uptime.yesilkare.com/api/v1/status-pages' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={url}' \ --data-urlencode 'slug={id}'
nameslugmonitor_ids[]privacy0 , Özel için 1 , Şifre için 2 . Varsayılan: 0.passwordprivacy alanı 2 olarak ayarlandığında çalışır.domainlogofaviconremove_logoremove_faviconwebsite_urlcontact_urlcustom_csscustom_jsmeta_titlemeta_descriptionnoindexAPI endpoint:
https://uptime.yesilkare.com/api/v1/status-pages/{id}
Request örnek:
curl --location --request POST 'https://uptime.yesilkare.com/api/v1/status-pages/{id}' \ --header 'Authorization: Bearer {api_key}' \ --form '_method="PUT"'
_methodPUT olarak ayarlanmalıdır.nameslugmonitor_ids[]privacy0 , Özel için 1 , Şifre için 2 .passwordprivacy alanı 2 olarak ayarlandığında çalışır.domainlogofaviconremove_logoremove_faviconwebsite_urlcontact_urlcustom_csscustom_jsmeta_titlemeta_descriptionnoindexAPI endpoint:
https://uptime.yesilkare.com/api/v1/status-pages/{id}
Request örnek:
curl --location --request DELETE 'https://uptime.yesilkare.com/api/v1/status-pages/{id}' \ --header 'Authorization: Bearer {api_key}'