Aligned News · Capability

Aligned News REST API — Sections

Aligned News REST API — Sections. 1 operations. Lead operation: List Sections. Self-contained Naftiko capability covering one Aligned News business surface.

Run with Naftiko Aligned NewsSections

What You Can Do

GET
Listsections — List Sections
/v1/sections

MCP Tools

list-sections

List Sections

read-only idempotent

Capability Spec

aligned-news-sections.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Aligned News REST API — Sections
  description: 'Aligned News REST API — Sections. 1 operations. Lead operation: List Sections. Self-contained Naftiko capability
    covering one Aligned News business surface.'
  tags:
  - Aligned News
  - Sections
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ALIGNED_NEWS_API_KEY: ALIGNED_NEWS_API_KEY
capability:
  consumes:
  - type: http
    namespace: aligned-news-sections
    baseUri: https://alignednews.com/v1
    description: Aligned News REST API — Sections business capability. Self-contained, no shared references.
    resources:
    - name: sections
      path: /sections
      operations:
      - name: listsections
        method: GET
        description: List Sections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ALIGNED_NEWS_API_KEY}}'
  exposes:
  - type: rest
    namespace: aligned-news-sections-rest
    port: 8080
    description: REST adapter for Aligned News REST API — Sections. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/sections
      name: sections
      description: REST surface for sections.
      operations:
      - method: GET
        name: listsections
        description: List Sections
        call: aligned-news-sections.listsections
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aligned-news-sections-mcp
    port: 9090
    transport: http
    description: MCP adapter for Aligned News REST API — Sections. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-sections
      description: List Sections
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aligned-news-sections.listsections
      outputParameters:
      - type: object
        mapping: $.