tanuki v0.1.0 Tanuki.SystemHooks

Summary

Functions

DELETE /hooks/:id

GET /hooks

GET /hooks/:id

Functions

create(client, params)

POST /hooks

Add new system hook

Parameters:

  • url (required) - The hook url
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

test(id, client)

GET /hooks/:id

Test System Hook