@3dverse/api 0.6.4 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -720,16 +720,29 @@ function deleteEntity({
720
720
  url: "/assets/scenes/" + scene_id + "/entities/" + entity_id
721
721
  });
722
722
  }
723
+ function getRunningSessions({
724
+ filters
725
+ }) {
726
+ return axiosInstance({
727
+ method: "get",
728
+ url: "/sessions",
729
+ params: {
730
+ filters
731
+ }
732
+ });
733
+ }
723
734
  function createSession({
724
735
  scene_id,
725
- renderer_version
736
+ renderer_version,
737
+ is_transient = false
726
738
  }) {
727
739
  return axiosInstance({
728
740
  method: "post",
729
741
  url: "/sessions",
730
742
  data: {
731
743
  scene_id,
732
- renderer_version
744
+ renderer_version,
745
+ is_transient
733
746
  }
734
747
  });
735
748
  }
@@ -911,6 +924,7 @@ export {
911
924
  getFolderAssets,
912
925
  getFolderInfo,
913
926
  getGroup,
927
+ getRunningSessions,
914
928
  getSceneAABB,
915
929
  getSceneSessions,
916
930
  getSession,