-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from AdrianJSClark/224-season-driver-standing…
…s-deserialization-failure Resolve Issue with Season Driver Standings Typing
- Loading branch information
Showing
7 changed files
with
153 additions
and
21,399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 34 additions & 9 deletions
43
src/Aydsko.iRacingData.UnitTests/Responses/GetSeasonDriverStandingsSuccessfulAsync/1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,36 @@ | ||
{ | ||
"headers": { | ||
"x-ratelimit-remaining": "99", | ||
"x-ratelimit-limit": "100", | ||
"x-ratelimit-reset": "1644451200" | ||
}, | ||
"content": { | ||
"link": "https://scorpio-assets.s3.amazonaws.com/production/data-server/cache/data-services/stats/member_division/0018ddd2-a9e3-4755-bf38-85b2426851fb?AWSAccessKeyId=AKIAUO6OO4A3357USLO7&Expires=1642767749&Signature=M4K60q92NbjCdV3zqe9I5fAcObw%3D", | ||
"expires": "2022-08-27T11:23:19.507Z" | ||
} | ||
"headers": { | ||
"Connection": "keep-alive", | ||
"Date": "Sun, 29 Sep 2024 02:19:40 GMT", | ||
"ETag": "W/\u0022217-d3NH0V5bLW3kwn4Pz5ayIbBJr0g\u0022", | ||
"Set-Cookie": "AWSALB=CME; Expires=Sun, 06 Oct 2024 02:19:40 GMT; Path=/", | ||
"X-iRacing-Env": "members", | ||
"X-iRacing-Id": "eab62380-2ebb-42d5-a5e1-06d0445f9898", | ||
"X-iRacing-ServiceName": "data-server", | ||
"X-iRacing-ServiceVersion": "2.0.2", | ||
"Content-Security-Policy": "default-src \u0027self\u0027;base-uri \u0027self\u0027;font-src \u0027self\u0027 https: data:;form-action \u0027self\u0027;frame-ancestors \u0027self\u0027;img-src \u0027self\u0027 data:;object-src \u0027none\u0027;script-src \u0027self\u0027;script-src-attr \u0027none\u0027;style-src \u0027self\u0027 https: \u0027unsafe-inline\u0027;upgrade-insecure-requests", | ||
"Cross-Origin-Opener-Policy": "same-origin", | ||
"Cross-Origin-Resource-Policy": "same-origin", | ||
"Origin-Agent-Cluster": "?1", | ||
"Referrer-Policy": "no-referrer", | ||
"Strict-Transport-Security": "max-age=15552000; includeSubDomains", | ||
"X-Content-Type-Options": "nosniff", | ||
"X-DNS-Prefetch-Control": "off", | ||
"X-Download-Options": "noopen", | ||
"X-Frame-Options": "SAMEORIGIN", | ||
"X-Permitted-Cross-Domain-Policies": "none", | ||
"X-XSS-Protection": "0", | ||
"X-RateLimit-Limit": "240", | ||
"X-RateLimit-Remaining": "239", | ||
"X-RateLimit-Reset": "1727576440", | ||
"Cache-Control": "max-age=60", | ||
"X-Cache": "Miss from cloudfront", | ||
"Via": "1.1 40f9bfc26197d992c4653c9bae274480.cloudfront.net (CloudFront)", | ||
"X-Amz-Cf-Pop": "BNE50-P2", | ||
"X-Amz-Cf-Id": "6tIowSSwMh7c0iAgFi_c104qA847M9XZWI6HEBfEswoPvhtFk5Da5Q==" | ||
}, | ||
"content": { | ||
"link": "https://scorpio-assets.s3.us-east-1.amazonaws.com/production/data-server/cache/data-services/stats/season_driver_standings/e5d3519d-f2e8-45e0-b338-15acd79d9438?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAUO6OO4A3357USLO7%2F20240929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240929T021940Z&X-Amz-Expires=120&X-Amz-Signature=a4f94404f2966a26829385ff9cc514af70a56161b07fadaee4ac0d6d7bc0671a&X-Amz-SignedHeaders=host&x-id=GetObject", | ||
"expires": "2024-09-29T02:32:29.935Z" | ||
} | ||
} |
59 changes: 36 additions & 23 deletions
59
src/Aydsko.iRacingData.UnitTests/Responses/GetSeasonDriverStandingsSuccessfulAsync/2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
{ | ||
"headers": {}, | ||
"content": { | ||
"success": true, | ||
"season_id": 3656, | ||
"season_name": "Grand Prix Series - 2022 Season 2", | ||
"season_short_name": "2022 Season 2", | ||
"series_id": 260, | ||
"series_name": "Grand Prix Series", | ||
"car_class_id": 3185, | ||
"race_week_num": 0, | ||
"chunk_info": { | ||
"chunk_size": 500, | ||
"num_chunks": 2, | ||
"rows": 647, | ||
"base_download_url": "https://dqfp1ltauszrc.cloudfront.net/public/standings/season/3656/season-driver/3185/0/", | ||
"chunk_file_names": [ | ||
"c1abec864bf6fb301a10b2cc05d33bcbc78b1a4b32bf8b97ca975450f93c0b12.json", | ||
"c1ab788269a48ee1c78926d46b1b18eb1d7e6be9505a5f50a2f06e4899a3be23.json" | ||
] | ||
}, | ||
"last_updated": "2022-04-02T11:34:30.81764Z" | ||
} | ||
{ | ||
"headers": { | ||
"x-amz-id-2": "VfCaUIRP7rRSJ9pzze3QOaFQPvlBuadCAg82ViJjcBFvRoYgbUslP92X3lcOwNO/v8RqdBd7\u002BKc=", | ||
"x-amz-request-id": "7JP53B1XXX010TX9", | ||
"Date": "Sun, 29 Sep 2024 02:19:42 GMT", | ||
"x-amz-expiration": "expiry-date=\u0022Tue, 01 Oct 2024 00:00:00 GMT\u0022, rule-id=\u0022production data-server cache expiry\u0022", | ||
"ETag": "\u002251c219f766bd8f5cc6306733a55fe5cd\u0022", | ||
"x-amz-server-side-encryption": "AES256", | ||
"Cache-Control": "max-age=60", | ||
"Accept-Ranges": "bytes", | ||
"Server": "AmazonS3" | ||
}, | ||
"content": { | ||
"success": true, | ||
"season_id": 4183, | ||
"season_name": "Formula A - Grand Prix Series - Fixed - 2023 Season 2", | ||
"season_short_name": "2023 Season 2 - Fixed", | ||
"series_id": 484, | ||
"series_name": "Formula A - Grand Prix Series - Fixed", | ||
"car_class_id": 4013, | ||
"race_week_num": -1, | ||
"division": 1, | ||
"club_id": -1, | ||
"customer_rank": 45, | ||
"chunk_info": { | ||
"chunk_size": 500, | ||
"num_chunks": 1, | ||
"rows": 211, | ||
"base_download_url": "https://scorpio-assets.s3.amazonaws.com/members/messaging-services/long_lived/standings/season-driver/season/4183/4013/all/filters/1/all/", | ||
"chunk_file_names": [ | ||
"f055a78f229bcb1006262f9f2b0aaffb862cf961e5201211dca4d2c52f3163ed.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240929T021729Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAUO6OO4A3357USLO7%2F20240929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=36439ce0eb66d65b25c0fe1fff9d5a2429e4609a7cb10250669ec40b24b9a241" | ||
] | ||
}, | ||
"last_updated": "2024-09-29T02:17:29.771205029Z", | ||
"csv_url": "https://scorpio-assets.s3.amazonaws.com/members/messaging-services/long_lived/standings/season-driver/season/4183/4013/all/filters/1/all/export.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240929T021729Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAUO6OO4A3357USLO7%2F20240929%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=66965c7a705df66460460324a86f45ad57fab48c1581310da656042d4a3ad845" | ||
} | ||
} |
Oops, something went wrong.