central-station

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Central Station

Central Station

Search and browse Railway's Central Station - the community support platform for threads, discussions, and documentation.
搜索和浏览Railway的Central Station——用于帖子、讨论和文档的社区支持平台。

API Endpoints

API Endpoints

EndpointURL
GraphQL
https://station-server.railway.com/gql
Thread Markdown
https://station-server.railway.com/api/threads/:slug
LLM Data Export
https://station-server.railway.com/api/llms-station
Frontend
https://station.railway.com
端点URL
GraphQL
https://station-server.railway.com/gql
Thread Markdown
https://station-server.railway.com/api/threads/:slug
LLM Data Export
https://station-server.railway.com/api/llms-station
Frontend
https://station.railway.com

When to Use

适用场景

  • User wants to search Central Station threads or docs
  • User asks about community discussions or support questions
  • User wants to find threads about a specific topic (deployments, databases, etc.)
  • User asks "what are people asking about X"
  • User wants to see recent threads or questions
  • User mentions Central Station, community threads, or support discussions
  • User wants to find existing solutions before creating a new thread
  • 用户想要搜索Central Station的帖子或文档
  • 用户询问社区讨论或支持问题
  • 用户想要查找特定主题(部署、数据库等)的帖子
  • 用户询问“大家都在问关于X的什么问题”
  • 用户想要查看近期的帖子或问题
  • 用户提到Central Station、社区帖子或支持讨论
  • 用户想要在创建新帖子前找到现有解决方案

When NOT to Use

不适用场景

  • User wants Railway product documentation - use
    railway-docs
    skill
  • User wants to check their project status - use
    status
    skill
  • User wants to manage their Railway project - use appropriate skill (deploy, environment, etc.)
  • 用户想要Railway产品文档——使用
    railway-docs
    skill
  • 用户想要检查项目状态——使用
    status
    skill
  • 用户想要管理Railway项目——使用相应的skill(deploy、environment等)

Docs Search

文档搜索

For official Railway documentation, use the
railway-docs
skill which fetches from
https://docs.railway.com/api/llms-docs.md
.
Central Station's
unifiedSearch
can identify document types but has limited field access:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  --data-raw '{"query":"{ unifiedSearch(input: { query: \"volumes\", limit: 10 }) { results { document { __typename } } } }"}'
Document types returned:
EsThreadItem
(threads) and
DocSearchResult
(docs).
Note: For searching thread content, use the LLM Data Export endpoint instead (see below) which provides full thread data.
对于官方Railway文档,请使用
railway-docs
skill,它从
https://docs.railway.com/api/llms-docs.md
获取内容。
Central Station的
unifiedSearch
可以识别文档类型,但字段访问有限:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  --data-raw '{"query":"{ unifiedSearch(input: { query: \"volumes\", limit: 10 }) { results { document { __typename } } } }"}'
返回的文档类型:
EsThreadItem
(帖子)和
DocSearchResult
(文档)。
注意:若要搜索帖子内容,请改用LLM Data Export端点(见下文),它会提供完整的帖子数据。

Quick Actions

快速操作

Get Recent Threads

获取近期帖子

Fetch recent threads, optionally filtered by topic:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ threads(first: 10, sort: recent_activity) { edges { node { slug subject status topic { slug displayName } upvoteCount createdAt } } } }"}'
With topic filter:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ threads(first: 10, sort: recent_activity, topic: \"questions\") { edges { node { slug subject status topic { displayName } upvoteCount } } } }"}'
获取近期帖子,可按主题筛选:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ threads(first: 10, sort: recent_activity) { edges { node { slug subject status topic { slug displayName } upvoteCount createdAt } } } }"}'
带主题筛选:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ threads(first: 10, sort: recent_activity, topic: \"questions\") { edges { node { slug subject status topic { displayName } upvoteCount } } } }"}'

Get Thread by Slug

通过Slug获取帖子

Fetch a specific thread with its content:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ thread(slug: \"THREAD_SLUG\") { slug subject status content { data } topic { displayName } upvoteCount } }"}'
获取特定帖子及其内容:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ thread(slug: \"THREAD_SLUG\") { slug subject status content { data } topic { displayName } upvoteCount } }"}'

Get Thread as Markdown

获取Markdown格式的帖子

For a cleaner read, fetch the thread as markdown:
bash
undefined
为了更清晰的阅读体验,获取Markdown格式的帖子:
bash
undefined

Append .md to the frontend URL (requires topic slug)

在前端URL后追加.md(需要主题slug)

Or use API with format query parameter

或使用带format查询参数的API

Or use API with Accept header

或使用带Accept请求头的API

undefined
undefined

List Topics

列出所有话题

Get all available topics:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ topics { slug displayName displayNamePlural } }"}'
Returns: questions, feedback, community, billing, bug-bounty, privacy, abuse, templates
获取所有可用话题:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ topics { slug displayName displayNamePlural } }"}'
返回的话题:questions、feedback、community、billing、bug-bounty、privacy、abuse、templates

Get Trending Threads

获取热门帖子

Fetch currently trending threads:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ trendingThreads { slug subject status topic { displayName } upvoteCount } }"}'
获取当前热门的帖子:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ trendingThreads { slug subject status topic { displayName } upvoteCount } }"}'

Get Pinned Threads

获取置顶帖子

Fetch pinned/important threads:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ pinnedThreads { slug subject topic { displayName } } }"}'
获取置顶/重要帖子:
bash
curl -s 'https://station-server.railway.com/gql' \
  -H 'content-type: application/json' \
  -d '{"query": "{ pinnedThreads { slug subject topic { displayName } } }"}'

Search via LLM Data Export

通过LLM数据导出进行搜索

For searching thread content, fetch all threads and filter locally:
bash
curl -s 'https://station-server.railway.com/api/llms-station' | jq '.items[] | select(.title | test("postgres"; "i")) | {title, topic: .topic.name, status: .metadata.status}'
This endpoint returns all public threads with full content, useful for searching by keywords.
若要搜索帖子内容,请获取所有帖子并在本地筛选:
bash
curl -s 'https://station-server.railway.com/api/llms-station' | jq '.items[] | select(.title | test("postgres"; "i")) | {title, topic: .topic.name, status: .metadata.status}'
此端点返回所有带完整内容的公开帖子,适合按关键词搜索。

Thread Statuses

帖子状态

StatusDescription
OPEN
Unresolved, accepting responses
SOLVED
Marked as resolved
AWAITING_RAILWAY_RESPONSE
Waiting for Railway team
AWAITING_USER_RESPONSE
Waiting for original poster
CLOSED
No longer accepting responses
ARCHIVED
Old thread, preserved for reference
状态描述
OPEN
未解决,接受回复
SOLVED
标记为已解决
AWAITING_RAILWAY_RESPONSE
等待Railway团队回复
AWAITING_USER_RESPONSE
等待发帖人回复
CLOSED
不再接受回复
ARCHIVED
旧帖子,仅作参考保留

Sort Options

排序选项

For the
threads
query, use the
sort
parameter:
Sort ValueDescription
recent_activity
Most recently active (default)
newest
Newest first
highest_votes
Most upvoted
对于
threads
查询,使用
sort
参数:
排序值描述
recent_activity
最近活跃(默认)
newest
最新优先
highest_votes
获赞最多

Presenting Results

结果展示

When showing threads:
  1. Thread title - The subject
  2. Topic - Category (questions, feedback, etc.)
  3. Status - Open, solved, awaiting response
  4. Summary - Brief preview from content
  5. Link -
    https://station.railway.com/{topic_slug}/{thread_slug}
Format example:
Found 3 threads about "postgres":

1. "Connection timeout when connecting to Postgres"
   Topic: questions | Status: SOLVED | Upvotes: 5
   https://station.railway.com/questions/connection-timeout-postgres

2. "How to connect to Postgres from local development"
   Topic: community | Status: OPEN | Upvotes: 12
   https://station.railway.com/community/connect-postgres-local

3. "Postgres SSL certificate verification failed"
   Topic: questions | Status: AWAITING_RAILWAY_RESPONSE
   https://station.railway.com/questions/postgres-ssl-verification
展示帖子时:
  1. 帖子标题 - 主题
  2. 话题 - 分类(questions、feedback等)
  3. 状态 - 开放、已解决、等待回复
  4. 摘要 - 内容的简短预览
  5. 链接 -
    https://station.railway.com/{topic_slug}/{thread_slug}
格式示例:
找到3篇关于"postgres"的帖子:

1. "Connection timeout when connecting to Postgres"
   话题: questions | 状态: SOLVED | 获赞数: 5
   https://station.railway.com/questions/connection-timeout-postgres

2. "How to connect to Postgres from local development"
   话题: community | 状态: OPEN | 获赞数: 12
   https://station.railway.com/community/connect-postgres-local

3. "Postgres SSL certificate verification failed"
   话题: questions | 状态: AWAITING_RAILWAY_RESPONSE
   https://station.railway.com/questions/postgres-ssl-verification

Common Search Patterns

常见搜索模式

User QueryFilter/Search
"Why is my deploy failing?"topic: questions, search: "deploy"
"Can't connect to database"topic: questions, search: "database" or "postgres"
"Domain not working"topic: questions, search: "domain"
"Feature requests"topic: feedback
"What are people building?"topic: community
用户查询筛选/搜索方式
"Why is my deploy failing?"话题: questions,搜索: "deploy"
"Can't connect to database"话题: questions,搜索: "database"或"postgres"
"Domain not working"话题: questions,搜索: "domain"
"Feature requests"话题: feedback
"What are people building?"话题: community

Composability

组合使用

  • After finding a thread: Summarize the solution or link to it
  • No results found: Suggest using
    railway-docs
    skill or creating a new thread
  • Technical issue found: Use relevant skill (deploy, environment, etc.) to help fix it
  • 找到帖子后:总结解决方案或提供链接
  • 未找到结果:建议使用
    railway-docs
    skill或创建新帖子
  • 发现技术问题:使用相关skill(deploy、environment等)协助解决

Error Handling

错误处理

No Results Found

未找到结果

No threads found. Try:
- Different topic filter
- Checking Railway docs instead
- Creating a new thread at https://station.railway.com
未找到相关帖子。请尝试:
- 使用不同的话题筛选
- 查看Railway官方文档
- 在https://station.railway.com创建新帖子

Invalid Topic

无效话题

List available topics first:
bash
curl -s 'https://station-server.railway.com/gql' -H 'content-type: application/json' -d '{"query": "{ topics { slug } }"}'
先列出所有可用话题:
bash
curl -s 'https://station-server.railway.com/gql' -H 'content-type: application/json' -d '{"query": "{ topics { slug } }"}'

Thread Not Found

帖子未找到

Thread not found. It may have been deleted or marked private.
未找到该帖子。它可能已被删除或标记为私有。