Skip to content

Commit dcb1dfc

Browse files
committed
add pagination args
1 parent 92b7c1a commit dcb1dfc

File tree

1 file changed

+6
-6
lines changed
  • services/static-webserver/client/source/class/osparc/data

1 file changed

+6
-6
lines changed

services/static-webserver/client/source/class/osparc/data/Resources.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -628,18 +628,18 @@ qx.Class.define("osparc.data.Resources", {
628628
"functions": {
629629
useCache: false,
630630
endpoints: {
631-
create: {
632-
method: "POST",
633-
url: statics.API + "/functions"
634-
},
635631
getOne: {
636632
method: "GET",
637633
url: statics.API + "/functions/{functionId}?include_extras=true"
638634
},
639635
getPage: {
640636
method: "GET",
641-
url: statics.API + "/functions?include_extras=true"
642-
}
637+
url: statics.API + "/functions?include_extras=true&offset={offset}&limit={limit}"
638+
},
639+
create: {
640+
method: "POST",
641+
url: statics.API + "/functions"
642+
},
643643
}
644644
},
645645
/*

0 commit comments

Comments
 (0)