Is there a REST API endpoint to get variables from an Environment of a Development Project?

/rest/api/latest/deploy/projectVersioning/{projectID}/variables

Only gives me variables that are related to the Build Plan (buildResultKey, PlanKey, shortKey, etc)

/rest/api/latest/deploy/environment/{environmentId}
Only tells me that there is 0 or more variables defined for that environment…