Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get preview from IFile for embedding #885

Merged
merged 2 commits into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions src/sdk/PnP.Core.Test/SharePoint/FilesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3107,5 +3107,51 @@ private async Task<Tuple<string, string, string>> AddMockDocumentToMinorVersioni
}

#endregion

#region Preview

[TestMethod]
public async Task GetFilePreviewAsyncTest()
{
//TestCommon.Instance.Mocking = false;
(_, _, string documentUrl) = await TestAssets.CreateTestDocumentAsync(0);

using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite, 1))
{
IFile file = await context.Web.GetFileByServerRelativeUrlAsync(documentUrl);

Assert.IsNotNull(file);

var filePreview = await file.GetPreviewAsync();

Assert.IsNotNull(filePreview);
Assert.IsNotNull(filePreview.GetUrl);
}

await TestAssets.CleanupTestDocumentAsync(2);
}

[TestMethod]
public async Task GetFilePreviewIncludingPageAndZoomAsyncTest()
{
//TestCommon.Instance.Mocking = false;
(_, _, string documentUrl) = await TestAssets.CreateTestDocumentAsync(0);

using (var context = await TestCommon.Instance.GetContextAsync(TestCommon.TestSite, 1))
{
IFile file = await context.Web.GetFileByServerRelativeUrlAsync(documentUrl);

Assert.IsNotNull(file);

var filePreview = await file.GetPreviewAsync("2", 5);

Assert.IsNotNull(filePreview);
Assert.IsNotNull(filePreview.GetUrl);
}

await TestAssets.CleanupTestDocumentAsync(2);
}

#endregion
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-b031-4000-7f3c-2fd65c2aa49c","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022ceb5fd80-a434-4a62-a60b-b272f10ba1df\u0022,\u0022Url\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-7041-4000-4c6b-ad7f048c4396","SPClientServiceRequestDuration":"9","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00220ad55b5d-6a79-467b-ad21-d4bef7948a79\u0022,\u0022Id\u0022:\u00220f9b8f4f-0e8e-4630-bb0a-501442db9b64\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-4049-4000-4767-dec273214604","SPClientServiceRequestDuration":"36","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022value\u0022:[{\u0022AllowContentTypes\u0022:true,\u0022BaseTemplate\u0022:101,\u0022BaseType\u0022:1,\u0022ContentTypesEnabled\u0022:false,\u0022CrawlNonDefaultViews\u0022:false,\u0022Created\u0022:\u00222022-03-06T01:58:24Z\u0022,\u0022CurrentChangeToken\u0022:{\u0022StringValue\u0022:\u00221;3;68e9c7c6-94e1-4422-9eef-ca5a274ee7c6;637912477445700000;503776424\u0022},\u0022DefaultContentApprovalWorkflowId\u0022:\u002200000000-0000-0000-0000-000000000000\u0022,\u0022DefaultItemOpenUseListSetting\u0022:false,\u0022Description\u0022:\u0022\u0022,\u0022Direction\u0022:\u0022none\u0022,\u0022DisableCommenting\u0022:false,\u0022DisableGridEditing\u0022:false,\u0022DocumentTemplateUrl\u0022:\u0022/sites/pnpcoresdktestgroup/Shared Documents/Forms/template.dotx\u0022,\u0022DraftVersionVisibility\u0022:0,\u0022EnableAttachments\u0022:false,\u0022EnableFolderCreation\u0022:true,\u0022EnableMinorVersions\u0022:false,\u0022EnableModeration\u0022:false,\u0022EnableRequestSignOff\u0022:true,\u0022EnableVersioning\u0022:true,\u0022EntityTypeName\u0022:\u0022Shared_x0020_Documents\u0022,\u0022ExemptFromBlockDownloadOfNonViewableFiles\u0022:false,\u0022FileSavePostProcessingEnabled\u0022:false,\u0022ForceCheckout\u0022:false,\u0022HasExternalDataSource\u0022:false,\u0022Hidden\u0022:false,\u0022Id\u0022:\u002268e9c7c6-94e1-4422-9eef-ca5a274ee7c6\u0022,\u0022ImagePath\u0022:{\u0022DecodedUrl\u0022:\u0022/_layouts/15/images/itdl.png?rev=47\u0022},\u0022ImageUrl\u0022:\u0022/_layouts/15/images/itdl.png?rev=47\u0022,\u0022DefaultSensitivityLabelForLibrary\u0022:\u0022\u0022,\u0022IrmEnabled\u0022:false,\u0022IrmExpire\u0022:false,\u0022IrmReject\u0022:false,\u0022IsApplicationList\u0022:false,\u0022IsCatalog\u0022:false,\u0022IsPrivate\u0022:false,\u0022ItemCount\u0022:7,\u0022LastItemDeletedDate\u0022:\u00222022-06-19T15:01:32Z\u0022,\u0022LastItemModifiedDate\u0022:\u00222022-06-19T15:01:32Z\u0022,\u0022LastItemUserModifiedDate\u0022:\u00222022-06-19T15:01:32Z\u0022,\u0022ListExperienceOptions\u0022:1,\u0022ListItemEntityTypeFullName\u0022:\u0022SP.Data.Shared_x0020_DocumentsItem\u0022,\u0022MajorVersionLimit\u0022:500,\u0022MajorWithMinorVersionsLimit\u0022:0,\u0022MultipleDataList\u0022:false,\u0022NoCrawl\u0022:false,\u0022ParentWebPath\u0022:{\u0022DecodedUrl\u0022:\u0022/sites/pnpcoresdktestgroup\u0022},\u0022ParentWebUrl\u0022:\u0022/sites/pnpcoresdktestgroup\u0022,\u0022ParserDisabled\u0022:false,\u0022ServerTemplateCanCreateFolders\u0022:true,\u0022TemplateFeatureId\u0022:\u002200bfea71-e717-4e80-aa17-d0c71b360101\u0022,\u0022Title\u0022:\u0022Documents\u0022}]}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-5050-4000-4c6b-aa0d7f3501ca","SPClientServiceRequestDuration":"17","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022Exists\u0022:true,\u0022IsWOPIEnabled\u0022:false,\u0022ItemCount\u0022:7,\u0022Name\u0022:\u0022Shared Documents\u0022,\u0022ProgID\u0022:null,\u0022ServerRelativeUrl\u0022:\u0022/sites/pnpcoresdktestgroup/Shared Documents\u0022,\u0022TimeCreated\u0022:\u00222022-03-06T01:58:24Z\u0022,\u0022TimeLastModified\u0022:\u00222022-06-19T15:01:32Z\u0022,\u0022UniqueId\u0022:\u00222a0ba280-7c53-4eb9-a460-2c31576f90a8\u0022,\u0022WelcomePage\u0022:\u0022\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-c056-4000-7f3c-232cb62157d4","SPClientServiceRequestDuration":"201","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022CheckInComment\u0022:\u0022\u0022,\u0022CheckOutType\u0022:2,\u0022ContentTag\u0022:\u0022{7E28289F-63EE-4881-9B96-2BE3928BE3D3},1,2\u0022,\u0022CustomizedPageStatus\u0022:0,\u0022ETag\u0022:\u0022\\\u0022{7E28289F-63EE-4881-9B96-2BE3928BE3D3},1\\\u0022\u0022,\u0022Exists\u0022:true,\u0022IrmEnabled\u0022:false,\u0022Length\u0022:\u002218335\u0022,\u0022Level\u0022:1,\u0022LinkingUri\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup/Shared%20Documents/PNP_SDK_TEST_GetFilePreviewAsyncTest.docx?d=w7e28289f63ee48819b962be3928be3d3\u0022,\u0022LinkingUrl\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup/Shared Documents/PNP_SDK_TEST_GetFilePreviewAsyncTest.docx?d=w7e28289f63ee48819b962be3928be3d3\u0022,\u0022MajorVersion\u0022:1,\u0022MinorVersion\u0022:0,\u0022Name\u0022:\u0022PNP_SDK_TEST_GetFilePreviewAsyncTest.docx\u0022,\u0022ServerRelativeUrl\u0022:\u0022/sites/pnpcoresdktestgroup/Shared Documents/PNP_SDK_TEST_GetFilePreviewAsyncTest.docx\u0022,\u0022TimeCreated\u0022:\u00222022-06-19T15:02:27Z\u0022,\u0022TimeLastModified\u0022:\u00222022-06-19T15:02:27Z\u0022,\u0022Title\u0022:\u0022\u0022,\u0022UIVersion\u0022:512,\u0022UIVersionLabel\u0022:\u00221.0\u0022,\u0022UniqueId\u0022:\u00227e28289f-63ee-4881-9b96-2be3928be3d3\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-9067-4000-4c6b-a0a58acb3ace","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"3","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022ceb5fd80-a434-4a62-a60b-b272f10ba1df\u0022,\u0022Url\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-706b-4000-4767-d2d1cd59e164","SPClientServiceRequestDuration":"13","X-SharePointHealthScore":"0","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00220ad55b5d-6a79-467b-ad21-d4bef7948a79\u0022,\u0022Id\u0022:\u00220f9b8f4f-0e8e-4630-bb0a-501442db9b64\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-8072-4000-4c6b-a5d0a5175364","SPClientServiceRequestDuration":"16","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022CheckInComment\u0022:\u0022\u0022,\u0022CheckOutType\u0022:2,\u0022ContentTag\u0022:\u0022{7E28289F-63EE-4881-9B96-2BE3928BE3D3},1,2\u0022,\u0022CustomizedPageStatus\u0022:0,\u0022ETag\u0022:\u0022\\\u0022{7E28289F-63EE-4881-9B96-2BE3928BE3D3},1\\\u0022\u0022,\u0022Exists\u0022:true,\u0022IrmEnabled\u0022:false,\u0022Length\u0022:\u002218335\u0022,\u0022Level\u0022:1,\u0022LinkingUri\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup/Shared%20Documents/PNP_SDK_TEST_GetFilePreviewAsyncTest.docx?d=w7e28289f63ee48819b962be3928be3d3\u0022,\u0022LinkingUrl\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup/Shared Documents/PNP_SDK_TEST_GetFilePreviewAsyncTest.docx?d=w7e28289f63ee48819b962be3928be3d3\u0022,\u0022MajorVersion\u0022:1,\u0022MinorVersion\u0022:0,\u0022Name\u0022:\u0022PNP_SDK_TEST_GetFilePreviewAsyncTest.docx\u0022,\u0022ServerRelativeUrl\u0022:\u0022/sites/pnpcoresdktestgroup/Shared Documents/PNP_SDK_TEST_GetFilePreviewAsyncTest.docx\u0022,\u0022TimeCreated\u0022:\u00222022-06-19T15:02:27Z\u0022,\u0022TimeLastModified\u0022:\u00222022-06-19T15:02:27Z\u0022,\u0022Title\u0022:\u0022\u0022,\u0022UIVersion\u0022:512,\u0022UIVersionLabel\u0022:\u00221.0\u0022,\u0022UniqueId\u0022:\u00227e28289f-63ee-4881-9b96-2be3928be3d3\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-0077-4000-7f3c-27e23a6f3f91","SPClientServiceRequestDuration":"41","X-SharePointHealthScore":"1","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022SiteId\u0022:\u00220f9b8f4f-0e8e-4630-bb0a-501442db9b64\u0022,\u0022UniqueId\u0022:\u00227e28289f-63ee-4881-9b96-2be3928be3d3\u0022,\u0022VroomDriveID\u0022:\u0022b!T4-bD44OMEa7ClAUQtubZID9tc40pGJKpguycvELod_Gx-lo4ZQiRJ7vylonTufG\u0022,\u0022VroomItemID\u0022:\u0022013TMHP6U7FAUH53TDQFEJXFRL4OJIXY6T\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"Cache-Control":"no-store, no-cache","Transfer-Encoding":"chunked","Location":"https://graph.microsoft.com/","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"ae6f05fc-1df3-4062-b3de-771046c2dc9d","client-request-id":"ae6f05fc-1df3-4062-b3de-771046c2dc9d","x-ms-ags-diagnostic":"{\u0022ServerInfo\u0022:{\u0022DataCenter\u0022:\u0022North Europe\u0022,\u0022Slice\u0022:\u0022E\u0022,\u0022Ring\u0022:\u00224\u0022,\u0022ScaleUnit\u0022:\u0022003\u0022,\u0022RoleInstance\u0022:\u0022DB1PEPF0001F9C5\u0022}}","OData-Version":"4.0","Date":"Sun, 19 Jun 2022 15:02:27 GMT"},"Response":"{\u0022@odata.context\u0022:\u0022https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.itemPreviewInfo\u0022,\u0022getUrl\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup/_layouts/15/embed.aspx?uniqueId=7e28289f-63ee-4881-9b96-2be3928be3d3\u0026access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJhdWQiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDAvbWF0aGlqc2RldjIuc2hhcmVwb2ludC5jb21AZTFkZDQwMjMtYTY1Ni00ODBhLThhMGUtYzFiMWVlYzUxZTFkIiwiaXNzIjoiMDAwMDAwMDMtMDAwMC0wZmYxLWNlMDAtMDAwMDAwMDAwMDAwIiwibmJmIjoiMTY1NTY1MDk0NyIsImV4cCI6IjE2NTU2NTEyNDciLCJlbmRwb2ludHVybCI6Ilc2TjhZV2pNWU9QRHhQdmptMW5yUTd3UzBDSXJHb3dvZUMvWUpoeHhJL0k9IiwiZW5kcG9pbnR1cmxMZW5ndGgiOiIxMjkiLCJpc2xvb3BiYWNrIjoiVHJ1ZSIsImNpZCI6IllXVTJaakExWm1NdE1XUm1NeTAwTURZeUxXSXpaR1V0TnpjeE1EUTJZekprWXpsayIsInZlciI6Imhhc2hlZHByb29mdG9rZW4iLCJzaXRlaWQiOiJNR1k1WWpobU5HWXRNR1U0WlMwME5qTXdMV0ppTUdFdE5UQXhORFF5WkdJNVlqWTAiL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RqheEnoQLZ8RD8nAmnZRyf9OaCa_JiE-j0thx5EVCBH5aHg\u0022,\u0022postParameters\u0022:null,\u0022postUrl\u0022:null}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-30a0-4000-4c6b-a5401d8be5ba","SPClientServiceRequestDuration":"11","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022RegionalSettings\u0022:{\u0022TimeZone\u0022:{\u0022Description\u0022:\u0022(UTC-08:00) Pacific Time (US and Canada)\u0022,\u0022Id\u0022:13,\u0022Information\u0022:{\u0022Bias\u0022:480,\u0022DaylightBias\u0022:-60,\u0022StandardBias\u0022:0}},\u0022AdjustHijriDays\u0022:0,\u0022AlternateCalendarType\u0022:0,\u0022AM\u0022:\u0022AM\u0022,\u0022CalendarType\u0022:1,\u0022Collation\u0022:25,\u0022CollationLCID\u0022:2070,\u0022DateFormat\u0022:0,\u0022DateSeparator\u0022:\u0022/\u0022,\u0022DecimalSeparator\u0022:\u0022.\u0022,\u0022DigitGrouping\u0022:\u00223;0\u0022,\u0022FirstDayOfWeek\u0022:0,\u0022FirstWeekOfYear\u0022:0,\u0022IsEastAsia\u0022:false,\u0022IsRightToLeft\u0022:false,\u0022IsUIRightToLeft\u0022:false,\u0022ListSeparator\u0022:\u0022,\u0022,\u0022LocaleId\u0022:1033,\u0022NegativeSign\u0022:\u0022-\u0022,\u0022NegNumberMode\u0022:1,\u0022PM\u0022:\u0022PM\u0022,\u0022PositiveSign\u0022:\u0022\u0022,\u0022ShowWeeks\u0022:false,\u0022ThousandSeparator\u0022:\u0022,\u0022,\u0022Time24\u0022:false,\u0022TimeMarkerPosition\u0022:0,\u0022TimeSeparator\u0022:\u0022:\u0022,\u0022WorkDayEndHour\u0022:1020,\u0022WorkDays\u0022:62,\u0022WorkDayStartHour\u0022:480},\u0022Id\u0022:\u0022ceb5fd80-a434-4a62-a60b-b272f10ba1df\u0022,\u0022Url\u0022:\u0022https://mathijsdev2.sharepoint.com/sites/pnpcoresdktestgroup\u0022}"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"IsSuccessStatusCode":true,"StatusCode":200,"Headers":{"SPRequestGuid":"96ea48a0-10a4-4000-4767-defb790aa6d7","SPClientServiceRequestDuration":"12","X-SharePointHealthScore":"2","X-SP-SERVERSTATE":"ReadOnly=0"},"Response":"{\u0022GroupId\u0022:\u00220ad55b5d-6a79-467b-ad21-d4bef7948a79\u0022,\u0022Id\u0022:\u00220f9b8f4f-0e8e-4630-bb0a-501442db9b64\u0022}"}
Loading