MS Learn Module Update Request: Developer use cases for AI with GitHub Copilot #191
Open
Description
Which of the MS Learn modules from the dropdown are you submitting an update request?
None
Additional information
- Fix a broken user experience (broken links, exercise error, etc.)
- Update incorrect information
- Add new content to the module
- Some other request
Information about the requested update
In the Developer use cases for AI with GitHub copilot
, I notice the API are not aligned with what is used in GitHub API documentation. As an example, In the module the API endpoint below was used:
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
https://api.github.com/enterprises/ENTERPRISE/team/TEAM_SLUG/GitHub Copilot/usage
The endpoint is a bit different when compared to the relevant API documentation
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/enterprises/ENTERPRISE/team/TEAM_SLUG/copilot/usage
The difference being .../GitHub Copilot/usage
and .../copilot/usage
.
Metadata
Assignees
Labels
No labels