Files
romm/backend/handler/tests/cassettes/test_scan_platform.yaml
2024-06-17 18:05:48 +02:00

427 lines
13 KiB
YAML
Generated

interactions:
- request:
body: fields id,name; where slug="n64"; limit 200;
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_token
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- "44"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://api.igdb.com/v4/platforms
response:
body:
string:
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
\ \"Discord\": \"https://discord.gg/igdb\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8954456aa9091cd4-BUD
Connection:
- keep-alive
Content-Length:
- "434"
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:42 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=TvCGrl03utW_uL8ydwhyI2KREebWDuL9NcblPAZjIVc-1718640222-1.0.1.1-yM_GpZQqO_WEMOMA82bCwwcw3Ddz1tIG_zFCr5_nMOG2vFadF1EwBeSzvs98sEbRmyphK8DEyhtIt1Di1oom1A;
path=/; expires=Mon, 17-Jun-24 16:33:42 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
alt-svc:
- h3=":443"; ma=86400
via:
- 1.1 5dbbe1c6db9a003131a63be8ded250a4.cloudfront.net (CloudFront)
x-amz-apigw-id:
- ZhOuyGawPHcEmUQ=
x-amz-cf-id:
- yXBecbRzM674HMnCZIaYWsqUiSWlrtmBw8CPPIlBhScuigVg6P9xjg==
x-amz-cf-pop:
- FRA56-P8
x-amzn-errortype:
- AccessDeniedException
x-amzn-requestid:
- 3e53a3ee-5c90-491e-9672-c7a048bd596b
x-cache:
- Error from cloudfront
status:
code: 401
message: Unauthorized
- request:
body: null
headers:
Accept:
- "*/*"
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- "0"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
response:
body:
string:
'{"access_token":"emaxpf4c7rlbt30js8iif0el0nygp8","expires_in":5647699,"token_type":"bearer"}
'
headers:
Access-Control-Allow-Origin:
- "*"
Connection:
- keep-alive
Content-Length:
- "93"
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:43 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-66705e5f-11952900765a988e7c6e449b
status:
code: 200
message: OK
- request:
body: fields id,name; where slug="n64"; limit 200;
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer emaxpf4c7rlbt30js8iif0el0nygp8
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- "44"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://api.igdb.com/v4/platforms
response:
body:
string: "[\n {\n \"id\": 4,\n \"name\": \"Nintendo 64\"\n }\n]"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 895445746e561cd8-BUD
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:44 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=aTy_gWfTO4HWMKGVEyqkLYevxkHNwBf3NYbxA7cEV9k-1718640224-1.0.1.1-i4sqDvwxyTxgpX9IqeuQMc0D8InY3tHxTRxho221fuit1Vq0siMm7cXNEM2aMmblInMFmo8BYxqZ5zGZsXtMdQ;
path=/; expires=Mon, 17-Jun-24 16:33:44 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
alt-svc:
- h3=":443"; ma=86400
via:
- 1.1 1e0f88a39289286be3e03ff93487da80.cloudfront.net (CloudFront)
x-amz-apigw-id:
- ZhOvAEWYPHcEDOQ=
x-amz-cf-id:
- 4t1ulbfMmOP0s2nEgG6Yu1ftGtPiPaC9-sHNM8DHtumIZZFNJth-YA==
x-amz-cf-pop:
- FRA56-P8
x-amzn-remapped-content-length:
- "50"
x-amzn-remapped-date:
- Mon, 17 Jun 2024 16:03:43 GMT
x-amzn-requestid:
- cc9ed3b6-4195-4b6a-922c-d5d0c4227ad2
x-cache:
- Miss from cloudfront
x-count:
- "1"
status:
code: 200
message: OK
- request:
body: fields id,name; where slug=""; limit 200;
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer test_token
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- "41"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://api.igdb.com/v4/platforms
response:
body:
string:
"{\n \"message\": \"Authorization Failure. Have you tried:\",\n \"Tip
1\": \"Ensure you are sending Authorization and Client-ID as headers.\",\n
\ \"Tip 2\": \"Ensure Authorization value starts with 'Bearer ', including
the space\",\n \"Tip 3\": \"Ensure Authorization value ends with the App
Access Token you generated, NOT your Client Secret.\",\n \"Docs\": \"https://api-docs.igdb.com/#authentication\",\n
\ \"Discord\": \"https://discord.gg/igdb\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 895445784eff68b5-BUD
Connection:
- keep-alive
Content-Length:
- "434"
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:45 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=gUD7CGHbbRYNhfkH1sA.kS.0XmsBiw0TQXfRJrwuU84-1718640225-1.0.1.1-_OSqpovtQghNqxSoTeCrl4cAC7Tdz_OS2CdC0TFwyAxqwnzDnBTymRXbdaURYyuWXFV5WB2N0lVG4ALl8vuOgA;
path=/; expires=Mon, 17-Jun-24 16:33:45 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
alt-svc:
- h3=":443"; ma=86400
via:
- 1.1 b7c8b552077b93dc0acaa0b82d11fa62.cloudfront.net (CloudFront)
x-amz-apigw-id:
- ZhOvHGJ0vHcEplg=
x-amz-cf-id:
- fPRgpDjIs5s9lyV72fdkwgAO945qmzkiO4cAyzWvZJ9dONgbOq5MbA==
x-amz-cf-pop:
- FRA56-P8
x-amzn-errortype:
- AccessDeniedException
x-amzn-requestid:
- 5710ca40-1b77-45d8-9283-554460deb589
x-cache:
- Error from cloudfront
status:
code: 401
message: Unauthorized
- request:
body: null
headers:
Accept:
- "*/*"
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- "0"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://id.twitch.tv/oauth2/token?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&grant_type=client_credentials
response:
body:
string:
'{"access_token":"wuxsvs55uzd59noni1vq1w4gez1tok","expires_in":4961287,"token_type":"bearer"}
'
headers:
Access-Control-Allow-Origin:
- "*"
Connection:
- keep-alive
Content-Length:
- "93"
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:46 GMT
Server:
- nginx
X-Ctxlog-Logid:
- 1-66705e61-11a882db1ddf5a8237265f6c
status:
code: 200
message: OK
- request:
body: fields id,name; where slug=""; limit 200;
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer wuxsvs55uzd59noni1vq1w4gez1tok
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- "41"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://api.igdb.com/v4/platforms
response:
body:
string: "[]"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 89544585e87ac1cd-BUD
Connection:
- keep-alive
Content-Length:
- "2"
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:46 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=S4zvm8n8CODJny82N8B3HjbghVvZa0Q9bLy7VNAvMyY-1718640226-1.0.1.1-uhZ4jsj7Z.6_BbMm0tpbfxdhEOaRbFW3fRIuE1GVbmRNhocfmJ7CCC9mVAPId09S7wpABF2iB3dumAA5WIjrKg;
path=/; expires=Mon, 17-Jun-24 16:33:46 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
alt-svc:
- h3=":443"; ma=86400
via:
- 1.1 1e0f88a39289286be3e03ff93487da80.cloudfront.net (CloudFront)
x-amz-apigw-id:
- ZhOvaFXKPHcEZoQ=
x-amz-cf-id:
- kOZy7iLktTLH5LpuANbdlBMeEep_bKCLDhQPuj6TSs_rMTlLIrDXPw==
x-amz-cf-pop:
- FRA56-P8
x-amzn-remapped-content-length:
- "2"
x-amzn-remapped-date:
- Mon, 17 Jun 2024 16:03:46 GMT
x-amzn-requestid:
- e895522e-7ed5-48af-8f7e-80263c41c55e
x-cache:
- Miss from cloudfront
x-count:
- "0"
status:
code: 200
message: OK
- request:
body: fields id,name; where slug=""; limit 200;
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer wuxsvs55uzd59noni1vq1w4gez1tok
Client-ID:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Connection:
- keep-alive
Content-Length:
- "41"
User-Agent:
- python-requests/2.32.3
method: POST
uri: https://api.igdb.com/v4/platform_versions
response:
body:
string: "[]"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 895445884fe66847-BUD
Connection:
- keep-alive
Content-Length:
- "2"
Content-Type:
- application/json
Date:
- Mon, 17 Jun 2024 16:03:46 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=EsMSXikvSpKrFPTBAB6_OBLnqkecPuhdU994JBnpSyQ-1718640226-1.0.1.1-SuDA1nw3BEJ3qc20ZSY.IqU8RM3KPapCYk.UmO3EJaDi1i34KSo5uMf3g.14pUm7WTMJNzMsJl0NLxRzgCdX.w;
path=/; expires=Mon, 17-Jun-24 16:33:46 GMT; domain=.igdb.com; HttpOnly; Secure;
SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
alt-svc:
- h3=":443"; ma=86400
via:
- 1.1 1e0f88a39289286be3e03ff93487da80.cloudfront.net (CloudFront)
x-amz-apigw-id:
- ZhOvdGS4PHcEk9g=
x-amz-cf-id:
- 6iAscp4gUnYmobcPfyOuZQwMGZ0YUu8eahhnsGhTZGXq7h4GcVUNcQ==
x-amz-cf-pop:
- FRA56-P8
x-amzn-remapped-content-length:
- "2"
x-amzn-remapped-date:
- Mon, 17 Jun 2024 16:03:46 GMT
x-amzn-requestid:
- fb152fd2-097c-4685-a6a2-89ca39583612
x-cache:
- Miss from cloudfront
x-count:
- "0"
status:
code: 200
message: OK
version: 1