<
From version < 1.3 >
edited by Outhman Moustaghfir
on 2021/11/29 15:04
To version < 1.2 >
edited by Outhman Moustaghfir
on 2021/11/29 15:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -75,57 +75,7 @@
75 75  }
76 76  {{/code}}
77 77  )))|(% style="width:205px" %)
78 -|(% style="width:261px" %)/rest/datalist/{alias} [GET]|(% style="width:318px" %)get a datalist by alias.|(% style="width:405px" %)(((
79 -the {alias} must be replaced by the wanted alias.
80 -
81 -eg :
82 -
83 -/rest/datalist/city
84 -
85 -/rest/datalist/country
86 -
87 -
88 -)))|(% style="width:460px" %)(((
89 -for : /rest/datalist/city, the response will look like :
90 -
91 -{{code language="JSON"}}
92 -{
93 - "timestamp": 1638194572812,
94 - "status": "200",
95 - "data": {
96 - "datalistid": null,
97 - "alias": "city",
98 - "label": {
99 - "fr": "Ville",
100 - "en": "City"
101 - },
102 - "env": "iXPath",
103 - "global": false,
104 - "values": [
105 - {
106 - "alias": "Casablanca",
107 - "label": {
108 - "fr": "Casablanca",
109 - "en": "Casablanca"
110 - },
111 - "value": "Casablanca"
112 - },
113 - {
114 - "alias": "Fez",
115 - "label": {
116 - "fr": "Fes",
117 - "en": "Fez"
118 - },
119 - "value": "Fez"
120 - }
121 - ]
122 - }
123 -}
124 -{{/code}}
125 -
126 -
127 -
128 -)))|(% style="width:205px" %)
78 +|(% style="width:261px" %)/rest/datalist/{alias} [GET]|(% style="width:318px" %)get a datalist by alias.|(% style="width:405px" %) |(% style="width:460px" %) |(% style="width:205px" %)
129 129  |(% style="width:261px" %)/rest/datalist [POST]|(% style="width:318px" %)add a new datalist.|(% style="width:405px" %)(((
130 130  
131 131  
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian