Skip to main content
GET
/
api
/
v1
/
stories
/
{public_id}
Get story details
curl --request GET \
  --url http://localhost:3000/api/v1/stories/{public_id} \
  --header 'Authorization: Bearer <token>'
{
  "story": {
    "id": "<string>",
    "title": "<string>",
    "summary": "<string>",
    "article_count": 123,
    "published_at": "2023-11-07T05:31:56Z",
    "article_ids": [
      "<string>"
    ],
    "country": "<string>",
    "topics": [
      "<string>"
    ],
    "companies": [
      {
        "id": "<string>",
        "name": "<string>",
        "ticker_symbol": "<string>"
      }
    ],
    "category": {
      "id": "<string>",
      "name": "<string>"
    },
    "content": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "primary_article_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Headers

If-None-Match
string

ETag value from a previous response. Returns 304 Not Modified if the story has not changed.

Path Parameters

public_id
string
required

Story ID (e.g. sty_abc123def).

Response

Story found

story
object