{
  "opencollection": "1.0.0",
  "info": {
    "name": "Todoist Comments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Comments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.todoist.com/api/v1/comments",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns all comments on a task or project."
        },
        {
          "info": {
            "name": "Create Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.todoist.com/api/v1/comments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new comment on a task or project."
        },
        {
          "info": {
            "name": "Get Comment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.todoist.com/api/v1/comments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a single comment by ID."
        },
        {
          "info": {
            "name": "Update Comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.todoist.com/api/v1/comments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a comment's content."
        },
        {
          "info": {
            "name": "Delete Comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.todoist.com/api/v1/comments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a comment permanently."
        }
      ]
    }
  ],
  "bundled": true
}