{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nutshell Tasks API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nutshell.com/rest/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Task ID"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a single task by the ID provided."
        },
        {
          "info": {
            "name": "Update a task",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.nutshell.com/rest/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Ids are of the form 'n-tasks', where n is an integer."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update a task by id. <br><br> op is the operation to be performed, and path specifies what resource to patch. <br><br> Use the path tasks/0/links/assignee to update the assigned user, using their ID. "
        },
        {
          "info": {
            "name": "Delete a task.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.nutshell.com/rest/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Task ID"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a task by the ID provided."
        },
        {
          "info": {
            "name": "Get a list of tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.nutshell.com/rest/tasks",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Query for tasks that match a specific string"
              },
              {
                "name": "filter[assignee]",
                "value": "",
                "type": "query",
                "description": "Filter tasks by assignee"
              },
              {
                "name": "filter[relatedEntity]",
                "value": "",
                "type": "query",
                "description": "Filter tasks by related entity"
              },
              {
                "name": "filter[dateMin]",
                "value": "",
                "type": "query",
                "description": "Filter tasks created after this date. Date expected in the format YYYY-MM-DD"
              },
              {
                "name": "filter[dateMax]",
                "value": "",
                "type": "query",
                "description": "Filter tasks created before this date. Date expected in the format YYYY-MM-DD"
              },
              {
                "name": "page[limit]",
                "value": "",
                "type": "query",
                "description": "Limit the number of results returned, for pagination."
              },
              {
                "name": "page[page]",
                "value": "",
                "type": "query",
                "description": "Request a specific page of results, for pagination. Used in conjunction with the page[limit] parameter. Indexing is 0-based."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a list of tasks"
        },
        {
          "info": {
            "name": "Create a new task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.nutshell.com/rest/tasks",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new task"
        }
      ]
    }
  ],
  "bundled": true
}