{"id":13742647,"url":"https://github.com/HCRitter/PSMSGraphBatchRequest","last_synced_at":"2025-05-09T00:31:32.607Z","repository":{"id":219269652,"uuid":"748597720","full_name":"HCRitter/PSMSGraphBatchRequest","owner":"HCRitter","description":"This Module assists the creation of Batch Requests for Microsoft Graph by converting PSObjects to JSON with proper schema validation","archived":false,"fork":false,"pushed_at":"2024-01-26T12:46:21.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T13:39:25.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HCRitter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-26T10:42:00.000Z","updated_at":"2024-09-04T10:29:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"725202ac-4889-4801-abb2-ffee00936135","html_url":"https://github.com/HCRitter/PSMSGraphBatchRequest","commit_stats":null,"previous_names":["hcritter/psmsgraphbatchrequest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCRitter%2FPSMSGraphBatchRequest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCRitter%2FPSMSGraphBatchRequest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCRitter%2FPSMSGraphBatchRequest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCRitter%2FPSMSGraphBatchRequest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HCRitter","download_url":"https://codeload.github.com/HCRitter/PSMSGraphBatchRequest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253170954,"owners_count":21865273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:00:34.519Z","updated_at":"2025-05-09T00:31:32.329Z","avatar_url":"https://github.com/HCRitter.png","language":"PowerShell","funding_links":[],"categories":["Tools"],"sub_categories":["CLI"],"readme":"# PSMSGraphBatchRequest\nThe \u003cb\u003eMSGraphBatchRequest\u003c/b\u003e PowerShell module provides a convenient way to transform data into Microsoft Graph Batch Requests by converting PowerShell objects to JSON with proper schema validation.\n\n## Features\n- Batch Request Schema: Enforces adherence to a specified JSON schema for Microsoft Graph Batch Requests.\n- Batch Size Control: Allows batching of requests based on a specified batch size.\n- Schema Validation: Validates the transformed JSON against the predefined schema.\n\n## Usage\n```PowerShell\n$Calls = @(\n    [PSCustomObject]@{\n        id = '1'\n        method = \"GET\"\n        url = '/users/me'\n    },\n    [PSCustomObject]@{\n        id = '2'\n        method = \"GET\"\n        url = '/devices'\n    }\n)\n\nConvertTo-MSGraphBatchRequest -Requests $Calls\n```\nreturns:\n```json\n{\n  \"requests\": [\n    {\n      \"id\": \"1\",\n      \"method\": \"GET\",\n      \"url\": \"/users/me\"\n    },\n    {\n      \"id\": \"2\",\n      \"method\": \"GET\",\n      \"url\": \"/devices\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHCRitter%2FPSMSGraphBatchRequest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHCRitter%2FPSMSGraphBatchRequest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHCRitter%2FPSMSGraphBatchRequest/lists"}