@@ -29,19 +29,19 @@ app.all('*', function (req, res, next) {
2929
3030app . use ( bodyParser . json ( ) )
3131
32- app . get ( '/x-nmos/node/v1.0 /self' , function ( req , res ) {
32+ app . get ( '/x-nmos/node/v1.2 /self' , function ( req , res ) {
3333 res . json ( {
3434 'version' : '1481114285:857636340' ,
3535 'hostname' : 'ipstudio-master' ,
3636 'caps' : { } ,
3737 'href' : 'http://localhost:12345/' ,
3838 'services' : [
3939 {
40- 'href' : 'http://localhost:12345/x-nmos/node/v1.0 /self/status/' ,
40+ 'href' : 'http://localhost:12345/x-nmos/node/v1.2 /self/status/' ,
4141 'type' : 'urn:x-ipstudio:service:status'
4242 } ,
4343 {
44- 'href' : 'http://localhost:12345/x-nmos/node/v1.0 /self/mdnsbridge/' ,
44+ 'href' : 'http://localhost:12345/x-nmos/node/v1.2 /self/mdnsbridge/' ,
4545 'type' : 'urn:x-ipstudio:service:mdnsbridge'
4646 }
4747 ] ,
@@ -50,7 +50,7 @@ app.get('/x-nmos/node/v1.0/self', function (req, res) {
5050 } )
5151} )
5252
53- app . get ( '/x-nmos/node/v1.0 /self/mdnsbridge/nmos-query' , function ( req , res ) {
53+ app . get ( '/x-nmos/node/v1.2 /self/mdnsbridge/nmos-query' , function ( req , res ) {
5454 res . json ( {
5555 'representation' : [
5656 {
@@ -80,7 +80,7 @@ app.get('/x-nmos/node/v1.0/self/mdnsbridge/nmos-query', function (req, res) {
8080} )
8181
8282app . get ( '/' , function ( req , res ) {
83- res . send ( 'You did this wrong, go to x-nmos/node/v1.0 /self' )
83+ res . send ( 'You did this wrong, go to x-nmos/node/v1.2 /self' )
8484} )
8585
8686app . listen ( 12345 , ( ) => {
0 commit comments