{ "info": { "_postman_id": "7288cfcc-0294-463c-a20d-193df1d522ce", "name": "Test", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Get Token", "event": [ { "listen": "test", "script": { "id": "d006c79d-1179-4853-bc65-d15d3437379f", "exec": [ "var jsonData = JSON.parse(responseBody);", "postman.setGlobalVariable(\"access_token\", jsonData.access_token);" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "grant_type", "value": "client_credentials", "type": "text" }, { "key": "client_id", "value": "{{your-client-id}}", "type": "text" }, { "key": "client_secret", "value": "{{your-client-secret}}", "type": "text" }, { "key": "resource", "value": "73c2949e-da2d-457a-9607-fcc665198967", "type": "text" } ], "options": { "urlencoded": {} } }, "url": { "raw": "https://login.microsoftonline.com/{{your-tenant-id}}/oauth2/token", "protocol": "https", "host": [ "login", "microsoftonline", "com" ], "path": [ "{{your-tenant-id}}", "oauth2", "token" ] } }, "response": [] }, { "name": "/v2/types/typedefs", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{access_token}}", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "https://{{your-atlas-endpoint}}/api/atlas/v2/types/typedefs", "protocol": "https", "host": [ "{{your-atlas-endpoint}}" ], "path": [ "api", "atlas", "v2", "types", "typedefs" ] } }, "response": [] } ], "protocolProfileBehavior": {} }