Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1 | { |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 2 | "auth": { |
| 3 | "oauth2": { |
| 4 | "scopes": { |
| 5 | "https://www.googleapis.com/auth/tasks": { |
| 6 | "description": "Create, edit, organize, and delete all your tasks" |
| 7 | }, |
| 8 | "https://www.googleapis.com/auth/tasks.readonly": { |
| 9 | "description": "View your tasks" |
| 10 | } |
| 11 | } |
| 12 | } |
| 13 | }, |
| 14 | "basePath": "", |
| 15 | "baseUrl": "https://tasks.googleapis.com/", |
| 16 | "batchPath": "batch", |
| 17 | "canonicalName": "Tasks", |
| 18 | "description": "The Google Tasks API lets you manage your tasks and task lists.", |
| 19 | "discoveryVersion": "v1", |
| 20 | "documentationLink": "", |
| 21 | "fullyEncodeReservedExpansion": true, |
| 22 | "icons": { |
| 23 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 24 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 25 | }, |
| 26 | "id": "tasks:v1", |
| 27 | "kind": "discovery#restDescription", |
| 28 | "mtlsRootUrl": "https://tasks.mtls.googleapis.com/", |
| 29 | "name": "tasks", |
| 30 | "ownerDomain": "google.com", |
| 31 | "ownerName": "Google", |
| 32 | "parameters": { |
| 33 | "$.xgafv": { |
| 34 | "description": "V1 error format.", |
| 35 | "enum": [ |
| 36 | "1", |
| 37 | "2" |
| 38 | ], |
| 39 | "enumDescriptions": [ |
| 40 | "v1 error format", |
| 41 | "v2 error format" |
| 42 | ], |
| 43 | "location": "query", |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "access_token": { |
| 47 | "description": "OAuth access token.", |
| 48 | "location": "query", |
| 49 | "type": "string" |
| 50 | }, |
| 51 | "alt": { |
| 52 | "default": "json", |
| 53 | "description": "Data format for response.", |
| 54 | "enum": [ |
| 55 | "json", |
| 56 | "media", |
| 57 | "proto" |
| 58 | ], |
| 59 | "enumDescriptions": [ |
| 60 | "Responses with Content-Type of application/json", |
| 61 | "Media download with context-dependent Content-Type", |
| 62 | "Responses with Content-Type of application/x-protobuf" |
| 63 | ], |
| 64 | "location": "query", |
| 65 | "type": "string" |
| 66 | }, |
| 67 | "callback": { |
| 68 | "description": "JSONP", |
| 69 | "location": "query", |
| 70 | "type": "string" |
| 71 | }, |
| 72 | "fields": { |
| 73 | "description": "Selector specifying which fields to include in a partial response.", |
| 74 | "location": "query", |
| 75 | "type": "string" |
| 76 | }, |
| 77 | "key": { |
| 78 | "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 79 | "location": "query", |
| 80 | "type": "string" |
| 81 | }, |
| 82 | "oauth_token": { |
| 83 | "description": "OAuth 2.0 token for the current user.", |
| 84 | "location": "query", |
| 85 | "type": "string" |
| 86 | }, |
| 87 | "prettyPrint": { |
| 88 | "default": "true", |
| 89 | "description": "Returns response with indentations and line breaks.", |
| 90 | "location": "query", |
| 91 | "type": "boolean" |
| 92 | }, |
| 93 | "quotaUser": { |
| 94 | "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 95 | "location": "query", |
| 96 | "type": "string" |
| 97 | }, |
| 98 | "uploadType": { |
| 99 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 100 | "location": "query", |
| 101 | "type": "string" |
| 102 | }, |
| 103 | "upload_protocol": { |
| 104 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 105 | "location": "query", |
| 106 | "type": "string" |
| 107 | } |
| 108 | }, |
| 109 | "protocol": "rest", |
| 110 | "resources": { |
| 111 | "tasklists": { |
| 112 | "methods": { |
| 113 | "delete": { |
| 114 | "description": "Deletes the authenticated user's specified task list.", |
| 115 | "flatPath": "tasks/v1/users/@me/lists/{tasklist}", |
| 116 | "httpMethod": "DELETE", |
| 117 | "id": "tasks.tasklists.delete", |
| 118 | "parameterOrder": [ |
| 119 | "tasklist" |
| 120 | ], |
| 121 | "parameters": { |
| 122 | "tasklist": { |
| 123 | "description": "Task list identifier.", |
| 124 | "location": "path", |
| 125 | "required": true, |
| 126 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 127 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 128 | }, |
| 129 | "path": "tasks/v1/users/@me/lists/{tasklist}", |
| 130 | "scopes": [ |
| 131 | "https://www.googleapis.com/auth/tasks" |
| 132 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 133 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 134 | "get": { |
| 135 | "description": "Returns the authenticated user's specified task list.", |
| 136 | "flatPath": "tasks/v1/users/@me/lists/{tasklist}", |
| 137 | "httpMethod": "GET", |
| 138 | "id": "tasks.tasklists.get", |
| 139 | "parameterOrder": [ |
| 140 | "tasklist" |
| 141 | ], |
| 142 | "parameters": { |
| 143 | "tasklist": { |
| 144 | "description": "Task list identifier.", |
| 145 | "location": "path", |
| 146 | "required": true, |
| 147 | "type": "string" |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 148 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 149 | }, |
| 150 | "path": "tasks/v1/users/@me/lists/{tasklist}", |
| 151 | "response": { |
| 152 | "$ref": "TaskList" |
| 153 | }, |
| 154 | "scopes": [ |
| 155 | "https://www.googleapis.com/auth/tasks", |
| 156 | "https://www.googleapis.com/auth/tasks.readonly" |
| 157 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 158 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 159 | "insert": { |
| 160 | "description": "Creates a new task list and adds it to the authenticated user's task lists.", |
| 161 | "flatPath": "tasks/v1/users/@me/lists", |
| 162 | "httpMethod": "POST", |
| 163 | "id": "tasks.tasklists.insert", |
| 164 | "parameterOrder": [], |
| 165 | "parameters": {}, |
| 166 | "path": "tasks/v1/users/@me/lists", |
| 167 | "request": { |
| 168 | "$ref": "TaskList" |
| 169 | }, |
| 170 | "response": { |
| 171 | "$ref": "TaskList" |
| 172 | }, |
| 173 | "scopes": [ |
| 174 | "https://www.googleapis.com/auth/tasks" |
| 175 | ] |
| 176 | }, |
| 177 | "list": { |
| 178 | "description": "Returns all the authenticated user's task lists.", |
| 179 | "flatPath": "tasks/v1/users/@me/lists", |
| 180 | "httpMethod": "GET", |
| 181 | "id": "tasks.tasklists.list", |
| 182 | "parameterOrder": [], |
| 183 | "parameters": { |
| 184 | "maxResults": { |
| 185 | "description": "Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100).", |
| 186 | "format": "int32", |
| 187 | "location": "query", |
| 188 | "type": "integer" |
| 189 | }, |
| 190 | "pageToken": { |
| 191 | "description": "Token specifying the result page to return. Optional.", |
| 192 | "location": "query", |
| 193 | "type": "string" |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 194 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 195 | }, |
| 196 | "path": "tasks/v1/users/@me/lists", |
| 197 | "response": { |
| 198 | "$ref": "TaskLists" |
| 199 | }, |
| 200 | "scopes": [ |
| 201 | "https://www.googleapis.com/auth/tasks", |
| 202 | "https://www.googleapis.com/auth/tasks.readonly" |
| 203 | ] |
| 204 | }, |
| 205 | "patch": { |
| 206 | "description": "Updates the authenticated user's specified task list. This method supports patch semantics.", |
| 207 | "flatPath": "tasks/v1/users/@me/lists/{tasklist}", |
| 208 | "httpMethod": "PATCH", |
| 209 | "id": "tasks.tasklists.patch", |
| 210 | "parameterOrder": [ |
| 211 | "tasklist" |
| 212 | ], |
| 213 | "parameters": { |
| 214 | "tasklist": { |
| 215 | "description": "Task list identifier.", |
| 216 | "location": "path", |
| 217 | "required": true, |
| 218 | "type": "string" |
| 219 | } |
| 220 | }, |
| 221 | "path": "tasks/v1/users/@me/lists/{tasklist}", |
| 222 | "request": { |
| 223 | "$ref": "TaskList" |
| 224 | }, |
| 225 | "response": { |
| 226 | "$ref": "TaskList" |
| 227 | }, |
| 228 | "scopes": [ |
| 229 | "https://www.googleapis.com/auth/tasks" |
| 230 | ] |
| 231 | }, |
| 232 | "update": { |
| 233 | "description": "Updates the authenticated user's specified task list.", |
| 234 | "flatPath": "tasks/v1/users/@me/lists/{tasklist}", |
| 235 | "httpMethod": "PUT", |
| 236 | "id": "tasks.tasklists.update", |
| 237 | "parameterOrder": [ |
| 238 | "tasklist" |
| 239 | ], |
| 240 | "parameters": { |
| 241 | "tasklist": { |
| 242 | "description": "Task list identifier.", |
| 243 | "location": "path", |
| 244 | "required": true, |
| 245 | "type": "string" |
| 246 | } |
| 247 | }, |
| 248 | "path": "tasks/v1/users/@me/lists/{tasklist}", |
| 249 | "request": { |
| 250 | "$ref": "TaskList" |
| 251 | }, |
| 252 | "response": { |
| 253 | "$ref": "TaskList" |
| 254 | }, |
| 255 | "scopes": [ |
| 256 | "https://www.googleapis.com/auth/tasks" |
| 257 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 258 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 259 | } |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 260 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 261 | "tasks": { |
| 262 | "methods": { |
| 263 | "clear": { |
| 264 | "description": "Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.", |
| 265 | "flatPath": "tasks/v1/lists/{tasklist}/clear", |
| 266 | "httpMethod": "POST", |
| 267 | "id": "tasks.tasks.clear", |
| 268 | "parameterOrder": [ |
| 269 | "tasklist" |
| 270 | ], |
| 271 | "parameters": { |
| 272 | "tasklist": { |
| 273 | "description": "Task list identifier.", |
| 274 | "location": "path", |
| 275 | "required": true, |
| 276 | "type": "string" |
| 277 | } |
| 278 | }, |
| 279 | "path": "tasks/v1/lists/{tasklist}/clear", |
| 280 | "scopes": [ |
| 281 | "https://www.googleapis.com/auth/tasks" |
| 282 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 283 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 284 | "delete": { |
| 285 | "description": "Deletes the specified task from the task list.", |
| 286 | "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 287 | "httpMethod": "DELETE", |
| 288 | "id": "tasks.tasks.delete", |
| 289 | "parameterOrder": [ |
| 290 | "tasklist", |
| 291 | "task" |
| 292 | ], |
| 293 | "parameters": { |
| 294 | "task": { |
| 295 | "description": "Task identifier.", |
| 296 | "location": "path", |
| 297 | "required": true, |
| 298 | "type": "string" |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 299 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 300 | "tasklist": { |
| 301 | "description": "Task list identifier.", |
| 302 | "location": "path", |
| 303 | "required": true, |
| 304 | "type": "string" |
| 305 | } |
| 306 | }, |
| 307 | "path": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 308 | "scopes": [ |
| 309 | "https://www.googleapis.com/auth/tasks" |
| 310 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 311 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 312 | "get": { |
| 313 | "description": "Returns the specified task.", |
| 314 | "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 315 | "httpMethod": "GET", |
| 316 | "id": "tasks.tasks.get", |
| 317 | "parameterOrder": [ |
| 318 | "tasklist", |
| 319 | "task" |
| 320 | ], |
| 321 | "parameters": { |
| 322 | "task": { |
| 323 | "description": "Task identifier.", |
| 324 | "location": "path", |
| 325 | "required": true, |
| 326 | "type": "string" |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 327 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 328 | "tasklist": { |
| 329 | "description": "Task list identifier.", |
| 330 | "location": "path", |
| 331 | "required": true, |
| 332 | "type": "string" |
| 333 | } |
| 334 | }, |
| 335 | "path": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 336 | "response": { |
| 337 | "$ref": "Task" |
| 338 | }, |
| 339 | "scopes": [ |
| 340 | "https://www.googleapis.com/auth/tasks", |
| 341 | "https://www.googleapis.com/auth/tasks.readonly" |
| 342 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 343 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 344 | "insert": { |
| 345 | "description": "Creates a new task on the specified task list.", |
| 346 | "flatPath": "tasks/v1/lists/{tasklist}/tasks", |
| 347 | "httpMethod": "POST", |
| 348 | "id": "tasks.tasks.insert", |
| 349 | "parameterOrder": [ |
| 350 | "tasklist" |
| 351 | ], |
| 352 | "parameters": { |
| 353 | "parent": { |
| 354 | "description": "Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional.", |
| 355 | "location": "query", |
| 356 | "type": "string" |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 357 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 358 | "previous": { |
| 359 | "description": "Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.", |
| 360 | "location": "query", |
| 361 | "type": "string" |
| 362 | }, |
| 363 | "tasklist": { |
| 364 | "description": "Task list identifier.", |
| 365 | "location": "path", |
| 366 | "required": true, |
| 367 | "type": "string" |
| 368 | } |
| 369 | }, |
| 370 | "path": "tasks/v1/lists/{tasklist}/tasks", |
| 371 | "request": { |
| 372 | "$ref": "Task" |
| 373 | }, |
| 374 | "response": { |
| 375 | "$ref": "Task" |
| 376 | }, |
| 377 | "scopes": [ |
| 378 | "https://www.googleapis.com/auth/tasks" |
| 379 | ] |
| 380 | }, |
| 381 | "list": { |
| 382 | "description": "Returns all tasks in the specified task list.", |
| 383 | "flatPath": "tasks/v1/lists/{tasklist}/tasks", |
| 384 | "httpMethod": "GET", |
| 385 | "id": "tasks.tasks.list", |
| 386 | "parameterOrder": [ |
| 387 | "tasklist" |
| 388 | ], |
| 389 | "parameters": { |
| 390 | "completedMax": { |
| 391 | "description": "Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.", |
| 392 | "location": "query", |
| 393 | "type": "string" |
| 394 | }, |
| 395 | "completedMin": { |
| 396 | "description": "Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.", |
| 397 | "location": "query", |
| 398 | "type": "string" |
| 399 | }, |
| 400 | "dueMax": { |
| 401 | "description": "Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.", |
| 402 | "location": "query", |
| 403 | "type": "string" |
| 404 | }, |
| 405 | "dueMin": { |
| 406 | "description": "Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.", |
| 407 | "location": "query", |
| 408 | "type": "string" |
| 409 | }, |
| 410 | "maxResults": { |
| 411 | "description": "Maximum number of task lists returned on one page. Optional. The default is 20 (max allowed: 100).", |
| 412 | "format": "int32", |
| 413 | "location": "query", |
| 414 | "type": "integer" |
| 415 | }, |
| 416 | "pageToken": { |
| 417 | "description": "Token specifying the result page to return. Optional.", |
| 418 | "location": "query", |
| 419 | "type": "string" |
| 420 | }, |
| 421 | "showCompleted": { |
| 422 | "description": "Flag indicating whether completed tasks are returned in the result. Optional. The default is True. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps.", |
| 423 | "location": "query", |
| 424 | "type": "boolean" |
| 425 | }, |
| 426 | "showDeleted": { |
| 427 | "description": "Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.", |
| 428 | "location": "query", |
| 429 | "type": "boolean" |
| 430 | }, |
| 431 | "showHidden": { |
| 432 | "description": "Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.", |
| 433 | "location": "query", |
| 434 | "type": "boolean" |
| 435 | }, |
| 436 | "tasklist": { |
| 437 | "description": "Task list identifier.", |
| 438 | "location": "path", |
| 439 | "required": true, |
| 440 | "type": "string" |
| 441 | }, |
| 442 | "updatedMin": { |
| 443 | "description": "Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.", |
| 444 | "location": "query", |
| 445 | "type": "string" |
| 446 | } |
| 447 | }, |
| 448 | "path": "tasks/v1/lists/{tasklist}/tasks", |
| 449 | "response": { |
| 450 | "$ref": "Tasks" |
| 451 | }, |
| 452 | "scopes": [ |
| 453 | "https://www.googleapis.com/auth/tasks", |
| 454 | "https://www.googleapis.com/auth/tasks.readonly" |
| 455 | ] |
| 456 | }, |
| 457 | "move": { |
| 458 | "description": "Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks.", |
| 459 | "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}/move", |
| 460 | "httpMethod": "POST", |
| 461 | "id": "tasks.tasks.move", |
| 462 | "parameterOrder": [ |
| 463 | "tasklist", |
| 464 | "task" |
| 465 | ], |
| 466 | "parameters": { |
| 467 | "parent": { |
| 468 | "description": "New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional.", |
| 469 | "location": "query", |
| 470 | "type": "string" |
| 471 | }, |
| 472 | "previous": { |
| 473 | "description": "New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional.", |
| 474 | "location": "query", |
| 475 | "type": "string" |
| 476 | }, |
| 477 | "task": { |
| 478 | "description": "Task identifier.", |
| 479 | "location": "path", |
| 480 | "required": true, |
| 481 | "type": "string" |
| 482 | }, |
| 483 | "tasklist": { |
| 484 | "description": "Task list identifier.", |
| 485 | "location": "path", |
| 486 | "required": true, |
| 487 | "type": "string" |
| 488 | } |
| 489 | }, |
| 490 | "path": "tasks/v1/lists/{tasklist}/tasks/{task}/move", |
| 491 | "response": { |
| 492 | "$ref": "Task" |
| 493 | }, |
| 494 | "scopes": [ |
| 495 | "https://www.googleapis.com/auth/tasks" |
| 496 | ] |
| 497 | }, |
| 498 | "patch": { |
| 499 | "description": "Updates the specified task. This method supports patch semantics.", |
| 500 | "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 501 | "httpMethod": "PATCH", |
| 502 | "id": "tasks.tasks.patch", |
| 503 | "parameterOrder": [ |
| 504 | "tasklist", |
| 505 | "task" |
| 506 | ], |
| 507 | "parameters": { |
| 508 | "task": { |
| 509 | "description": "Task identifier.", |
| 510 | "location": "path", |
| 511 | "required": true, |
| 512 | "type": "string" |
| 513 | }, |
| 514 | "tasklist": { |
| 515 | "description": "Task list identifier.", |
| 516 | "location": "path", |
| 517 | "required": true, |
| 518 | "type": "string" |
| 519 | } |
| 520 | }, |
| 521 | "path": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 522 | "request": { |
| 523 | "$ref": "Task" |
| 524 | }, |
| 525 | "response": { |
| 526 | "$ref": "Task" |
| 527 | }, |
| 528 | "scopes": [ |
| 529 | "https://www.googleapis.com/auth/tasks" |
| 530 | ] |
| 531 | }, |
| 532 | "update": { |
| 533 | "description": "Updates the specified task.", |
| 534 | "flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 535 | "httpMethod": "PUT", |
| 536 | "id": "tasks.tasks.update", |
| 537 | "parameterOrder": [ |
| 538 | "tasklist", |
| 539 | "task" |
| 540 | ], |
| 541 | "parameters": { |
| 542 | "task": { |
| 543 | "description": "Task identifier.", |
| 544 | "location": "path", |
| 545 | "required": true, |
| 546 | "type": "string" |
| 547 | }, |
| 548 | "tasklist": { |
| 549 | "description": "Task list identifier.", |
| 550 | "location": "path", |
| 551 | "required": true, |
| 552 | "type": "string" |
| 553 | } |
| 554 | }, |
| 555 | "path": "tasks/v1/lists/{tasklist}/tasks/{task}", |
| 556 | "request": { |
| 557 | "$ref": "Task" |
| 558 | }, |
| 559 | "response": { |
| 560 | "$ref": "Task" |
| 561 | }, |
| 562 | "scopes": [ |
| 563 | "https://www.googleapis.com/auth/tasks" |
| 564 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 565 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 566 | } |
| 567 | } |
| 568 | }, |
yoshi-code-bot | bdce941 | 2021-06-01 00:50:02 -0700 | [diff] [blame] | 569 | "revision": "20210528", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 570 | "rootUrl": "https://tasks.googleapis.com/", |
| 571 | "schemas": { |
| 572 | "Task": { |
| 573 | "id": "Task", |
| 574 | "properties": { |
| 575 | "completed": { |
| 576 | "description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.", |
| 577 | "type": "string" |
| 578 | }, |
| 579 | "deleted": { |
| 580 | "description": "Flag indicating whether the task has been deleted. The default is False.", |
| 581 | "type": "boolean" |
| 582 | }, |
| 583 | "due": { |
| 584 | "description": "Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.", |
| 585 | "type": "string" |
| 586 | }, |
| 587 | "etag": { |
| 588 | "description": "ETag of the resource.", |
| 589 | "type": "string" |
| 590 | }, |
| 591 | "hidden": { |
| 592 | "description": "Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.", |
| 593 | "type": "boolean" |
| 594 | }, |
| 595 | "id": { |
| 596 | "description": "Task identifier.", |
| 597 | "type": "string" |
| 598 | }, |
| 599 | "kind": { |
| 600 | "description": "Type of the resource. This is always \"tasks#task\".", |
| 601 | "type": "string" |
| 602 | }, |
| 603 | "links": { |
| 604 | "description": "Collection of links. This collection is read-only.", |
| 605 | "items": { |
| 606 | "properties": { |
| 607 | "description": { |
| 608 | "description": "The description. In HTML speak: Everything between <a> and </a>.", |
| 609 | "type": "string" |
| 610 | }, |
| 611 | "link": { |
| 612 | "description": "The URL.", |
| 613 | "type": "string" |
| 614 | }, |
| 615 | "type": { |
| 616 | "description": "Type of the link, e.g. \"email\".", |
| 617 | "type": "string" |
| 618 | } |
| 619 | }, |
| 620 | "type": "object" |
| 621 | }, |
| 622 | "type": "array" |
| 623 | }, |
| 624 | "notes": { |
| 625 | "description": "Notes describing the task. Optional.", |
| 626 | "type": "string" |
| 627 | }, |
| 628 | "parent": { |
| 629 | "description": "Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the \"move\" method to move the task under a different parent or to the top level.", |
| 630 | "type": "string" |
| 631 | }, |
| 632 | "position": { |
| 633 | "description": "String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the \"move\" method to move the task to another position.", |
| 634 | "type": "string" |
| 635 | }, |
| 636 | "selfLink": { |
| 637 | "description": "URL pointing to this task. Used to retrieve, update, or delete this task.", |
| 638 | "type": "string" |
| 639 | }, |
| 640 | "status": { |
| 641 | "description": "Status of the task. This is either \"needsAction\" or \"completed\".", |
| 642 | "type": "string" |
| 643 | }, |
| 644 | "title": { |
| 645 | "description": "Title of the task.", |
| 646 | "type": "string" |
| 647 | }, |
| 648 | "updated": { |
| 649 | "description": "Last modification time of the task (as a RFC 3339 timestamp).", |
| 650 | "type": "string" |
| 651 | } |
| 652 | }, |
| 653 | "type": "object" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 654 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 655 | "TaskList": { |
| 656 | "id": "TaskList", |
| 657 | "properties": { |
| 658 | "etag": { |
| 659 | "description": "ETag of the resource.", |
| 660 | "type": "string" |
| 661 | }, |
| 662 | "id": { |
| 663 | "description": "Task list identifier.", |
| 664 | "type": "string" |
| 665 | }, |
| 666 | "kind": { |
| 667 | "description": "Type of the resource. This is always \"tasks#taskList\".", |
| 668 | "type": "string" |
| 669 | }, |
| 670 | "selfLink": { |
| 671 | "description": "URL pointing to this task list. Used to retrieve, update, or delete this task list.", |
| 672 | "type": "string" |
| 673 | }, |
| 674 | "title": { |
| 675 | "description": "Title of the task list.", |
| 676 | "type": "string" |
| 677 | }, |
| 678 | "updated": { |
| 679 | "description": "Last modification time of the task list (as a RFC 3339 timestamp).", |
| 680 | "type": "string" |
| 681 | } |
| 682 | }, |
| 683 | "type": "object" |
| 684 | }, |
| 685 | "TaskLists": { |
| 686 | "id": "TaskLists", |
| 687 | "properties": { |
| 688 | "etag": { |
| 689 | "description": "ETag of the resource.", |
| 690 | "type": "string" |
| 691 | }, |
| 692 | "items": { |
| 693 | "description": "Collection of task lists.", |
| 694 | "items": { |
| 695 | "$ref": "TaskList" |
| 696 | }, |
| 697 | "type": "array" |
| 698 | }, |
| 699 | "kind": { |
| 700 | "description": "Type of the resource. This is always \"tasks#taskLists\".", |
| 701 | "type": "string" |
| 702 | }, |
| 703 | "nextPageToken": { |
| 704 | "description": "Token that can be used to request the next page of this result.", |
| 705 | "type": "string" |
| 706 | } |
| 707 | }, |
| 708 | "type": "object" |
| 709 | }, |
| 710 | "Tasks": { |
| 711 | "id": "Tasks", |
| 712 | "properties": { |
| 713 | "etag": { |
| 714 | "description": "ETag of the resource.", |
| 715 | "type": "string" |
| 716 | }, |
| 717 | "items": { |
| 718 | "description": "Collection of tasks.", |
| 719 | "items": { |
| 720 | "$ref": "Task" |
| 721 | }, |
| 722 | "type": "array" |
| 723 | }, |
| 724 | "kind": { |
| 725 | "description": "Type of the resource. This is always \"tasks#tasks\".", |
| 726 | "type": "string" |
| 727 | }, |
| 728 | "nextPageToken": { |
| 729 | "description": "Token used to access the next page of this result.", |
| 730 | "type": "string" |
| 731 | } |
| 732 | }, |
| 733 | "type": "object" |
| 734 | } |
| 735 | }, |
| 736 | "servicePath": "", |
| 737 | "title": "Tasks API", |
| 738 | "version": "v1" |
yoshi-code-bot | 6970659 | 2021-03-03 03:54:02 -0800 | [diff] [blame] | 739 | } |