List OML4R conda environments
get
/api/r-scripts/v1/envs
Returns all the available conda environments for OML4R.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
List of OML4R conda environments
Examples
The following example gets information about conda environments saved in an object storage.
curl -i -X GET --header "Authorization: Bearer ${token}" \
--header 'Accept: application/json' \
"<oml-cloud-service-location-url>/oml/api/r-scripts/v1/envs"
Response Body
The response body in JSON format is the following:
{
"result": {
"envs": [
{
"size": "855.5 MiB",
"name": "myrenv",
"description": "Install R forecast and ggplot2
packages",
"number_of_installed_packages": 153,
"tags": {
"application": "OML4R",
"user": "OMLUSER"
}
},
{
"size": "936.4 MiB",
"name": "shinyenv",
"description": "shiny package test",
"number_of_installed_packages": 128,
"tags": {
"application": "OML4R",
"user": "OMLUSER"
}
}
]
}
}