{"id":16431080,"url":"https://github.com/waldekmastykarz/graph-mocks","last_synced_at":"2025-04-25T04:30:39.869Z","repository":{"id":182985681,"uuid":"669280339","full_name":"waldekmastykarz/graph-mocks","owner":"waldekmastykarz","description":"Microsoft Graph mocks for Microsoft 365 Developer Proxy","archived":false,"fork":false,"pushed_at":"2025-02-19T08:11:04.000Z","size":29237,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T16:12:23.319Z","etag":null,"topics":["m365-developer-proxy","microsoft","microsoft-365","microsoft-graph","microsoft-graph-api"],"latest_commit_sha":null,"homepage":"https://aka.ms/m365/proxy","language":"JavaScript","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/waldekmastykarz.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":"2023-07-21T19:56:53.000Z","updated_at":"2025-02-19T08:11:14.000Z","dependencies_parsed_at":"2024-01-14T11:05:12.750Z","dependency_job_id":null,"html_url":"https://github.com/waldekmastykarz/graph-mocks","commit_stats":null,"previous_names":["waldekmastykarz/graph-mocks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fgraph-mocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fgraph-mocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fgraph-mocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fgraph-mocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waldekmastykarz","download_url":"https://codeload.github.com/waldekmastykarz/graph-mocks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250754549,"owners_count":21481835,"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":["m365-developer-proxy","microsoft","microsoft-365","microsoft-graph","microsoft-graph-api"],"created_at":"2024-10-11T08:29:07.012Z","updated_at":"2025-04-25T04:30:34.844Z","avatar_url":"https://github.com/waldekmastykarz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsoft Graph mocks for Microsoft 365 Developer Proxy\n\nThis repo contains Microsoft Graph mocks for [Microsoft 365 Developer Proxy](https://aka.ms/m365/proxy). Using these mocks, you can simulate calling Microsoft Graph endpoints from your application, without actually calling Microsoft Graph.\n\nYou'll find these mocks helpful if you want:\n\n- predictable data\n- quickly prototype an app without setting up auth\n- Microsoft Graph responses without creating the necessary objects behind them\n\n## Mock files\n\nMock files in this repo are built using the sample requests and responses from the [Microsoft Graph API reference documentation](https://learn.microsoft.com/graph/api/overview?view=graph-rest-1.0).\n\nFile|Description\n----|-----------\n[graph-v1_0-proxy-mocks.json](./graph-v1_0-proxy-mocks.json)|mock responses for endpoints that are a part of Microsoft Graph v1.0\n[graph-beta-proxy-mocks.json](./graph-beta-proxy-mocks.json)|mock responses for endpoints that are a part of Microsoft Graph beta\n[graph-proxy-mocks.json](./graph-proxy-mocks.json)|mock responses for endpoints that are a part of Microsoft Graph v1.0 and beta\n[graph-v1_0-proxy-mocks-sandbox.json](./graph-v1_0-proxy-mocks-sandbox.json)|mock responses for endpoints that are a part of Microsoft Graph v1.0. Where possible, uses the same data as [Microsoft Graph Explorer](https://aka.ms/ge)\n[graph-beta-proxy-mocks-sandbox.json](./graph-beta-proxy-mocks-sandbox.json)|mock responses for endpoints that are a part of Microsoft Graph beta. Where possible, uses the same data as [Microsoft Graph Explorer](https://aka.ms/ge)\n[graph-proxy-mocks-sandbox.json](./graph-proxy-mocks-sandbox.json)|mock responses for endpoints that are a part of Microsoft Graph v1.0 and beta. Where possible, uses the same data as [Microsoft Graph Explorer](https://aka.ms/ge)\n\n## Use the mock files\n\nTo use any of the mock files, download the file, and then start the Microsoft 365 Developer Proxy passing the path to the downloaded mock file, eg.\n\n```sh\nm365proxy --mocks-file ./graph-proxy-mocks-sandbox.json\n```\n\nWhen you call a Microsoft Graph endpoint, that's covered by one of the mocks, Microsoft 365 Developer Proxy, will send the corresponding mock response to your application.\n\n## More information\n\n- [Microsoft 365 Developer Proxy](https://aka.ms/m365/proxy)\n- [Mock responses using Microsoft 365 Developer Proxy](https://github.com/microsoft/m365-developer-proxy/wiki/Mock-responses)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldekmastykarz%2Fgraph-mocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaldekmastykarz%2Fgraph-mocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldekmastykarz%2Fgraph-mocks/lists"}