Claudius
5 years agoBoss
href field of nodes collection does not return canonical path
The href of the nodes collection is documented as "The relative href to the resource. This is the canonical path to the resource relative to the Community API root." - Unfortunately what the API v2 in 19.9 returns is of an unusable (although readable format. For example the category
https://community.acme.com/t5/Discussions/ct-p/discussions
Would return in the API call SELECT id, href, title, short_title FROM nodes WHERE node_type = 'category' just
"href" : "/nodes/category:discussions"
And as we all probably agree the following URL is not a valid community URL: https://community.acme.com/nodes/category:discussions
Khoros: Can you confirm this is a bug? Or is there any way to easily convert this href value to a valid view_href?