Skip to content

Commit d297a7c

Browse files
committed
Less info in discovery endpoint.
1 parent c79d91d commit d297a7c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

js/info.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ const entityAPIs = (model, protocol, baseUrl, fullDescription) => {
4040
let mi = {
4141
id: model.id,
4242
title: model.title || model.label,
43-
list: pathToModel,
44-
charts,
45-
csv: pathToModel + "?format=csv",
46-
lovs,
4743
};
48-
if (!model.noStats) {
49-
mi.stats = pathToModel + "/stats";
50-
}
5144
if (fullDescription) {
45+
mi.list = pathToModel;
46+
mi.charts = charts;
47+
mi.csv = pathToModel + "?format=csv";
48+
mi.lovs = lovs;
49+
if (!model.noStats) {
50+
mi.stats = pathToModel + "/stats";
51+
}
5252
mi.crud = {
5353
create: {
5454
method: "POST",

0 commit comments

Comments
 (0)