Skip to content

Commit 8e4102b

Browse files
committed
doc.json manually updated
1 parent 9116091 commit 8e4102b

File tree

1 file changed

+82
-3
lines changed

1 file changed

+82
-3
lines changed

doc.json

Lines changed: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@
153153
"membership": {
154154
"link": "https://members-ng.iracing.com/data/league/membership",
155155
"parameters": {
156+
"cust_id": {
157+
"type": "number",
158+
"note": "If different from the authenticated member, the following resrictions apply: - Caller cannot be on requested customer's block list or an empty list will result; - Requested customer cannot have their online activity prefrence set to hidden or an empty list will result; - Only leagues for which the requested customer is an admin and the league roster is not private are returned."
159+
},
156160
"include_league": {
157161
"type": "boolean"
158162
}
@@ -259,6 +263,16 @@
259263
}
260264
},
261265
"member": {
266+
"awards": {
267+
"link": "https://members-ng.iracing.com/data/member/awards",
268+
"parameters": {
269+
"cust_id": {
270+
"type": "number",
271+
"note": "Defaults to the authenticated member."
272+
}
273+
},
274+
"expirationSeconds": 900
275+
},
262276
"chart_data": {
263277
"link": "https://members-ng.iracing.com/data/member/chart_data",
264278
"parameters": {
@@ -298,6 +312,11 @@
298312
"note": "Always the authenticated member.",
299313
"expirationSeconds": 900
300314
},
315+
"participation_credits": {
316+
"link": "https://members-ng.iracing.com/data/member/participation_credits",
317+
"note": "Always the authenticated member.",
318+
"expirationSeconds": 900
319+
},
301320
"profile": {
302321
"link": "https://members-ng.iracing.com/data/member/profile",
303322
"parameters": {
@@ -379,7 +398,7 @@
379398
},
380399
"search_hosted": {
381400
"link": "https://members-ng.iracing.com/data/results/search_hosted",
382-
"note": "Hosted and league sessions. Maximum time frame of 90 days. Results split into one or more files with chunks of results. For scraping results the most effective approach is to keep track of the maximum end_time found during a search then make the subsequent call using that date/time as the finish_range_begin and skip any subsessions that are duplicated. Results are ordered by subsessionid which is a proxy for start time. Requires one of: start_range_begin, finish_range_begin. Requires one of: cust_id, host_cust_id, session_name.",
401+
"note": "Hosted and league sessions. Maximum time frame of 90 days. Results split into one or more files with chunks of results. For scraping results the most effective approach is to keep track of the maximum end_time found during a search then make the subsequent call using that date/time as the finish_range_begin and skip any subsessions that are duplicated. Results are ordered by subsessionid which is a proxy for start time. Requires one of: start_range_begin, finish_range_begin. Requires one of: cust_id, team_id, host_cust_id, session_name.",
383402
"parameters": {
384403
"start_range_begin": {
385404
"type": "string",
@@ -399,7 +418,11 @@
399418
},
400419
"cust_id": {
401420
"type": "number",
402-
"note": "The participant's customer ID."
421+
"note": "The participant's customer ID. Ignored if team_id is supplied."
422+
},
423+
"team_id": {
424+
"type": "number",
425+
"note": "The team ID to search for. Takes priority over cust_id if both are supplied."
403426
},
404427
"host_cust_id": {
405428
"type": "number",
@@ -462,7 +485,11 @@
462485
},
463486
"cust_id": {
464487
"type": "number",
465-
"note": "Include only sessions in which this customer participated."
488+
"note": "Include only sessions in which this customer participated. Ignored if team_id is supplied."
489+
},
490+
"team_id": {
491+
"type": "number",
492+
"note": "Include only sessions in which this team participated. Takes priority over cust_id if both are supplied."
466493
},
467494
"series_id": {
468495
"type": "number",
@@ -534,6 +561,16 @@
534561
}
535562
},
536563
"expirationSeconds": 60
564+
},
565+
"spectator_subsessionids": {
566+
"link": "https://members-ng.iracing.com/data/season/spectator_subsessionids",
567+
"parameters": {
568+
"event_types": {
569+
"type": "numbers",
570+
"note": "Types of events to include in the search. Defaults to all. ?event_types=2,3,4,5"
571+
}
572+
},
573+
"expirationSeconds": 60
537574
}
538575
},
539576
"series": {
@@ -548,6 +585,17 @@
548585
"link": "https://members-ng.iracing.com/data/series/get",
549586
"expirationSeconds": 900
550587
},
588+
"past_seasons": {
589+
"link": "https://members-ng.iracing.com/data/series/past_seasons",
590+
"note": "Get all seasons for a series. Filter list by official:true for seasons with standings.",
591+
"parameters": {
592+
"series_id": {
593+
"type": "number",
594+
"required": true
595+
}
596+
},
597+
"expirationSeconds": 900
598+
},
551599
"seasons": {
552600
"link": "https://members-ng.iracing.com/data/series/seasons",
553601
"parameters": {
@@ -604,6 +652,24 @@
604652
},
605653
"expirationSeconds": 900
606654
},
655+
"member_recap": {
656+
"link": "https://members-ng.iracing.com/data/stats/member_recap",
657+
"parameters": {
658+
"cust_id": {
659+
"type": "number",
660+
"note": "Defaults to the authenticated member."
661+
},
662+
"year": {
663+
"type": "number",
664+
"note": "Season year; if not supplied the current calendar year (UTC) is used."
665+
},
666+
"season": {
667+
"type": "number",
668+
"note": "Season (quarter) within the year; if not supplied the recap will be fore the entire year."
669+
}
670+
},
671+
"expirationSeconds": 900
672+
},
607673
"member_recent_races": {
608674
"link": "https://members-ng.iracing.com/data/stats/member_recent_races",
609675
"parameters": {
@@ -823,6 +889,19 @@
823889
"expirationSeconds": 900
824890
}
825891
},
892+
"time_attack": {
893+
"member_season_results": {
894+
"link": "https://members-ng.iracing.com/data/time_attack/member_season_results",
895+
"note": "Results for the authenticated member, if any.",
896+
"parameters": {
897+
"ta_comp_season_id": {
898+
"type": "number",
899+
"required": true
900+
}
901+
},
902+
"expirationSeconds": 900
903+
}
904+
},
826905
"track": {
827906
"assets": {
828907
"link": "https://members-ng.iracing.com/data/track/assets",

0 commit comments

Comments
 (0)