Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
291 changes: 291 additions & 0 deletions test/integration/fixtures/TestIAM_GetAccountRolePermissions.yaml

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions test/integration/fixtures/TestIAM_GetUserRolePermissions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
---
version: 1
interactions:
- request:
body: ""
form: {}
headers:
Accept:
- application/json
Content-Type:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/profile
method: GET
response:
body: '{"uid": 661, "username": "vshanthe-cx", "email": "vshanthe@akamai.com",
"verified_phone_number": "555-555-5555", "timezone": "GMT", "email_notifications":
true, "referrals": {"code": "", "url": "", "total": 0, "completed": 0, "pending":
0, "credit": 0}, "ip_whitelist_enabled": false, "lish_auth_method": "password_keys",
"authorized_keys": null, "two_factor_auth": false, "restricted": false, "authentication_type":
"password", "user_type": "default"}'
headers:
Access-Control-Allow-Credentials:
- "true"
Access-Control-Allow-Headers:
- Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
Access-Control-Allow-Methods:
- HEAD, GET, OPTIONS, POST, PUT, DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
Cache-Control:
- private, max-age=0, s-maxage=0, no-cache, no-store
- private, max-age=60, s-maxage=60
Connection:
- keep-alive
Content-Length:
- "452"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Server:
- nginx/1.18.0
Strict-Transport-Security:
- max-age=31536000
- max-age=31536000
Vary:
- Authorization, X-Filter
- Authorization, X-Filter
X-Accepted-Oauth-Scopes:
- '*'
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
- DENY
X-Oauth-Scopes:
- '*'
X-Ratelimit-Limit:
- "400"
X-Xss-Protection:
- 1; mode=block
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
headers:
Accept:
- application/json
Content-Type:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/iam/users/vshanthe-cx/role-permissions
method: GET
response:
body: '{"account_access": ["account_admin"], "entity_access": []}'
headers:
Access-Control-Allow-Credentials:
- "true"
Access-Control-Allow-Headers:
- Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
Access-Control-Allow-Methods:
- HEAD, GET, OPTIONS, POST, PUT, DELETE
Access-Control-Allow-Origin:
- '*'
Access-Control-Expose-Headers:
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
Cache-Control:
- private, max-age=0, s-maxage=0, no-cache, no-store
- private, max-age=60, s-maxage=60
Connection:
- keep-alive
Content-Length:
- "58"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Server:
- nginx/1.18.0
Strict-Transport-Security:
- max-age=31536000
- max-age=31536000
Vary:
- Authorization, X-Filter
- Authorization, X-Filter
X-Accepted-Oauth-Scopes:
- account:read_only
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
- DENY
X-Oauth-Scopes:
- '*'
X-Ratelimit-Limit:
- "400"
X-Xss-Protection:
- 1; mode=block
status: 200 OK
code: 200
duration: ""
Loading
Loading