diff options
author | 2025-03-13 13:33:27 +0000 | |
---|---|---|
committer | 2025-03-13 14:52:11 +0000 | |
commit | 6d5849d012c1a2fe2177d332610a1b99bd44fe40 (patch) | |
tree | 86601e1a701a438055604790d3e7015cae5bb835 /cps-ncmp-service | |
parent | 4f002a7da4001e2fc00d1ed37154112d9c13a828 (diff) |
Add attribute-axis to CPS query nodes rest API
Support attribute-axis in query nodes api for both JSON and XML:
/cps/v2/dataspaces/{dataspace}/anchors/{anchor}/nodes/query
It allows such queries as:
//books/@title
which returns a JSON response like: [{"title":"Matilda"},{"title":"Dune"}]
and an XML response like: <title>Matilda</title><title>Dune</title>
Issue-ID: CPS-2620
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iab51fbe76281740b8dbde373e11864d3509696ef
Diffstat (limited to 'cps-ncmp-service')
0 files changed, 0 insertions, 0 deletions