Skip to main content
Документация по GitHub
Version:
Free, Pro, & Team
Поиск в документации GitHub
REST API
/
Codespaces
All products
REST API
API Version:
2022-11-28 (latest)
Краткое руководство
Общие сведения
Guides
Справочник по REST API
Действия
Действие
Приложения
Выставление счетов
Ветви
Проверки
Codes of conduct
Проверка кода
Codespaces
Codespaces
Организации
Секреты организации
машины
Секреты репозитория
Секреты пользователя.
Collaborators
Фиксации
Copilot
Dependabot
Граф зависимостей
Ключи развертывания
Развернутые приложения
Эмодзи
Gist
База данных Git
Gitignore
Взаимодействия
Проблемы
Лицензии
Markdown
Meta
Метрики
Миграции
Организации
Пакеты
Страницы
Projects (classic)
Запросы данных
Ограничение скорости
Реакции
Выпуски
Репозитории
Поиск
Сканирование секретов
Рекомендации по безопасности
Teams
Пользователи
Веб-перехватчики репозитория
Rest API теперь имеет версию.
Дополнительные сведения см. в разделе
Сведения об управлении версиями API
.
REST API
/
Codespaces
Codespaces
Используйте REST API для управления GitHub Codespaces.
Codespaces
List codespaces in a repository for the authenticated user
Create a codespace in a repository
List devcontainer configurations in a repository for the authenticated user
Get default attributes for a codespace
Create a codespace from a pull request
List codespaces for the authenticated user
Create a codespace for the authenticated user
Get a codespace for the authenticated user
Update a codespace for the authenticated user
Delete a codespace for the authenticated user
Export a codespace for the authenticated user
Get details about a codespace export
Create a repository from an unpublished codespace
Start a codespace for the authenticated user
Stop a codespace for the authenticated user
Machines
List available machine types for a repository
List machine types for a codespace
Organization secrets
List organization secrets
Get an organization public key
Get an organization secret
Create or update an organization secret
Delete an organization secret
List selected repositories for an organization secret
Set selected repositories for an organization secret
Add selected repository to an organization secret
Remove selected repository from an organization secret
Organizations
List codespaces for the organization
Manage access control for organization codespaces
Add users to Codespaces billing for an organization
Remove users from Codespaces billing for an organization
List codespaces for a user in organization
Delete a codespace from the organization
Stop a codespace for an organization user
Repository secrets
List repository secrets
Get a repository public key
Get a repository secret
Create or update a repository secret
Delete a repository secret
Secrets
List secrets for the authenticated user
Get public key for the authenticated user
Get a secret for the authenticated user
Create or update a secret for the authenticated user
Delete a secret for the authenticated user
List selected repositories for a user secret
Set selected repositories for a user secret
Add a selected repository to a user secret
Remove a selected repository from a user secret