Outception Docs

get
/v1/news/{source_id}

Items for one source — cache-first with the ported TTL semantics. For ``reddit-*`` sources the optional ``sort`` parameter selects an alternative feed (``new``, ``top``, ``rising``). ``top`` is scoped to the past day (``?t=day``). Any other source silently ignores the parameter and returns the standard feed.

curl -X GET "https://api.outception.com/v1/news/{source_id}?latest=false&sort=hot" \
  -H "Authorization: Bearer $OUTCEPTION_TOKEN" \
  -H "Accept: application/json"

Path parameters

  • source_id

    string

    required

Query parameters

  • latest

    boolean

  • sort

    string

Response · 200

Successful Response

  • status

    enum

    required

  • id

    string

    required

  • updatedTime

    integer

    required

  • items

    array<NewsItem>

    required

    • id

      string

      required

    • title

      string

      required

    • url

      string

      required

    • mobileUrl

      string | null

    • pubDate

      integer | null

    • extra

      NewsExtra | null

Errors

  • 422

    Validation Error