GetEnvironmentClass
POST/gitpod.v1.RunnerConfigurationService/GetEnvironmentClass
Gets details about a specific environment class.
Use this method to:
- View class configuration
- Check resource settings
- Verify availability
Examples
-
Get class details:
Retrieves information about a specific class.
environmentClassId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
GetEnvironmentClass
curl https://app.gitpod.io/api/gitpod.v1.RunnerConfigurationService/GetEnvironmentClass \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $GITPOD_API_KEY" \
-d '{}'{
"environmentClass": {
"id": "id",
"runnerId": "runnerId",
"configuration": [
{
"key": "key",
"value": "value"
}
],
"description": "xxx",
"displayName": "xxx",
"enabled": true
}
}Returns Examples
{
"environmentClass": {
"id": "id",
"runnerId": "runnerId",
"configuration": [
{
"key": "key",
"value": "value"
}
],
"description": "xxx",
"displayName": "xxx",
"enabled": true
}
}