Closed araccaine closed 1 year ago
Thanks for letting us know and providing detailed information! It is indeed the intention to supply automatic conversion from old URIs to new URIs on all endpoints.
It is now fixed for endpoints [api/Domain/v*/Classifications].
Note that supporting old formats will be removed in the future (not sure when, but at least 6 months from now). Keep an eye on our forum for tech updates: https://forums.buildingsmart.org/t/bsdd-tech-updates/4889
Describe the bug
It seems that since a few days the URI format for domains has changed from
<domain_name>-<domain_version>
to<domain_name>/<domain_version>
(slash instead of hyphen). (This seems to be indicated e.g. in PR #65)The API now returns error 400 for endpoint
api/Domain/v*/Classifications
(both v2 and v3) when using the "old" format with a hyphen.To Reproduce
https://identifier.buildingsmart.org/uri/molio/cciconstruction-1.0
api/Domain/v2/Classifications
:https://api.bsdd.buildingsmart.org/api/Domain/v2/Classifications?namespaceUri=https%3A%2F%2Fidentifier.buildingsmart.org%2Furi%2Fmolio%2Fcciconstruction-1.0&useNestedClassifications=false
Expected behaviour
Other endpoints automatically convert the URI into the "new" format, e.g.
api/Classification/v4
.Example:
http://identifier.buildingsmart.org/uri/molio/cciconstruction-1.0/class/L-CB
(Evenhttp
instead ofhttps
works)https://api.bsdd.buildingsmart.org/api/Classification/v4?namespaceUri=http%3A%2F%2Fidentifier.buildingsmart.org%2Furi%2Fmolio%2Fcciconstruction-1.0%2Fclass%2FL-CB