pcgeek86 / PSGitHub

This PowerShell module contains commands to manage GitHub through its REST API.
MIT License
186 stars 37 forks source link

support for preview API #29

Closed czhang03 closed 4 years ago

czhang03 commented 7 years ago

GitHub has preview APIs like: https://developer.github.com/v3/licenses/

This api can be retrieved with the following method:

The Licenses API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header: application/vnd.github.drax-preview+json

czhang03 commented 7 years ago

maybe add a function called Invoke-GitHubPreviewApi or add a preview switch to the Invoke-GitHubApi?