machines
Overview
Name | machines |
Type | Resource |
Id | github.codespaces.machines |
Fields
Name | Datatype |
---|---|
machines | array |
total_count | integer |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
codespace_machines_for_authenticated_user | SELECT | codespace_name | List 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_user | SELECT | owner, repo | List 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. |