{
  "opencollection": "1.0.0",
  "info": {
    "name": "Smokeball Activity Codes Tasks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a subtask",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smokeball.com/tasks/:taskId/subtasks/:id",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a specified subtask."
        },
        {
          "info": {
            "name": "Update a subtask",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.smokeball.com/tasks/:taskId/subtasks/:id",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a specified subtask of a specified task."
        },
        {
          "info": {
            "name": "Delete a subtask",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.smokeball.com/tasks/:taskId/subtasks/:id",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a specified subtask of a specified task."
        },
        {
          "info": {
            "name": "Get subtasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smokeball.com/tasks/:taskId/subtasks",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a list of subtasks for a specified task if associated with the authenticated client."
        },
        {
          "info": {
            "name": "Create a subtask",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smokeball.com/tasks/:taskId/subtasks",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a subtask for a specified task."
        },
        {
          "info": {
            "name": "Get task documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smokeball.com/tasks/:taskId/documents",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a list of document links for the specified task, if associated with the authenticated client."
        },
        {
          "info": {
            "name": "Create a task document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smokeball.com/tasks/:taskId/documents",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Links the specified document to the specified task."
        },
        {
          "info": {
            "name": "Get a task document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smokeball.com/tasks/:taskId/documents/:id",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves the specified task document for the specified task."
        },
        {
          "info": {
            "name": "Delete a task document",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.smokeball.com/tasks/:taskId/documents/:id",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Unlinks the specified document from the specified task."
        },
        {
          "info": {
            "name": "Get a task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smokeball.com/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a specified task."
        },
        {
          "info": {
            "name": "Update a task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.smokeball.com/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a specified task."
        },
        {
          "info": {
            "name": "Delete a task",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.smokeball.com/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a specified task."
        },
        {
          "info": {
            "name": "Get tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.smokeball.com/tasks",
            "params": [
              {
                "name": "Offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "Limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "MatterId",
                "value": "1bf55840-cba3-4f8a-8c0f-66082692e493",
                "type": "query",
                "description": "Filter by tasks that are assigned to the specified matter id.."
              },
              {
                "name": "IsCompleted",
                "value": "true",
                "type": "query",
                "description": "Filter by tasks tasks that have been completed. Leave blank if"
              },
              {
                "name": "UpdatedSince",
                "value": "637873555398585000",
                "type": "query",
                "description": "Filter by tasks updated since a specified time (.net ticks representation of the UTC datetime). Cannot be used in conjunction with `LastUpdated`.\r\n\r\nThis field will not be supported in future, please use LastUpdated instead."
              },
              {
                "name": "LastUpdated",
                "value": "2022-04-23T14:00:00Z",
                "type": "query",
                "description": "Filter by last updated date of a task. Cannot be used in conjunction with `UpdatedSince`."
              }
            ]
          },
          "docs": "Returns a list of tasks."
        },
        {
          "info": {
            "name": "Create a task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.smokeball.com/tasks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a task."
        }
      ]
    }
  ],
  "bundled": true
}