HTTP API entry point. More...
Public Member Functions | |
handle_request (Api_Request $request) | |
Main worker for this class, takes a request and returns a response. | |
Protected Member Functions | |
handle_change (Api_Request $request) | |
This will be executed for calls to the /change/ pseudo-type. | |
handle_help (Api_Request $request, $type) | |
This will be executed for help calls. | |
handle_regular (Api_Request $request, $type, $name=false) | |
This will be executed for "regular" API requests that show/create/modify nacoma objects. |
HTTP API entry point.
http_api_class::handle_change | ( | Api_Request $ | request | ) | [protected] |
This will be executed for calls to the /change/ pseudo-type.
This allows users to GET pending changes, POST them to disk, and DELETE them all to restore a previous state.