Skip to content

feat: Add support for remaining Codespaces APIs - #3886

Merged
gmlewis merged 7 commits into
google:masterfrom
Not-Dhananjay-Mishra:issue-2362-part1
Dec 19, 2025
Merged

feat: Add support for remaining Codespaces APIs#3886
gmlewis merged 7 commits into
google:masterfrom
Not-Dhananjay-Mishra:issue-2362-part1

Conversation

@Not-Dhananjay-Mishra

Copy link
Copy Markdown
Contributor

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

codecovBot commented Dec 17, 2025

Copy link
Copy Markdown

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.

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
@gmlewisgmlewis added the NeedsReview PR is awaiting a review before merging. label Dec 17, 2025
@Not-Dhananjay-Mishra

Copy link
Copy Markdown
ContributorAuthor

@gmlewis, Thanks for the suggestions! Fixed 👍

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @Not-Dhananjay-Mishra!
One minor tweak, please, then I think we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @alexandear - @zyfy29

Comment threadgithub/codespaces.go Outdated

@alexandearalexandear left a comment

Copy link
Copy Markdown
Contributor

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.

Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
Comment threadgithub/codespaces.go Outdated
@Not-Dhananjay-Mishra

Copy link
Copy Markdown
ContributorAuthor

@alexandear Thanks for suggestions! Done the changes

@gmlewisgmlewis removed the NeedsReview PR is awaiting a review before merging. label Dec 19, 2025
@gmlewis

Copy link
Copy Markdown
Collaborator

Thank you, @alexandear!
Merging.

@gmlewis
gmlewis merged commit 2c83bd6 into google:masterDec 19, 2025
8 checks passed
@Not-Dhananjay-Mishra
Not-Dhananjay-Mishra deleted the issue-2362-part1 branch February 5, 2026 15:30
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Not-Dhananjay-Mishra@gmlewis@alexandear