[{"id":"9210e174.ff208","type":"function","z":"fc08e23f.b5f86","name":"MAIN INPUTS","func":"// INPUTS\n\nteamspace = \"***\"; // make sure you have permissions to acces this teamspace\nmodelID = \"***\"; // make sure you have permissions to acces this model or federation\nkey = \"***\"; // generate your API key in 3drepo.io Profile section\n\n// ignore the rest\n\ntry{\n flow.set(\"teamspace\", teamspace);\n}catch(error){\n node.error(\"Missing teamspace\", msg);\n return;\n}\ntry{\n flow.set(\"modelID\", modelID);\n}catch(error){\n node.error(\"Missing modelID\", msg);\n return;\n}\ntry{\n flow.set(\"key\", key);\n}catch(error){\n node.error(\"Missing API key\", msg);\n return;\n}\n\nreturn msg;","outputs":1,"noerr":0,"x":173.82066345214844,"y":184.42135620117188,"wires":[["db845dd2.112f2","87c57006.dca5c"]]}]