github-tools / github-tools/github
Add support for multiple media types
- 主要语言
- JavaScript
- 星标
- 3.8k
- 派生
- 809
- PR 合并指标
- 30 天内没有已合并 PR
描述
repo.read() function should have option for choosing the format of the receiving data. (base64)
For example, if requested target is image file and if you are going to show it on browser then it could be much easier to download content as base64 image so the image url could be easily generated when there is no need to convert it to base64 anymore..
and for receiving / sending commits, pulls, etc.. it would be nice to have an option for choosing diff / patch media type.
https://developer.github.com/v3/media/
https://developer.github.com/changes/2012-12-10-Diff-and-patch-media-types/
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start at the repo.read() entry point and trace how requests for images, commits, and pulls choose their response media types. Read the linked GitHub media-type documentation first, then define how callers select base64, diff, or patch responses and verify each requested format is returned.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, javascript
- 领域
- api
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100