Stats Perform · Capability

Stats Perform STATS API — Editorial

Stats Perform STATS API — Editorial. 1 operations. Lead operation: List News. Self-contained Naftiko capability covering one Stats Perform business surface.

Run with Naftiko Stats PerformEditorial

What You Can Do

GET
Listnews — List News
/v1/editorial/{sport}/{leaguepath}/news

MCP Tools

list-news

List News

read-only idempotent

Capability Spec

stats-editorial.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stats Perform STATS API — Editorial
  description: 'Stats Perform STATS API — Editorial. 1 operations. Lead operation: List News. Self-contained Naftiko capability
    covering one Stats Perform business surface.'
  tags:
  - Stats Perform
  - Editorial
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STATS_PERFORM_API_KEY: STATS_PERFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: stats-editorial
    baseUri: https://api.stats.com/v1
    description: Stats Perform STATS API — Editorial business capability. Self-contained, no shared references.
    resources:
    - name: editorial-sport-leaguePath-news
      path: /editorial/{sport}/{leaguePath}/news/
      operations:
      - name: listnews
        method: GET
        description: List News
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: count
          in: query
          type: integer
          description: Number of articles to return.
    authentication:
      type: apikey
      key: api_key
      value: '{{env.STATS_PERFORM_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: stats-editorial-rest
    port: 8080
    description: REST adapter for Stats Perform STATS API — Editorial. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/editorial/{sport}/{leaguepath}/news
      name: editorial-sport-leaguepath-news
      description: REST surface for editorial-sport-leaguePath-news.
      operations:
      - method: GET
        name: listnews
        description: List News
        call: stats-editorial.listnews
        with:
          count: rest.count
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stats-editorial-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stats Perform STATS API — Editorial. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-news
      description: List News
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stats-editorial.listnews
      with:
        count: tools.count
      outputParameters:
      - type: object
        mapping: $.