Added basic vMix server side api

This commit is contained in:
Stefan Zermatten
2017-09-13 10:01:32 +02:00
parent 0b8fabde14
commit b7bdb141c8
3 changed files with 175 additions and 0 deletions

10
rpg-docs/Routes/API.js Normal file
View File

@@ -0,0 +1,10 @@
Router.map(function() {
this.route("vmixAPI", {
path: "/vmix-character/:_id/",
where: "server",
action: function() {
this.response.setHeader("Content-Type", "application/json");
this.response.end(vMixJson(this.params._id));
},
});
});