diff --git a/postman/Directory API.postman_collection.json b/postman/Directory API.postman_collection.json deleted file mode 100644 index d5e5729..0000000 --- a/postman/Directory API.postman_collection.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "info": { - "_postman_id": "4f770f23-8d14-4231-8f19-14549c4a7d24", - "name": "Directory API", - "description": "https://developers.google.com/admin-sdk/directory/reference/rest/v1/orgunits/", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "17723612" - }, - "item": [ - { - "name": "Retrieves all organizational units", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://www.googleapis.com/admin/directory/v1/customer/my_customer/orgunits?type=ALL&maxResults=1&pageToken", - "protocol": "https", - "host": [ - "www", - "googleapis", - "com" - ], - "path": [ - "admin", - "directory", - "v1", - "customer", - "my_customer", - "orgunits" - ], - "query": [ - { - "key": "type", - "value": "ALL" - }, - { - "key": "maxResults", - "value": "1" - }, - { - "key": "pageToken", - "value": null - } - ] - } - }, - "response": [] - }, - { - "name": "Retrieve an organizational unit", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://www.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/North America/Austin", - "protocol": "https", - "host": [ - "www", - "googleapis", - "com" - ], - "path": [ - "admin", - "directory", - "v1", - "customer", - "my_customer", - "orgunits", - "North America", - "Austin" - ], - "query": [ - { - "key": "type", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "Retrieve all child organizational units", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://www.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/?orgUnitPath=North America&type=all", - "protocol": "https", - "host": [ - "www", - "googleapis", - "com" - ], - "path": [ - "admin", - "directory", - "v1", - "customer", - "my_customer", - "orgunits", - "" - ], - "query": [ - { - "key": "orgUnitPath", - "value": "North America" - }, - { - "key": "type", - "value": "all" - } - ] - } - }, - "response": [] - }, - { - "name": "Delete an organizational unit", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "https://www.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/UX/Research/Research_support", - "protocol": "https", - "host": [ - "www", - "googleapis", - "com" - ], - "path": [ - "admin", - "directory", - "v1", - "customer", - "my_customer", - "orgunits", - "UX", - "Research", - "Research_support" - ] - } - }, - "response": [] - }, - { - "name": "Update an organizational unit", - "request": { - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\r\n \"description\": \"Where is Algonquin\"\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://www.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/UX/Research/Research_support", - "protocol": "https", - "host": [ - "www", - "googleapis", - "com" - ], - "path": [ - "admin", - "directory", - "v1", - "customer", - "my_customer", - "orgunits", - "UX", - "Research", - "Research_support" - ] - } - }, - "response": [] - }, - { - "name": "Create an organizational unit", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\r\n \"name\": \"Research_support\",\r\n \"description\": \"The research support team\",\r\n \"parentOrgUnitPath\": \"/UX/Research\",\r\n \"blockInheritance\": false\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits", - "protocol": "https", - "host": [ - "admin", - "googleapis", - "com" - ], - "path": [ - "admin", - "directory", - "v1", - "customer", - "my_customer", - "orgunits" - ] - } - }, - "response": [] - } - ], - "auth": { - "type": "oauth2", - "oauth2": [ - { - "key": "redirect_uri", - "value": "{{redirect_uris}}", - "type": "string" - }, - { - "key": "clientSecret", - "value": "{{client_secret}}", - "type": "string" - }, - { - "key": "clientId", - "value": "{{client_id}}", - "type": "string" - }, - { - "key": "accessTokenUrl", - "value": "{{token_uri}}", - "type": "string" - }, - { - "key": "authUrl", - "value": "{{auth_uri}}", - "type": "string" - }, - { - "key": "tokenName", - "value": "DirectoryApiToken", - "type": "string" - }, - { - "key": "scope", - "value": "https://www.googleapis.com/auth/admin.directory.orgunit", - "type": "string" - }, - { - "key": "addTokenTo", - "value": "header", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] -} \ No newline at end of file