Skip to content

feat: Add support for Codespaces organizations APIs - #3892

Merged
gmlewis merged 6 commits into
google:masterfrom
Not-Dhananjay-Mishra:codespaces-orgs
Dec 31, 2025
Merged

feat: Add support for Codespaces organizations APIs#3892
gmlewis merged 6 commits into
google:masterfrom
Not-Dhananjay-Mishra:codespaces-orgs

Conversation

@Not-Dhananjay-Mishra

Copy link
Copy Markdown
Contributor

Relates: #2362
This PR adds support for endpoint of Codespace organizations

  • GET /orgs/{org}/codespaces
  • PUT /orgs/{org}/codespaces/access
  • POST /orgs/{org}/codespaces/access/selected_users
  • DELETE /orgs/{org}/codespaces/access/selected_users
  • GET /orgs/{org}/members/{username}/codespaces
  • DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}
  • POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop

@codecov

codecovBot commented Dec 24, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.56%. Comparing base (34bb848) to head (381db67).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@## master #3892 +/- ##
==========================================
+ Coverage 92.53% 92.56% +0.03% 
==========================================
Files 201 202 +1 Lines 14702 14773 +71 ==========================================
+ Hits 13604 13675 +71 
Misses 897 897 Partials 201 201 

☔ 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 added the NeedsReview PR is awaiting a review before merging. label Dec 24, 2025

@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!
Just a few minor tweaks, please, then 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_orgs.go Outdated
Comment threadgithub/codespaces_orgs.go Outdated
Comment threadgithub/codespaces_orgs.go Outdated
@Not-Dhananjay-Mishra

Copy link
Copy Markdown
ContributorAuthor

@gmlewis Thanks for suggestions. I’ve made the changes.

Comment threadgithub/codespaces_orgs.go Outdated
@gmlewis

Copy link
Copy Markdown
Collaborator

Thank you, @alexandear!
Merging.

@gmlewis
gmlewis merged commit c06e8a9 into google:masterDec 31, 2025
8 checks passed
@gmlewisgmlewis removed the NeedsReview PR is awaiting a review before merging. label Jan 6, 2026
@Not-Dhananjay-Mishra
Not-Dhananjay-Mishra deleted the codespaces-orgs 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