github-tools / github-tools/github

Add support for multiple media types

Ouverte
#218 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement priority 3 (medium) PRs welcome
Langage dominant
JavaScript
Étoiles
3.8k
Forks
809
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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/

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github, javascript
Domaine
api
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.