Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.7.0
-
None
Description
There are inconsistencies with the REST API for the /catalog/* endpoints. For example, If I want to get an application with the a specific type or id, I can use either:
GET /v1/catalog/entities/{type} (returns the latest version) GET /v1/catalog/entities/{id} (returns the specific version as id = {type}:{version}) GET /v1/catalog/application/{id}/{version} GET /v1/catalog/entities/{id}:{version} GET /v1/catalog/entities/{id}/{version}
This is really confusing, especially the last 3 as the id already contains the version. These endpoints should rather take the type instead of id.