github-tools / github-tools/github

Can't provide headers for preview features

Ouverte
#489 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
3.8k
Forks
809
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

From the [collaborators API doc](https://developer.github.com/v3/repos/collaborators/#list-collaborators):

> Note: The Nested Teams API is currently available for developers to preview. See the blog post for full details. To access the API, you must provide a custom media type in the Accept header:
>
> application/vnd.github.hellcat-preview+json

I don't see a way to add a header like this in the current API of this library.

Guide de contribution

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

Piste de recherche

Start with the collaborators API documentation linked in the issue, then locate the library's collaborators entry point and inspect how request options or headers are currently handled. Done means callers can provide the custom Accept media type required for preview APIs, with behavior covered by the project's existing tests if available.

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

Évaluation

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

Recevez les nouvelles issues par e-mail

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