feat: Add support for remaining Codespaces APIs by Not-Dhananjay-Mishra · Pull Request #3886 · google/go-github
Relates: #2362
This PR adds support for remaining endpoint of Codespaces
- GET /repos/{owner}/{repo}/codespaces/devcontainers
- GET /repos/{owner}/{repo}/codespaces/new
- GET /repos/{owner}/{repo}/codespaces/permissions_check
- POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces
- POST /user/codespaces
- GET /user/codespaces/{codespace_name}
- PATCH /user/codespaces/{codespace_name}
- POST /user/codespaces/{codespace_name}/exports
- GET /user/codespaces/{codespace_name}/exports/{export_id}
- POST /user/codespaces/{codespace_name}/publish
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.54%. Comparing base (8ca48dd) to head (1b244af).
⚠️ Report is 6 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@ ## master #3886 +/- ## ========================================== + Coverage 92.48% 92.54% +0.05% ========================================== Files 200 200 Lines 14564 14679 +115 ========================================== + Hits 13469 13584 +115 Misses 895 895 Partials 200 200
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gmlewis, Thanks for the suggestions! Fixed 👍
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some suggestions. Feel free to ask questions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters