Generated by genapidoc. DO NOT EDIT.

# _anwork_ API usage, version 1

### `auth`: `POST /api/v1/auth`
* create (encrypted) authentication token
* input: `<none>`
* output: `string`
### `health`: `GET /api/v1/health`
* test the health of the API
* input: `<none>`
* output: `string`
### `get_tasks`: `GET /api/v1/tasks`
* get all tasks
* input: `<none>`
* output: `[]task.Task`
### `create_task`: `POST /api/v1/tasks`
* create a task
* input: `task.Task`
* output: `<none>`
### `get_task`: `GET /api/v1/tasks/:id`
* get a task
* input: `<none>`
* output: `task.Task`
### `update_task`: `PUT /api/v1/tasks/:id`
* update a task
* input: `task.Task`
* output: `<none>`
### `delete_task`: `DELETE /api/v1/tasks/:id`
* delete a task
* input: `<none>`
* output: `<none>`
### `get_events`: `GET /api/v1/events`
* get all events
* input: `<none>`
* output: `[]task.Event`
### `create_event`: `POST /api/v1/events`
* create an event
* input: `task.Event`
* output: `<none>`
### `get_event`: `GET /api/v1/events/:id`
* get an event
* input: `<none>`
* output: `task.Event`
### `delete_event`: `DELETE /api/v1/events/:id`
* delete an event
* input: `<none>`
* output: `<none>`
