Closed variableresistor closed 1 year ago
@microsoft-github-policy-service agree company="City National Bank"
@variableresistor please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:
- (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
- (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
Contributor License Agreement
@microsoft-github-policy-service agree company="City National Bank"
/azp run PowerShellForGitHub-CI
Description
GitHub is introducing versioned API's. In order to get the expected behavior of an API, you need to invoke the API with its version in the request header. This change updates the core functions (
Invoke-GHRestMethod
andInvoke-GHRestMethodMultipleResult
) to accept an ApiVersion as part of their param sets so that as the module continues to add new functionality, methods can request the appropriate API Version for their individual calls.Features Added
Fixes #377
References
To infinity and beyond: enabling the future of GitHub’s REST API with API versioning API Versions
Checklist
- [ ] Formatters were created for any new types being added.