Create page in default notebook
documentedCreate a page in the default notebook/section when section is not specified.
POST https://graph.microsoft.com/v1.0/me/onenote/pagesPagesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://graph.microsoft.com/v1.0/me/onenote/pages?sectionName={{sectionName}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/xhtml+xml; charset=utf-8" \
-H "Accept: application/json" \
-d "<!DOCTYPE html>\n<html xmlns='http://www.w3.org/1999/xhtml' lang='en-US'>\n<head>\n <title>{{$title}}</title>\n <meta name='created' content='{{$created}}' />\n</head>\n<body>\n <h1>{{$title}}</h1>\n <p>{{$paragraph}}</p>\n</body>\n</html>"