Scout has a new RESTful API

September 02 Bullet_white By Andre Bullet_white Posted in Features Bullet_white Comments Comments

Our first-generation API was feeling pretty dated. Time for an update!

less like this: more like this:
 ... 


Skip to the new API documentation: https://scoutapp.com/info/api

A Modern RESTful API with Token-based Authentication

To get started, your account key -- the same one you use in setting up the agent -- is also an API key. You can create and revoke additional API keys at any time through the web interface.

  • We use HTTP verbs and return codes with respect.
  • Everything in the new API can be performed via cURL.
  • All data is returned in JSON format.

The Quickest of Quick-starts

To get recent alerts:

curl https://scoutapp.com/api/v2/YOURAPIKEY/alerts.json

To disable notifications on a server:

curl --data "notifications=false" https://scoutapp.com/api/v2/YOURAPIKEY/servers/HOSTNAME

Room to Grow

With the updated API, there's a foundation to add more endpoints as needed. If there's something you need to make Scout play nicely with your other systems, let us know!

Learn more about our API at https://scoutapp.com/info/api

Get notified of new posts.

Once a month, we'll deliver a finely-curated selection of optimization tips to your inbox.

Comments

comments powered by Disqus