API Endpoints: WSL Instance Names
GET /wsl-instance-names
Gets a listing of valid WSL image names.
Required parameters:
- None
Optional parameters:
- None
Example request:
curl -X GET -H "Authorization: Bearer $JWT" "https://landscape.canonical.com/api/v2/wsl-instance-names"
Example output:
[
{
"name": "Ubuntu",
"label": "Ubuntu"
},
{
"name": "Ubuntu-22.04",
"label": "Ubuntu 22.04"
}
]