|
| 1 | +{ |
| 2 | + "info": { |
| 3 | + "_postman_id": "fa10a948-7ee7-4439-bdc7-f09565d577da", |
| 4 | + "name": "APIORDS", |
| 5 | + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" |
| 6 | + }, |
| 7 | + "item": [ |
| 8 | + { |
| 9 | + "name": "ORDS_OAuth20", |
| 10 | + "request": { |
| 11 | + "auth": { |
| 12 | + "type": "oauth2", |
| 13 | + "oauth2": [ |
| 14 | + { |
| 15 | + "key": "redirect_uri", |
| 16 | + "value": "http://{{api_hostname}}/auth/code/example/", |
| 17 | + "type": "string" |
| 18 | + }, |
| 19 | + { |
| 20 | + "key": "state", |
| 21 | + "value": "7843928792043222", |
| 22 | + "type": "string" |
| 23 | + }, |
| 24 | + { |
| 25 | + "key": "useBrowser", |
| 26 | + "value": false, |
| 27 | + "type": "boolean" |
| 28 | + }, |
| 29 | + { |
| 30 | + "key": "authUrl", |
| 31 | + "value": "https://{{api_hostname}}/ords/ordstest/oauth/auth", |
| 32 | + "type": "string" |
| 33 | + }, |
| 34 | + { |
| 35 | + "key": "accessTokenUrl", |
| 36 | + "value": "https://{{api_hostname}}/ords/ordstest/oauth/token", |
| 37 | + "type": "string" |
| 38 | + }, |
| 39 | + { |
| 40 | + "key": "clientSecret", |
| 41 | + "value": "{{client_secret}}", |
| 42 | + "type": "string" |
| 43 | + }, |
| 44 | + { |
| 45 | + "key": "clientId", |
| 46 | + "value": "{{client_id}}", |
| 47 | + "type": "string" |
| 48 | + }, |
| 49 | + { |
| 50 | + "key": "tokenName", |
| 51 | + "value": "access_token", |
| 52 | + "type": "string" |
| 53 | + }, |
| 54 | + { |
| 55 | + "key": "addTokenTo", |
| 56 | + "value": "header", |
| 57 | + "type": "string" |
| 58 | + } |
| 59 | + ] |
| 60 | + }, |
| 61 | + "method": "GET", |
| 62 | + "header": [], |
| 63 | + "url": { |
| 64 | + "raw": "https://{{api_hostname}}/ords/ordstest/examples/employees/", |
| 65 | + "protocol": "https", |
| 66 | + "host": [ |
| 67 | + "{{api_hostname}}" |
| 68 | + ], |
| 69 | + "path": [ |
| 70 | + "ords", |
| 71 | + "ordstest", |
| 72 | + "examples", |
| 73 | + "employees", |
| 74 | + "" |
| 75 | + ] |
| 76 | + } |
| 77 | + }, |
| 78 | + "response": [] |
| 79 | + } |
| 80 | + ], |
| 81 | + "auth": { |
| 82 | + "type": "oauth2", |
| 83 | + "oauth2": [ |
| 84 | + { |
| 85 | + "key": "tokenName", |
| 86 | + "value": "access_token", |
| 87 | + "type": "string" |
| 88 | + }, |
| 89 | + { |
| 90 | + "key": "challengeAlgorithm", |
| 91 | + "value": "S256", |
| 92 | + "type": "string" |
| 93 | + }, |
| 94 | + { |
| 95 | + "key": "state", |
| 96 | + "value": "3668D7A713E93372E0406A38A8C02171", |
| 97 | + "type": "string" |
| 98 | + }, |
| 99 | + { |
| 100 | + "key": "redirect_uri", |
| 101 | + "value": "https://{{api_hostname}}/v3/auth/code/example/", |
| 102 | + "type": "string" |
| 103 | + }, |
| 104 | + { |
| 105 | + "key": "grant_type", |
| 106 | + "value": "authorization_code", |
| 107 | + "type": "string" |
| 108 | + }, |
| 109 | + { |
| 110 | + "key": "clientSecret", |
| 111 | + "value": "{{client_secret}}", |
| 112 | + "type": "string" |
| 113 | + }, |
| 114 | + { |
| 115 | + "key": "clientId", |
| 116 | + "value": "{{client_id}}", |
| 117 | + "type": "string" |
| 118 | + }, |
| 119 | + { |
| 120 | + "key": "authUrl", |
| 121 | + "value": "https://{{api_hostname}}/app/ords/ordstest/oauth/auth", |
| 122 | + "type": "string" |
| 123 | + }, |
| 124 | + { |
| 125 | + "key": "addTokenTo", |
| 126 | + "value": "header", |
| 127 | + "type": "string" |
| 128 | + }, |
| 129 | + { |
| 130 | + "key": "client_authentication", |
| 131 | + "value": "header", |
| 132 | + "type": "string" |
| 133 | + }, |
| 134 | + { |
| 135 | + "key": "accessTokenUrl", |
| 136 | + "value": "https://{{api_hostname}}/ords/ordstest/oauth/token", |
| 137 | + "type": "string" |
| 138 | + } |
| 139 | + ] |
| 140 | + }, |
| 141 | + "event": [ |
| 142 | + { |
| 143 | + "listen": "prerequest", |
| 144 | + "script": { |
| 145 | + "type": "text/javascript", |
| 146 | + "exec": [ |
| 147 | + "" |
| 148 | + ] |
| 149 | + } |
| 150 | + }, |
| 151 | + { |
| 152 | + "listen": "test", |
| 153 | + "script": { |
| 154 | + "type": "text/javascript", |
| 155 | + "exec": [ |
| 156 | + "" |
| 157 | + ] |
| 158 | + } |
| 159 | + } |
| 160 | + ] |
| 161 | +} |
0 commit comments