version: 1
scopes: ["todo"]
methods:
  GET:
    public: true
    description: "Returns all todo entries"
    responses: 
      200: Todo-Collection
      500: Message
    action: "App\\Todo\\Collection"
  POST:
    public: false
    description: "Creates a new todo entry"
    request: Todo
    responses: 
      201: Message
      500: Message
    action: "App\\Todo\\Insert"
