mlbstats/api/docs/ReviewsApi.md

1.7 KiB

{{classname}}

All URIs are relative to https://statsapi.mlb.com

Method HTTP request Description
GetReviewInfo Get /api/v1/review Get review info

GetReviewInfo

StatContainerRestObject GetReviewInfo(ctx, sportId, season, optional) Get review info

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
sportId int32 Unique Team Identifier. Format: 141, 147, etc
season string Comma delimited list of Seasons of play
optional *ReviewsApiGetReviewInfoOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a ReviewsApiGetReviewInfoOpts struct

Name Type Description Notes

gameType | optional.Interface of GameTypeEnum| Type of Game. Available types in /api/v1/gameTypes | fields | **optional.Interface of []string**| Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute |

Return type

StatContainerRestObject

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

[Back to top] [Back to API list] [Back to Model list] [Back to README]