openapi: 3.1.0 info: title: MLB MLB v3 Headshots MLB v3 RotoBaller Premium News API version: '1.0' description: MLB API - OpenAPI 3.1 Specification servers: - url: https://api.sportsdata.io description: Production server security: - apiKeyHeader: [] - apiKeyQuery: [] tags: - name: MLB v3 RotoBaller Premium News paths: /v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNews: get: description: RotoBaller's Premium News feed, with the latest updated stories in greater detail. operationId: mlb_v3_news_rotoballer_premium_news summary: Premium News parameters: - name: format in: path description: Desired response format. Valid entries are JSON or XML. required: true schema: type: string enum: - JSON - XML default: JSON responses: '200': description: Success content: application/json: schema: type: array items: $ref: '#/components/schemas/News' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/Unauthorized' tags: - MLB v3 RotoBaller Premium News /v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNewsByDate/{date}: get: description: RotoBaller's Premium News feed, with the latest updated stories in greater detail called by date. operationId: mlb_v3_news_rotoballer_premium_news___by_date summary: Premium News - by Date parameters: - name: format in: path description: Desired response format. Valid entries are JSON or XML. required: true schema: type: string enum: - JSON - XML default: JSON - name: date in: path description: 'The date of the news.
Examples: 2017-JUL-31, 2017-SEP-01.' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: array items: $ref: '#/components/schemas/News' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/Unauthorized' tags: - MLB v3 RotoBaller Premium News components: schemas: Unauthorized: properties: HttpStatusCode: type: integer Code: type: integer Description: type: string Help: type: string News: properties: NewsID: type: integer description: The unique ID assigned to this news story Source: type: - string - 'null' description: The source of the story (RotoBaller, NBCSports.com, etc.) Updated: type: - string - 'null' description: The timestamp of when this news story was published TimeAgo: type: - string - 'null' description: A description of how long ago this content was published Title: type: - string - 'null' description: The brief title of the news story (typically less than 100 characters) Content: type: - string - 'null' description: The entirety of the content of the news story Url: type: - string - 'null' description: The website URL of the full news story TermsOfUse: type: - string - 'null' description: The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use Author: type: - string - 'null' description: The author of the content Categories: type: - string - 'null' description: 'Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook' PlayerID: type: - integer - 'null' description: 'The player''s unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their MLB career' TeamID: type: - integer - 'null' description: The team's unique TeamID as assigned by SportsDataIO Team: type: - string - 'null' description: The abbreviation [Key] of the team that relates to this story PlayerID2: type: - integer - 'null' description: The PlayerID of the player who relates to this story TeamID2: type: - integer - 'null' description: The TeamID of the second team that relates to this story Team2: type: - string - 'null' description: The abbreviation [Key] of the second team that relates to this story OriginalSource: type: - string - 'null' description: The original source who broke this news (before it was picked up by the publisher of this story) OriginalSourceUrl: type: - string - 'null' description: The URL of the original source who broke this news story securitySchemes: apiKeyHeader: type: apiKey name: Ocp-Apim-Subscription-Key in: header apiKeyQuery: type: apiKey name: key in: query