WCIF v2 Upgrade Notice
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 49/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
- 领域
- backend
调研方向
Start by finding where the app fetches WCIF from /api/v0/competitions/{id}/wcif or /wcif/public, then read the WCIF v2.2 changelog and specification linked in the issue. Update the fetch and any handling affected by the version changes, and validate payloads with PUT /api/v0/competitions/wcif/check; the migration is done when the app works with WCIF v2.2.
由索引模型根据 Issue 内容生成。
描述
Hi from the WCA Software Team! We're checking who still uses the old WCIF v1 endpoints before we deprecate them, and this project fetches WCIF from /api/v0/competitions/{id}/wcif or /wcif/public. Both still return WCIF v1.2.
WCIF v2.2 is now available, and we plan to deprecate v1 on 2026-11-02. After that date the unversioned endpoints may stop working as expected. Also note that competitions using features v1 can't represent (such as Linked/Dual Rounds) may already return 403 on v1.
How To Migrate
- Request
/api/v0/competitions/{id}/wcif/version/2for an authenticated fetch, or/wcif/version/2with no token for public data. Pinning the major version is recommended./wcif/latestalso works, but it will move to future major versions. - Use the changelog to see which changes have been made, and update your app accordingly
- Use the check endpoint to ensure that your new payloads comply with the schema:
PUT /api/v0/competitions/wcif/check(no version number specified in the URL - it is specified by theformatVersionin your WCIF payload
Useful Links
- v2 Specification: https://github.com/thewca/wcif/blob/latest/specification.md
- Versioning Policy: https://github.com/thewca/wcif/blob/latest/versioning-policy.md
- JSON Schema (fill in desired version):
/api/v0/competitions/wcif/schema/{version}
Sign up for the developer mailing list in your profile preferences to get future updates. Let us know here if anything blocks the migration. Thanks for building for the community!
- 主要语言
- TypeScript
- 星标
- 11
- 派生
- 13
- 平均合并
- 2 小时 8 分钟
- 30 天内合并 PR
- 5
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder13/Competitor-groups 的其他 Issue
-
Render DNF and DNS instead of raw negative result sentinels可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
coder13/Competitor-groups#86 ·
-
难度 3/5 半天 新手友好度 45/100
coder13/Competitor-groups#91 ·
-
难度 3/5 1-2 天 新手友好度 76/100
coder13/Competitor-groups#85 ·
-
难度 3/5 1-2 天 新手友好度 55/100
coder13/Competitor-groups#82 ·
-
难度 3/5 1-2 天 新手友好度 65/100
coder13/Competitor-groups#72 ·
查看 coder13/Competitor-groups 的全部 Issue
相似的 Issue
-
fehler
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
Azure/azure-functions-nodejs-extensions#180 ·
维护者通常 1 天内回复
-
bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
laaielichter/Threesmith#28 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
streaming-video-technology-alliance/common-media-library#611 ·
维护者通常 1 天内回复