{"_id":"55d3b645f77e6d0d00b1b27f","project":"55c505b41469ad2500fa2ab7","__v":2,"user":"55c50f4a7c199a2f00665cbf","version":{"_id":"55d3b644f77e6d0d00b1b273","project":"55c505b41469ad2500fa2ab7","__v":6,"createdAt":"2015-08-18T22:48:36.632Z","releaseDate":"2015-08-18T22:48:36.632Z","categories":["55d3b645f77e6d0d00b1b274","55d3b645f77e6d0d00b1b275","55d3b645f77e6d0d00b1b276","55d3b645f77e6d0d00b1b277","55d3b645f77e6d0d00b1b278","55d3b645f77e6d0d00b1b279","55d3b645f77e6d0d00b1b27a","55d3b645f77e6d0d00b1b27b","55d3b645f77e6d0d00b1b27c","55d3b645f77e6d0d00b1b27d","55d7c2939510f00d007ec6fe","56fac9925df15a20002972a2","56fb2f7668e1d30e00a0b672","583498d411e8af2500f6b334","58e52a180ab7b03b00f4a97a"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"category":{"_id":"55d3b645f77e6d0d00b1b277","version":"55d3b644f77e6d0d00b1b273","__v":1,"project":"55c505b41469ad2500fa2ab7","pages":["55d3b645f77e6d0d00b1b27e","55d3b645f77e6d0d00b1b27f","55d3b645f77e6d0d00b1b280","55d3b645f77e6d0d00b1b281","55d3b645f77e6d0d00b1b282"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-10T18:44:21.139Z","from_sync":false,"order":4,"slug":"actions","title":"Actions"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-10T23:08:26.179Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"You choose the API and Neptune will call that API when the trigger raises. There are different API actions that will be useful in diagnosing and fixing different issues. Let us go over different API actions that Neptune.io supports.\n\n## Cloud API actions \n\nPlease take a look at [Integrate your infrastructure](doc:integrate-infrastructure) to integrate your infrastructure and cloud with Neptune.io\n\nOnce you have integrated your cloud with Neptune, Neptune can take different cloud actions like:\n 1. Start, stop or reboot instances\n 2. Scale up/down the instances\n 3. Take a snapshot of the images or VMs \n 4. Any custom cloud API action to gather metrics or get reports\n 5. API actions to calculate the cloud usage costs\n\n## Generic HTTP API calls\n\nIf you have a custom URL that you want to invoke in response to a trigger, Neptune can do that for you. Just give the URL that you want to invoke and tie it to a trigger. Neptune will reliably execute the action and save the output for you.","excerpt":"","slug":"api-actions","type":"basic","title":"API Actions"}
You choose the API and Neptune will call that API when the trigger raises. There are different API actions that will be useful in diagnosing and fixing different issues. Let us go over different API actions that Neptune.io supports. ## Cloud API actions Please take a look at [Integrate your infrastructure](doc:integrate-infrastructure) to integrate your infrastructure and cloud with Neptune.io Once you have integrated your cloud with Neptune, Neptune can take different cloud actions like: 1. Start, stop or reboot instances 2. Scale up/down the instances 3. Take a snapshot of the images or VMs 4. Any custom cloud API action to gather metrics or get reports 5. API actions to calculate the cloud usage costs ## Generic HTTP API calls If you have a custom URL that you want to invoke in response to a trigger, Neptune can do that for you. Just give the URL that you want to invoke and tie it to a trigger. Neptune will reliably execute the action and save the output for you.