Skip to content

Commit 9ec863b

Browse files
authored
Add support for codespaces (#407)
Adds initial support for GitHub Codespaces. #### References Endpoints ~~excluded~~ below will be added in subsequent PRs **[Codespaces/codespaces](https://docs.github.com/en/rest/codespaces/codespaces)** - [x] [List codespaces in a repository for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#list-codespaces-in-a-repository-for-the-authenticated-user) - [x] [Create a codespace in a repository](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#create-a-codespace-in-a-repository) ~~[List devcontainer configurations in a repository for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#list-devcontainer-configurations-in-a-repository-for-the-authenticated-user)~~ ~~[Get default attributes for a codespace](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#get-default-attributes-for-a-codespace)~~ - [x] [Create a codespace from a pull request](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#create-a-codespace-from-a-pull-request) - [x] [List codespaces for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#list-codespaces-for-the-authenticated-user) - [x] [Create a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#create-a-codespace-for-the-authenticated-user) - [x] [Get a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#get-a-codespace-for-the-authenticated-user) ~~[Update a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#update-a-codespace-for-the-authenticated-user)~~ - [x] [Delete a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#delete-a-codespace-for-the-authenticated-user) ~~[Export a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#export-a-codespace-for-the-authenticated-user)~~ ~~[Get details about a codespace export](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#get-details-about-a-codespace-export)~~ ~~[Create a repository from an unpublished codespace](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#create-a-repository-from-an-unpublished-codespace)~~ - [x] [Start a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#start-a-codespace-for-the-authenticated-user) - [x] [Stop a codespace for the authenticated user](https://docs.github.com/en/rest/codespaces/codespaces?apiVersion=2022-11-28#stop-a-codespace-for-the-authenticated-user) **[Codespaces/organizations](https://docs.github.com/en/rest/codespaces/organizations)** - [x] [List codespaces for the organization](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#list-codespaces-for-the-organization) ~~[Manage access control for organization codespaces](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#manage-access-control-for-organization-codespaces)~~ ~~[Add users to Codespaces billing for an organization](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#add-users-to-codespaces-billing-for-an-organization)~~ ~~[Removes users from Codespaces billing for an organization](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#removes-users-from-codespaces-billing-for-an-organization)~~ - [x] [List codespaces for a user in organization](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#list-codespaces-for-a-user-in-organization) - [x] [Delete a codespace from the organization](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#delete-a-codespace-from-the-organization) ~~[Stop a codespace for an organization user](https://docs.github.com/en/rest/codespaces/organizations?apiVersion=2022-11-28#stop-a-codespace-for-an-organization-user)~~
1 parent 482fe23 commit 9ec863b

File tree

7 files changed

+1578
-0
lines changed

7 files changed

+1578
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ Thank you to all of our contributors, no matter how big or small the contributio
624624
- **[Simon Heather (@X-Guardian)](https://github.com/X-Guardian)**
625625
- **[Neil White (@variableresistor)](https://github.com/variableresistor)**
626626
- **[Mark Curole(@tigerfansga)](https://github.com/tigerfansga)**
627+
- **[Jason Vercellone(@vercellone)](https://github.com/vercellone)**
627628

628629
----------
629630

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Configuration>
3+
<ViewDefinitions>
4+
<!--================== GitHub.Codespace Type View =================-->
5+
<View>
6+
<Name>GitHub.Codespace</Name>
7+
<ViewSelectedBy>
8+
<TypeName>GitHub.Codespace</TypeName>
9+
</ViewSelectedBy>
10+
<TableControl>
11+
<TableRowEntries>
12+
<TableRowEntry>
13+
<TableColumnItems>
14+
<TableColumnItem>
15+
<PropertyName>id</PropertyName>
16+
</TableColumnItem>
17+
<TableColumnItem>
18+
<PropertyName>name</PropertyName>
19+
</TableColumnItem>
20+
<TableColumnItem>
21+
<PropertyName>display_name</PropertyName>
22+
</TableColumnItem>
23+
<TableColumnItem>
24+
<PropertyName>state</PropertyName>
25+
</TableColumnItem>
26+
<TableColumnItem>
27+
<PropertyName>created_at</PropertyName>
28+
</TableColumnItem>
29+
<TableColumnItem>
30+
<PropertyName>updated_at</PropertyName>
31+
</TableColumnItem>
32+
</TableColumnItems>
33+
</TableRowEntry>
34+
</TableRowEntries>
35+
</TableControl>
36+
</View>
37+
</ViewDefinitions>
38+
</Configuration>

0 commit comments

Comments
 (0)