tanuki v0.0.1 Tanuki.SystemHooks

Summary

Functions

DELETE /hooks/:id

GET /hooks

GET /hooks/:id

Functions

delete(id, client)

DELETE /hooks/:id

Deletes a system hook. This is an idempotent API function and returns 200 OK even if the hook is not available. If the hook is deleted it is also returned as JSON.

list(client)

GET /hooks

Get list of system hooks

new(id, client, params \\ [])

POST /hooks

Add new system hook

Parameters:

  • url (required) - The hook url
test(id, client)

GET /hooks/:id

Test System Hook