Here's an example of the api:
curl -X GET --user admin:changeme -k https://centos7-katello-devel.jjeffers.example.com/katello/api/environments | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 939 0 939 0 0 700 0 --:--:-- 0:00:01 --:--:-- 701
{
"total": 1,
"subtotal": 1,
"page": 1,
"per_page": 20,
"error": null,
"search": null,
"sort": {
"by": "name",
"order": "asc"
},
"results": [
{
"library": true,
"registry_name_pattern": null,
"registry_unauthenticated_pull": false,
"id": 1,
"name": "Library",
"label": "Library",
"description": null,
"organization_id": 1,
"organization": {
"name": "Default Organization",
"label": "Default_Organization",
"id": 1
},
"created_at": "2019-08-22 16:38:01 UTC",
"updated_at": "2019-08-22 16:38:01 UTC",
"prior": null,
"successor": null,
"counts": {
"content_hosts": 0,
"content_views": 3,
"packages": 32,
"puppet_modules": 0,
"module_streams": 0,
"errata": {
"security": 4,
"bugfix": 0,
"enhancement": 0,
"total": 4
},
"yum_repositories": 1,
"docker_repositories": 0,
"ostree_repositories": 0,
"products": 1
},
"permissions": {
"create_lifecycle_environments": true,
"view_lifecycle_environments": true,
"edit_lifecycle_environments": true,
"destroy_lifecycle_environments": false,
"promote_or_remove_content_views_to_environments": true
}
}
]
}
So the issue appears to work in 3.13.