Skip to main content

machines

Overview

Namemachines
TypeResource
Idgithub.codespaces.machines

Fields

NameDatatype
machinesarray
total_countinteger

Methods

NameAccessible byRequired ParamsDescription
codespace_machines_for_authenticated_userSELECTcodespace_nameList the machine types a codespace can transition to use.

You must authenticate using an access token with the codespace scope to use this endpoint.

GitHub Apps must have read access to the codespaces_metadata repository permission to use this endpoint.
repo_machines_for_authenticated_userSELECTowner, repoList the machine types available for a given repository based on its configuration.

You must authenticate using an access token with the codespace scope to use this endpoint.

GitHub Apps must have write access to the codespaces_metadata repository permission to use this endpoint.