Changes between Version 19 and Version 20 of RestApi


Ignore:
Timestamp:
23.01.2015 15:29:49 (5 years ago)
Author:
dgf
Comment:

update child fetching param

Legend:

Unmodified
Added
Removed
Modified
  • RestApi

    v19 v20  
    2424 
    2525{{{ 
    26 GET /core/topic/<topic ID>[?fetch_composite=true/false] 
    27 }}} 
    28  
    29 The default for `fetch_composite` is `true`. 
     26GET /core/topic/<topic ID>[?include_childs=true/false] 
     27}}} 
     28 
     29The default for `include_childs` is `true`. 
    3030 
    3131==== Example 1: Getting a topic ''with'' its `composite` value ==== 
     
    5858 
    5959{{{ 
    60 curl localhost:8080/core/topic/55?fetch_composite=false | jsonpretty 
     60curl localhost:8080/core/topic/55?include_childs=false | jsonpretty 
    6161}}} 
    6262 
     
    8383 
    8484{{{ 
    85 GET /core/topic/by_type/<Type URI>[?fetch_composite=true/false] 
    86 }}} 
    87  
    88 The default for `fetch_composite` is `false`. 
     85GET /core/topic/by_type/<Type URI>[?include_childs=true/false] 
     86}}} 
     87 
     88The default for `include_childs` is `false`. 
    8989 
    9090==== Example: Getting all "Web Resource" topics ''without'' their `composites` ====