MS To Do GPT

MS To Do GPT · Actions GPT

APIs to access Microsoft To Do service

Use these APIs to read and write tasks from/into Microsoft To Do.

  • GET /me/todo/listsList lists

    Get a list of the todoTaskList objects and their properties.

  • GET /me/todo/lists/{todoTaskList-id}/tasksList tasks

    Get the todoTask resources from the tasks navigation property of a specified todoTaskList.

Schéma original API
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0.9.0",
    "title": "APIs to access Microsoft To Do service",
    "description": "Use these APIs to read and write tasks from/into Microsoft To Do.",
    "x-ms-generated-by": {
      "toolName": "Microsoft.OpenApi.OData",
      "toolVersion": "1.0.9.0"
    }
  },
  "servers": [
    {
      "url": "https://graph.microsoft.com/v1.0"
    }
  ],
  "paths": {
    "/me/todo/lists": {
      "get": {
        "tags": [
          "me.todo"
        ],
        "summary": "List lists",
        "description": "Get a list of the todoTaskList objects and their properties.",
        "operationId": "listToDoLists",
        "parameters": [
          {
            "name": "$top",
            "in": "query",
            "description": "Show only the first n items",
            "style": "form",
            "explode": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            },
            "example": 50
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip the first n items",
            "style": "form",
            "explode": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search items by search phrases",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter items by property values",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include count of items",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Order items by property values",
            "style": "form",
            "explode": false,
            "schema": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "enum": [
                  "id",
                  "id desc",
                  "displayName",
                  "displayName desc",
                  "isOwner",
                  "isOwner desc",
                  "isShared",
                  "isShared desc",
                  "wellknownListName",
                  "wellknownListName desc"
                ],
                "type": "string"
              }
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select properties to be returned",
            "style": "form",
            "explode": false,
            "schema": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "enum": [
                  "id",
                  "displayName",
                  "isOwner",
                  "isShared",
                  "wellknownListName",
                  "extensions",
                  "tasks"
                ],
                "type": "string"
              }
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Expand related entities",
            "style": "form",
            "explode": false,
            "schema": {
              "uniqueItems": true,
              "type": "array",
              "items": {
                "enum": [
                  "*",
                  "extensions",
                  "tasks"
                ],
                "type": "string"
              }
            }
          }
        ],
        "responses": {}
      }
    },
    "/me/todo/lists/{todoTaskList-id}/tasks": {
      "get": {
        "tags": [
          "me.todo"
        ],
        "summary": "List tasks",
        "description": "Get the todoTask resources from the tasks navigation property of a specified todoTaskList.",
        "operationId": "listTasksInToDoList",
        "parameters": [
          {
            "in": "path",
            "name": "todoTaskList-id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "To Do Task List ID"
          }
        ],
        "responses": {}
      }
    }
  }
}