Skip to content

Instantly share code, notes, and snippets.

View expiscornovus's full-sized avatar

Dennis Goedegebuure expiscornovus

View GitHub Profile
@expiscornovus
expiscornovus / ResponseGetCustomFontPackagebyId
Created May 10, 2024 12:54
Response Get Custom Font Package by Id
{
"d": {
"__metadata": {
"id": "https://contoso.sharepoint.com/sites/PowerUsers/_api/FontPackages/GetById('e4c6f8ec-b4e2-42ab-a394-9e9da415e288')",
"uri": "https://contoso.sharepoint.com/sites/PowerUsers/_api/FontPackages/GetById('e4c6f8ec-b4e2-42ab-a394-9e9da415e288')",
"type": "SP.FontPackage"
},
"ID": "e4c6f8ec-b4e2-42ab-a394-9e9da415e288",
"IsHidden": false,
"IsValid": true,
@expiscornovus
expiscornovus / GetCustomFontPackagebyId
Created May 10, 2024 12:53
Get Custom Font Package by Id
{"id":"423c1480-e697-4fde-b417-423ed0d9e252","brandColor":"#036C70","connectionReferences":{"shared_sharepointonline":{"connection":{"id":"/exp_sharedsharepointonline_e5efa"}}},"connectorDisplayName":"SharePoint","icon":"https://connectoricons-prod.azureedge.net/releases/v1.0.1685/1.0.1685.3700/sharepointonline/icon.png","isTrigger":false,"operationName":"Send_an_HTTP_request_to_SharePoint","operationDefinition":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_sharepointonline","operationId":"HttpRequest","apiId":"/providers/Microsoft.PowerApps/apis/shared_sharepointonline"},"parameters":{"dataset":"@parameters('SPOSiteCollection_PowerUsers (exp_SPOSiteCollection_PowerUsers)')","parameters/method":"GET","parameters/uri":"_api/FontPackages/GetById('@{variables('FontPackageId')}')","parameters/headers":{"Accept":"application/json;odata=verbose","Content-Type":"application/json;odata=verbose"}},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-To
@expiscornovus
expiscornovus / URIGetCustomFontPackagebyId
Created May 10, 2024 12:52
URI Get Custom Font Package by Id
_api/FontPackages/GetById('@{variables('FontPackageId')}')
@expiscornovus
expiscornovus / ApplyOutofBoxFontPackagetoSite
Created May 9, 2024 14:55
Apply Out of Box Font Package to Site
{"id":"1d956c68-60b5-400a-a1ec-2d57d490a8ec","brandColor":"#036C70","connectionReferences":{"shared_sharepointonline":{"connection":{"id":"/exp_sharedsharepointonline_e5efa"}}},"connectorDisplayName":"SharePoint","icon":"https://connectoricons-prod.azureedge.net/releases/v1.0.1685/1.0.1685.3700/sharepointonline/icon.png","isTrigger":false,"operationName":"Send_an_HTTP_request_to_SharePoint","operationDefinition":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_sharepointonline","operationId":"HttpRequest","apiId":"/providers/Microsoft.PowerApps/apis/shared_sharepointonline"},"parameters":{"dataset":"@parameters('SPOSiteCollection_PowerUsers (exp_SPOSiteCollection_PowerUsers)')","parameters/method":"POST","parameters/uri":"_api/OutOfBoxFontPackages/GetById('@{variables('FontPackageId')}')/Apply","parameters/headers":{"Accept":"application/json;odata=verbose","Content-Type":"application/json;odata=verbose"}},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().header
@expiscornovus
expiscornovus / URIApplyOutofBoxFontPackagetoSite
Created May 9, 2024 14:55
URI Apply Out of Box Font Package to Site
_api/OutOfBoxFontPackages/GetById('@{variables('FontPackageId')}')/Apply
@expiscornovus
expiscornovus / ResponseApplyOutofBoxFontPackagetoSite
Created May 9, 2024 14:53
Response Apply Out of Box Font Package to Site
{
"d": {
"Apply": null
}
}
@expiscornovus
expiscornovus / ResponseGetOutofBoxFontPackagebyId
Created May 9, 2024 14:28
Response Get Out of Box Font Package by Id
{
"d": {
"__metadata": {
"id": "https://contoso.sharepoint.com/sites/PowerUsers/_api/OutOfBoxFontPackages/GetById('1ade2d81-8f4f-4c78-b14e-d1e10e88919e')",
"uri": "https://contoso.sharepoint.com/sites/PowerUsers/_api/OutOfBoxFontPackages/GetById('1ade2d81-8f4f-4c78-b14e-d1e10e88919e')",
"type": "SP.FontPackage"
},
"ID": "1ade2d81-8f4f-4c78-b14e-d1e10e88919e",
"IsHidden": false,
"IsValid": true,
@expiscornovus
expiscornovus / GetOutofBoxFontPackagebyId
Created May 9, 2024 14:27
Get Out of Box Font Package by Id
{"id":"a7a1d3d4-8e17-4e26-ba76-d94596f41b04","brandColor":"#036C70","connectionReferences":{"shared_sharepointonline":{"connection":{"id":"/exp_sharedsharepointonline_e5efa"}}},"connectorDisplayName":"SharePoint","icon":"https://connectoricons-prod.azureedge.net/releases/v1.0.1685/1.0.1685.3700/sharepointonline/icon.png","isTrigger":false,"operationName":"Send_an_HTTP_request_to_SharePoint","operationDefinition":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_sharepointonline","operationId":"HttpRequest","apiId":"/providers/Microsoft.PowerApps/apis/shared_sharepointonline"},"parameters":{"dataset":"@parameters('SPOSiteCollection_PowerUsers (exp_SPOSiteCollection_PowerUsers)')","parameters/method":"GET","parameters/uri":"_api/OutOfBoxFontPackages/GetById('@{variables('FontPackageId')}')","parameters/headers":{"Accept":"application/json;odata=verbose","Content-Type":"application/json;odata=verbose"}},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS
@expiscornovus
expiscornovus / URIGetOutofBoxFontPackagebyId
Created May 9, 2024 14:26
URI Get Out of Box Font Package by Id
_api/OutOfBoxFontPackages/GetById('@{variables('FontPackageId')}')
@expiscornovus
expiscornovus / ResponseListOutofBoxFontPackages
Created May 9, 2024 14:10
Response List Out of Box Font Packages
{
"d": {
"results": [
{
"__metadata": {
"id": "https://contoso.sharepoint.com/sites/PowerUsers/_api/SP.FontPackagefdb84c8a-5144-4427-a6f3-236a16c3cb42",
"uri": "https://contoso.sharepoint.com/sites/PowerUsers/_api/SP.FontPackagefdb84c8a-5144-4427-a6f3-236a16c3cb42",
"type": "SP.FontPackage"
},
"ID": "1e7a7803-045d-44df-9c7a-d2f2f8562e51",