Files
octokit.net/Octokit/Clients/ICodespacesClient.cs
Aaron Junker-Wildi 35f1784781 Adding support for creating Codespaces and getting available machine types (#2929)
Adding support for creating Codespaces
2024-07-29 13:43:50 -07:00

17 lines
643 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
public interface ICodespacesClient
{
Task<CodespacesCollection> GetAll();
Task<CodespacesCollection> GetForRepository(string owner, string repo);
Task<Codespace> Get(string codespaceName);
Task<Codespace> Start(string codespaceName);
Task<Codespace> Stop(string codespaceName);
Task<MachinesCollection> GetAvailableMachinesForRepo(string repoOwner, string repoName, string reference = null);
Task<Codespace> Create(string owner, string repo, NewCodespace newCodespace);
}
}