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