Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Whats the difference between the "raw" and non "raw" versions of a tree in WebContent
Joshua Krebs
When dealing with editing "tree" entities in WebContent, what is the difference between the raw and normal versions of a tree?
regular endpoint:
/WebContent/trees/{id}/versions/newest/
raw endpoint:
/WebContent/trees/{id}/versions/newest/raw/
Find more posts tagged with
web
refinitiv-internal
Accepted answers
Joshua Krebs
When using WebContent trees there is the ability to have "derived" nodes where you don't have to define each child node under a specific node. Based on the data assigned to that top level node, its children will get "generated" when you hit the normal endpoint (/WebContent/trees/{id}/versions/newest/). If you need to view the json data that drives this child node generation, you need to hit the raw version (which returns node without the generated children.
This is especially important when you are editing trees with these nodes as you can't post updates to the non-raw version of a tree if it has one of these special nodes with derived children.
All comments
Joshua Krebs
When using WebContent trees there is the ability to have "derived" nodes where you don't have to define each child node under a specific node. Based on the data assigned to that top level node, its children will get "generated" when you hit the normal endpoint (/WebContent/trees/{id}/versions/newest/). If you need to view the json data that drives this child node generation, you need to hit the raw version (which returns node without the generated children.
This is especially important when you are editing trees with these nodes as you can't post updates to the non-raw version of a tree if it has one of these special nodes with derived children.
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act