Add providers to the GTFS feed response
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by locating the GET /v1/gtfs_feeds/{id} response schema and the code that assembles a feed from its latest dataset. Trace how published agency and publisher records are linked, and check the endpoint’s existing tests. Done means the response includes the specified feed_providers array, including an empty array when none are published, while existing fields remain unchanged.
索引モデルが issue の本文から書いたものです。
説明
Describe the problem
Agencies and publishers linked to a feed (from its latest dataset's agency.txt and feed_info.txt) are not exposed. API consumers only get the free-text provider field, which does not tell them who operates or publishes a feed, or how to contact them.
Proposed solution
- Add an optional
feed_providersarray to theGET /v1/gtfs_feeds/{id}response. - Each item returns the provider's
id,name,role(agencyorpublisher), name aliases and contacts (website, email, phone). - Only providers with
status=publishedare returned. - Additive only: the existing
providerfield is unchanged. Its description clarifies that it is the curated display name, whilefeed_providerslists the linked provider records. - Wording: no "canonical" in fields or descriptions.
Acceptance criteria:
- A feed with no published providers returns an empty
feed_providersarray. - Existing response fields are unchanged.
Alternatives you've considered
- A separate
/v1/gtfs_feeds/{id}/feed_providersendpoint: rejected, providers belong to the feed resource. - Exposing raw
agency.txt/feed_info.txtper dataset: out of scope, dataset-level data is not public for now.
Additional context
- 主要言語
- Python
- スター
- 34
- フォーク
- 7
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MobilityData/mobility-feed-api のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MobilityData/mobility-feed-api#1927 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
MobilityData/mobility-feed-api#1846 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
MobilityData/mobility-feed-api#1755 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MobilityData/mobility-feed-api#1647 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MobilityData/mobility-feed-api#836 ·
メンテナーはふだん 2 日以内に返信
MobilityData/mobility-feed-api の issue をすべて見る
似ている issue
-
backend enhancement priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
geolens-io/geolens#4161 ·
メンテナーはふだん 1 日以内に返信
-
pkg:clai2
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
pydantic/pydantic-ai#14845 ·
メンテナーはふだん 1 日以内に返信
-
Add a languageオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
LearningCircuit/local-deep-research#9272 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
patrickballard/wheelgap#783 ·