|
| 1 | +--- |
| 2 | +version: 1 |
| 3 | +interactions: |
| 4 | +- request: |
| 5 | + body: '{"redirect_uri":"https://example.com","label":"go-client-test","public":true}' |
| 6 | + form: {} |
| 7 | + headers: |
| 8 | + Accept: |
| 9 | + - application/json |
| 10 | + Content-Type: |
| 11 | + - application/json |
| 12 | + User-Agent: |
| 13 | + - linodego/dev https://github.com/linode/linodego |
| 14 | + url: https://api.linode.com/v4beta/account/oauth-clients |
| 15 | + method: POST |
| 16 | + response: |
| 17 | + body: '{"id": "757a5af92718d7369687", "redirect_uri": "https://example.com", "label": |
| 18 | + "go-client-test", "status": "active", "secret": "1950e1df7217e8f8f1543ba8b1d12c03e6088eb1429e10549e18c650b677015f", |
| 19 | + "thumbnail_url": null, "public": true}' |
| 20 | + headers: |
| 21 | + Access-Control-Allow-Credentials: |
| 22 | + - "true" |
| 23 | + Access-Control-Allow-Headers: |
| 24 | + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter |
| 25 | + Access-Control-Allow-Methods: |
| 26 | + - HEAD, GET, OPTIONS, POST, PUT, DELETE |
| 27 | + Access-Control-Allow-Origin: |
| 28 | + - '*' |
| 29 | + Access-Control-Expose-Headers: |
| 30 | + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status |
| 31 | + Akamai-Internal-Account: |
| 32 | + - '*' |
| 33 | + Cache-Control: |
| 34 | + - max-age=0, no-cache, no-store |
| 35 | + Connection: |
| 36 | + - keep-alive |
| 37 | + Content-Length: |
| 38 | + - "233" |
| 39 | + Content-Security-Policy: |
| 40 | + - default-src 'none' |
| 41 | + Content-Type: |
| 42 | + - application/json |
| 43 | + Expires: |
| 44 | + - Tue, 03 Dec 2024 01:14:47 GMT |
| 45 | + Pragma: |
| 46 | + - no-cache |
| 47 | + Strict-Transport-Security: |
| 48 | + - max-age=31536000 |
| 49 | + Vary: |
| 50 | + - Authorization, X-Filter |
| 51 | + X-Accepted-Oauth-Scopes: |
| 52 | + - account:read_write |
| 53 | + X-Content-Type-Options: |
| 54 | + - nosniff |
| 55 | + X-Frame-Options: |
| 56 | + - DENY |
| 57 | + - DENY |
| 58 | + X-Oauth-Scopes: |
| 59 | + - '*' |
| 60 | + X-Ratelimit-Limit: |
| 61 | + - "1600" |
| 62 | + X-Xss-Protection: |
| 63 | + - 1; mode=block |
| 64 | + status: 200 OK |
| 65 | + code: 200 |
| 66 | + duration: "" |
| 67 | +- request: |
| 68 | + body: "" |
| 69 | + form: {} |
| 70 | + headers: |
| 71 | + Accept: |
| 72 | + - application/json |
| 73 | + Content-Type: |
| 74 | + - application/json |
| 75 | + User-Agent: |
| 76 | + - linodego/dev https://github.com/linode/linodego |
| 77 | + url: https://api.linode.com/v4beta/account/oauth-clients/757a5af92718d7369687/reset-secret |
| 78 | + method: POST |
| 79 | + response: |
| 80 | + body: '{"id": "757a5af92718d7369687", "redirect_uri": "https://example.com", "label": |
| 81 | + "go-client-test", "status": "active", "secret": "af3ccc4a7d881a8a858593080d0bffb1e9c6b1917cb88e28bd2b10ad885679cb", |
| 82 | + "thumbnail_url": null, "public": true}' |
| 83 | + headers: |
| 84 | + Access-Control-Allow-Credentials: |
| 85 | + - "true" |
| 86 | + Access-Control-Allow-Headers: |
| 87 | + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter |
| 88 | + Access-Control-Allow-Methods: |
| 89 | + - HEAD, GET, OPTIONS, POST, PUT, DELETE |
| 90 | + Access-Control-Allow-Origin: |
| 91 | + - '*' |
| 92 | + Access-Control-Expose-Headers: |
| 93 | + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status |
| 94 | + Akamai-Internal-Account: |
| 95 | + - '*' |
| 96 | + Cache-Control: |
| 97 | + - max-age=0, no-cache, no-store |
| 98 | + Connection: |
| 99 | + - keep-alive |
| 100 | + Content-Length: |
| 101 | + - "233" |
| 102 | + Content-Security-Policy: |
| 103 | + - default-src 'none' |
| 104 | + Content-Type: |
| 105 | + - application/json |
| 106 | + Expires: |
| 107 | + - Tue, 03 Dec 2024 01:14:47 GMT |
| 108 | + Pragma: |
| 109 | + - no-cache |
| 110 | + Strict-Transport-Security: |
| 111 | + - max-age=31536000 |
| 112 | + Vary: |
| 113 | + - Authorization, X-Filter |
| 114 | + X-Accepted-Oauth-Scopes: |
| 115 | + - account:read_write |
| 116 | + X-Content-Type-Options: |
| 117 | + - nosniff |
| 118 | + X-Frame-Options: |
| 119 | + - DENY |
| 120 | + - DENY |
| 121 | + X-Oauth-Scopes: |
| 122 | + - '*' |
| 123 | + X-Ratelimit-Limit: |
| 124 | + - "1600" |
| 125 | + X-Xss-Protection: |
| 126 | + - 1; mode=block |
| 127 | + status: 200 OK |
| 128 | + code: 200 |
| 129 | + duration: "" |
| 130 | +- request: |
| 131 | + body: "" |
| 132 | + form: {} |
| 133 | + headers: |
| 134 | + Accept: |
| 135 | + - application/json |
| 136 | + Content-Type: |
| 137 | + - application/json |
| 138 | + User-Agent: |
| 139 | + - linodego/dev https://github.com/linode/linodego |
| 140 | + url: https://api.linode.com/v4beta/account/oauth-clients/757a5af92718d7369687 |
| 141 | + method: DELETE |
| 142 | + response: |
| 143 | + body: '{}' |
| 144 | + headers: |
| 145 | + Access-Control-Allow-Credentials: |
| 146 | + - "true" |
| 147 | + Access-Control-Allow-Headers: |
| 148 | + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter |
| 149 | + Access-Control-Allow-Methods: |
| 150 | + - HEAD, GET, OPTIONS, POST, PUT, DELETE |
| 151 | + Access-Control-Allow-Origin: |
| 152 | + - '*' |
| 153 | + Access-Control-Expose-Headers: |
| 154 | + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status |
| 155 | + Akamai-Internal-Account: |
| 156 | + - '*' |
| 157 | + Cache-Control: |
| 158 | + - max-age=0, no-cache, no-store |
| 159 | + Connection: |
| 160 | + - keep-alive |
| 161 | + Content-Length: |
| 162 | + - "2" |
| 163 | + Content-Security-Policy: |
| 164 | + - default-src 'none' |
| 165 | + Content-Type: |
| 166 | + - application/json |
| 167 | + Expires: |
| 168 | + - Tue, 03 Dec 2024 01:14:48 GMT |
| 169 | + Pragma: |
| 170 | + - no-cache |
| 171 | + Strict-Transport-Security: |
| 172 | + - max-age=31536000 |
| 173 | + Vary: |
| 174 | + - Authorization, X-Filter |
| 175 | + X-Accepted-Oauth-Scopes: |
| 176 | + - account:read_write |
| 177 | + X-Content-Type-Options: |
| 178 | + - nosniff |
| 179 | + X-Frame-Options: |
| 180 | + - DENY |
| 181 | + - DENY |
| 182 | + X-Oauth-Scopes: |
| 183 | + - '*' |
| 184 | + X-Ratelimit-Limit: |
| 185 | + - "1600" |
| 186 | + X-Xss-Protection: |
| 187 | + - 1; mode=block |
| 188 | + status: 200 OK |
| 189 | + code: 200 |
| 190 | + duration: "" |
0 commit comments