# API Reference Documentation This guide hopefully will explain how the API works. Any method undocumented, you can assume it will return a 405 error. If you go to a page that doesn't exist, it will return a 404 error. ## Index * / "GET" -> A page designed for web users to go to in order to learn about creating hooks ## Hooks * /hook/ "GET" -> Returns a list of all hooks in json form * /hook/ "GET" -> Does whatever your hook is configured to do on a GET. If nothing configured, return the hook in json form. If it doesn't exist, return 404 * /hook/ "POST" -> Does whatever your hook is configured to do on a GET. If nothing configured, return the hook in json form. If it doesn't exist, return 404 * /hook/ "PUT" -> Submit the hook parameters and this will create the hook if it doesn't exist, or update it if it does. (CURRENTLY NOT IMPLEMENTED) * /hook/ "DELETE" -> Delete the hook if it exists, does nothing if it doesn't * /hook/ "" -> Delete the hook if it exists, do nothing if it doesn't * /hook//configure "GET" -> Gives the web friendly configuration page for your hook (CURRENTLY NOT IMPLEMENTED)