From 52e97df5296a822c9344f7e19e3dce89249def82 Mon Sep 17 00:00:00 2001 From: Martin Machacek Date: Sun, 18 Jan 2026 13:48:53 +0100 Subject: [PATCH] Improves examples for calendargroup endpoints --- api-reference/beta/api/calendargroup-get.md | 8 ++++---- .../beta/api/calendargroup-list-calendars.md | 18 ++++++++++++------ api-reference/beta/api/calendargroup-update.md | 8 ++++---- api-reference/v1.0/api/calendargroup-get.md | 8 ++++---- .../v1.0/api/calendargroup-list-calendars.md | 16 +++++++++++----- api-reference/v1.0/api/calendargroup-update.md | 8 ++++---- 6 files changed, 39 insertions(+), 27 deletions(-) diff --git a/api-reference/beta/api/calendargroup-get.md b/api-reference/beta/api/calendargroup-get.md index 5edbe13cb9a..282541ad74b 100644 --- a/api-reference/beta/api/calendargroup-get.md +++ b/api-reference/beta/api/calendargroup-get.md @@ -117,10 +117,10 @@ HTTP/1.1 200 OK Content-type: application/json { - "name": "name-value", - "classId": "11b0131d-43c8-4bbb-b2c8-e80f9a50834a", - "changeKey": "changeKey-value", - "id": "id-value" + "name": "My Calendars", + "classId": "0006f0b7-0000-0000-c000-000000000046", + "changeKey": "NreqLYgxdE2DpHBBId74XwAAAAAGZw==", + "id": "AAMkAGVmMDEzMTM4LTZm=" } ``` diff --git a/api-reference/beta/api/calendargroup-list-calendars.md b/api-reference/beta/api/calendargroup-list-calendars.md index 5f46662ade5..94896a67c2d 100644 --- a/api-reference/beta/api/calendargroup-list-calendars.md +++ b/api-reference/beta/api/calendargroup-list-calendars.md @@ -126,12 +126,18 @@ Content-type: application/json { "value": [ { - "name": "name-value", - "color": { - }, - "calendarGroupId":"calendarGroupId-value", - "changeKey": "changeKey-value", - "id": "id-value" + "id": "AAMkADYCQM0GfRAAAcrRD-AAA=", + "name": "Marketing calendar", + "color": "auto", + "calendarGroupId": "AAMkAGRkZTFiMDQxLWYz=" + "changeKey": "4xTfgHLeDkOqYVAkDNBn0QAAHKl46A==", + "canShare": true, + "canViewPrivateItems": true, + "canEdit": true, + "owner": { + "name": "Adele Vance", + "address": "adelev@contoso.com" + } } ] } diff --git a/api-reference/beta/api/calendargroup-update.md b/api-reference/beta/api/calendargroup-update.md index 149a48bf70e..c300bca547c 100644 --- a/api-reference/beta/api/calendargroup-update.md +++ b/api-reference/beta/api/calendargroup-update.md @@ -73,7 +73,7 @@ PATCH https://graph.microsoft.com/beta/me/calendarGroups/{id} Content-type: application/json { - "name": "name-value" + "name": "My Calendars" } ``` @@ -122,10 +122,10 @@ HTTP/1.1 200 OK Content-type: application/json { - "name": "name-value", + "name": "My Calendars", "classId": "11b0131d-43c8-4bbb-b2c8-e80f9a50834a", - "changeKey": "changeKey-value", - "id": "id-value" + "changeKey": "NreqLYgxdE2DpHBBId74XwAAAAAGZw==", + "id": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEGAAAiIsqMbYjsT5e-T7KzowPTAAABuC34AAA=" } ``` diff --git a/api-reference/v1.0/api/calendargroup-get.md b/api-reference/v1.0/api/calendargroup-get.md index e1109035045..180572dea96 100644 --- a/api-reference/v1.0/api/calendargroup-get.md +++ b/api-reference/v1.0/api/calendargroup-get.md @@ -116,10 +116,10 @@ HTTP/1.1 200 OK Content-type: application/json { - "name": "name-value", - "classId": "11b0131d-43c8-4bbb-b2c8-e80f9a50834a", - "changeKey": "changeKey-value", - "id": "id-value" + "name": "My Calendars", + "classId": "0006f0b7-0000-0000-c000-000000000046", + "changeKey": "NreqLYgxdE2DpHBBId74XwAAAAAGZw==", + "id": "AAMkAGVm=" } ``` diff --git a/api-reference/v1.0/api/calendargroup-list-calendars.md b/api-reference/v1.0/api/calendargroup-list-calendars.md index 53a04556215..e0c7222765e 100644 --- a/api-reference/v1.0/api/calendargroup-list-calendars.md +++ b/api-reference/v1.0/api/calendargroup-list-calendars.md @@ -125,11 +125,17 @@ Content-type: application/json { "value": [ { - "name": "name-value", - "color": { - }, - "changeKey": "changeKey-value", - "id": "id-value" + "id": "AAMkADYCQM0GfRAAAcrRD-AAA=", + "name": "Marketing calendar", + "color": "auto", + "changeKey": "4xTfgHLeDkOqYVAkDNBn0QAAHKl46A==", + "canShare": true, + "canViewPrivateItems": true, + "canEdit": true, + "owner": { + "name": "Adele Vance", + "address": "adelev@contoso.com" + } } ] } diff --git a/api-reference/v1.0/api/calendargroup-update.md b/api-reference/v1.0/api/calendargroup-update.md index 77c71eabeaf..8d607eef03d 100644 --- a/api-reference/v1.0/api/calendargroup-update.md +++ b/api-reference/v1.0/api/calendargroup-update.md @@ -71,7 +71,7 @@ PATCH https://graph.microsoft.com/v1.0/me/calendarGroups/{id} Content-type: application/json { - "name": "name-value" + "name": "My Calendars" } ``` @@ -120,10 +120,10 @@ HTTP/1.1 200 OK Content-type: application/json { - "name": "name-value", + "name": "My Calendars", "classId": "11b0131d-43c8-4bbb-b2c8-e80f9a50834a", - "changeKey": "changeKey-value", - "id": "id-value" + "changeKey": "NreqLYgxdE2DpHBBId74XwAAAAAGZw==", + "id": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEGAAAiIsqMbYjsT5e-T7KzowPTAAABuC34AAA=" } ```