Troji
8 years agoGuide
Resolve ancestor path to names
Dear Community
In my Bulk API response I get the field "node.ancestor_path" which looks for example like "/1/2/176/177/244/".
I tried to use Community API to get the nodes for the path, however, I didn't succeed.
I tried "SELECT * FROM node" and "SELECT * FROM boards" but I couldn't find any ID or field which seems to fit and resolves the path to a more meaningful name.
What do I do wrong? How can I get the names?
Troji- Its uid of boards and categories.
Could you please try below calls.
https://<communityurl>/restapi/vc/categories/uid/244
https://<communityurl>/restapi/vc/boards/uid/244
Helpful links: https://community.lithium.com/t5/Developer-Discussion/How-to-get-the-boardId-with-board-uid-in-v2-API-calls/m-p/281091#M11214