text: define({ "api": [
    {
      "type": "post",
      "url": "/todos",
      "title": "Create new todo",
      "name": "CreateNewTodo",
      "group": "Todos",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "text",
              "description": "<p>the name of the new todo</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "param example",
            "content": "{\n  \"text\": \"this is for test\"\n}",
            "type": "json"
          }
        ]
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "Array",
              "optional": false,
              "field": "todos",
              "description": "<p>The array of todos</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n[\n  {\n    \"_id\": \"59ce380340e5e152b5126762\",\n    \"text\": \"test\",\n    \"completed\": false\n  },\n  {\n    \"_id\": \"59ce383840e5e152b5126763\",\n    \"text\": \"allen\",\n    \"completed\": true\n  },\n]",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "routes/todos.js",
      "groupTitle": "Todos"
    },
    {
      "type": "delete",
      "url": "/todos/:todo_id",
      "title": "Delete a todo item",
      "name": "DeleteTodo",
      "group": "Todos",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "id",
              "description": "<p>The todo id</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "param example",
            "content": "{\n  \"todo_id\": \"59ce380340e5e152b5126762\"\n}",
            "type": "json"
          }
        ]
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "Array",
              "optional": false,
              "field": "todos",
              "description": "<p>The array of todos</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n[\n  {\n    \"_id\": \"59ce380340e5e152b5126762\",\n    \"text\": \"test\",\n    \"completed\": false\n  },\n  {\n    \"_id\": \"59ce383840e5e152b5126763\",\n    \"text\": \"allen\",\n    \"completed\": true\n  },\n]",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "routes/todos.js",
      "groupTitle": "Todos"
    },
    {
      "type": "get",
      "url": "/todos",
      "title": "Get all the todos",
      "name": "GetTodos",
      "group": "Todos",
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "Array",
              "optional": false,
              "field": "todos",
              "description": "<p>The array of todos</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n[\n  {\n    \"_id\": \"59ce380340e5e152b5126762\",\n    \"text\": \"test\",\n    \"completed\": false\n  },\n  {\n    \"_id\": \"59ce383840e5e152b5126763\",\n    \"text\": \"allen\",\n    \"completed\": true\n  },\n]",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "routes/todos.js",
      "groupTitle": "Todos"
    },
    {
      "type": "put",
      "url": "/todos/:todo_id",
      "title": "Update the status of todo",
      "name": "UpdateTodos",
      "group": "Todos",
      "parameter": {
        "fields": {
          "Parameter": [
            {
              "group": "Parameter",
              "type": "String",
              "optional": false,
              "field": "id",
              "description": "<p>The todo id</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "param example",
            "content": "{\n  \"todo_id\": \"59ce380340e5e152b5126762\"\n}",
            "type": "json"
          }
        ]
      },
      "success": {
        "fields": {
          "Success 200": [
            {
              "group": "Success 200",
              "type": "Array",
              "optional": false,
              "field": "todos",
              "description": "<p>The array of todos</p>"
            }
          ]
        },
        "examples": [
          {
            "title": "Success-Response:",
            "content": "HTTP/1.1 200 OK\n[\n  {\n    \"_id\": \"59ce380340e5e152b5126762\",\n    \"text\": \"test\",\n    \"completed\": false\n  },\n  {\n    \"_id\": \"59ce383840e5e152b5126763\",\n    \"text\": \"allen\",\n    \"completed\": true\n  },\n]",
            "type": "json"
          }
        ]
      },
      "version": "0.0.0",
      "filename": "routes/todos.js",
      "groupTitle": "Todos"
    }
  ] });
  