openapi: 3.1.0
info:
title: MLB MLB v3 Headshots NFL 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: NFL v3 RotoBaller Premium News
paths:
/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNews:
get:
description: RotoBaller's Premium News feed, with the latest updated stories in greater detail.
operationId: nfl_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:
- NFL v3 RotoBaller Premium News
/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNewsByDate/{date}:
get:
description: RotoBaller's Premium News feed, with the latest updated stories in greater detail called by date.
operationId: nfl_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:
- NFL v3 RotoBaller Premium News
/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNewsByTeam/{team}:
get:
description: RotoBaller's Premium News feed, with the latest updated stories in greater detail called by team.
operationId: nfl_v3_news_rotoballer_premium_news___by_team
summary: Premium News - by Team
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: team
in: path
description: 'Abbreviation of the team. Example: WAS.'
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:
- NFL 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: Unique ID of news story
Source:
type:
- string
- 'null'
description: The source of the story (RotoBaller, NBCSports.com, etc.)
Updated:
type:
- string
- 'null'
description: The date/time that the content was published (in US Eastern time)
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 (typically less than 100 characters)
Content:
type:
- string
- 'null'
description: The full body content of the story
Url:
type:
- string
- 'null'
description: The url of the full 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, NFL Draft'
PlayerID:
type:
- integer
- 'null'
description: 'The unique PlayerID as assigned by SportsDataIO of the player tied to this news story. Note: this ID will stay with the player throughout their entire career'
TeamID:
type:
- integer
- 'null'
description: The unique ID of the team that relates to this story
Team:
type:
- string
- 'null'
description: The abbreviation [Key] of the team that relates to the story
PlayerID2:
type:
- integer
- 'null'
description: 'The unique PlayerID as assigned by SportsDataIO of the second player tied to this news story. Note: this ID will stay with the player throughout their entire career'
TeamID2:
type:
- integer
- 'null'
description: The unique ID of the second team that relates to this story
Team2:
type:
- string
- 'null'
description: The abbreviation [Key] of the second team that relates to the story
OriginalSource:
type:
- string
- 'null'
description: The original source who broke this news (before it was picked up by the publisher of this blurb)
OriginalSourceUrl:
type:
- string
- 'null'
description: The URL of the original source who broke this news blurb
securitySchemes:
apiKeyHeader:
type: apiKey
name: Ocp-Apim-Subscription-Key
in: header
apiKeyQuery:
type: apiKey
name: key
in: query