This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Get a list of all site with API

Hi All,

I have this cURL command:

curl -X GET api.pingdom.com/.../checks -H 'Authorization:Bearer <api_key>' | grep -oE '"hostname":"[^"]+"|,"type":"[^"]+"|,"http":"[^"]+"|,"url":"[^"]+"' | sed 's/"hostname":"\([^"]\+\)","type":"\([^"]\+\)","http":"\([^"]\+\)","url":"\([^"]\+\)"/\1\2\3/'

this gives me the following data:

"hostname":"www.site.com"
,"type":"http"

However, the result does not show me the full link of the site which should be www.site.comn/ecy/monitor or something to that effect. I can't see anywhere in the Pingdom API arguments to get that.

Any help would be appreciated.

Thx Dreadnought

Parents Reply Children
No Data