The todo list set command uses a beta endpoint that is now in v1.0.
|
const requestOptions: any = { |
|
url: `${this.resource}/beta/me/todo/lists/${listId}`, |
|
headers: { |
|
accept: 'application/json;odata.metadata=none', |
|
'content-type': 'application/json' |
|
}, |
|
data, |
|
responseType: 'json' |
|
}; |
Get todoTaskList: https://docs.microsoft.com/en-us/graph/api/todotasklist-get?view=graph-rest-1.0&tabs=http
|
const requestOptions: any = { |
|
url: `${this.resource}/beta/me/todo/lists?$filter=displayName eq '${escape(args.options.name as string)}'`, |
|
headers: { |
|
accept: "application/json;odata.metadata=none" |
|
}, |
|
responseType: 'json' |
|
}; |
List lists: https://docs.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-1.0&tabs=http
The
todo list setcommand uses abetaendpoint that is now inv1.0.cli-microsoft365/src/m365/todo/commands/list/list-set.ts
Lines 48 to 56 in b7c27c8
Get todoTaskList: https://docs.microsoft.com/en-us/graph/api/todotasklist-get?view=graph-rest-1.0&tabs=http
cli-microsoft365/src/m365/todo/commands/list/list-set.ts
Lines 68 to 74 in b7c27c8
List lists: https://docs.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-1.0&tabs=http