diff --git a/api/test/fixtures/get_schema.json b/api/test/fixtures/get_schema.json index 06261fb9b..fd80f2510 100644 --- a/api/test/fixtures/get_schema.json +++ b/api/test/fixtures/get_schema.json @@ -84,6 +84,11 @@ "query": false, "res": true }, + "GET /config/group": { + "body": false, + "query": false, + "res": true + }, "GET /connection/:connectionid/channel": { "body": false, "query": false, @@ -199,16 +204,6 @@ "query": false, "res": true }, - "GET /connection/:connectionid/layer/:layerid/query": { - "body": false, - "query": true, - "res": true - }, - "GET /connection/:connectionid/layer/:layerid/query/:featid": { - "body": false, - "query": false, - "res": true - }, "POST /layer/redeploy": { "body": false, "query": false, @@ -221,17 +216,17 @@ }, "POST /connection/:connectionid/layer": { "body": true, - "query": false, + "query": true, "res": true }, "PATCH /connection/:connectionid/layer/:layerid": { "body": true, - "query": false, + "query": true, "res": true }, "GET /connection/:connectionid/layer/:layerid": { "body": false, - "query": false, + "query": true, "res": true }, "POST /connection/:connectionid/layer/:layerid/redeploy": { @@ -579,6 +574,16 @@ "query": true, "res": false }, + "GET /marti/cot/:uid": { + "body": false, + "query": false, + "res": true + }, + "GET /marti/cot/:uid/all": { + "body": false, + "query": true, + "res": true + }, "DELETE /marti/api/files/:hash": { "body": false, "query": true, @@ -594,6 +599,11 @@ "query": false, "res": true }, + "GET /marti/missions/:name/layer/:layerid": { + "body": false, + "query": false, + "res": true + }, "POST /marti/missions/:name/layer": { "body": true, "query": false, @@ -609,6 +619,11 @@ "query": false, "res": true }, + "GET /marti/missions/:name/log": { + "body": false, + "query": false, + "res": true + }, "POST /marti/missions/:name/log": { "body": true, "query": false, @@ -699,12 +714,12 @@ "query": false, "res": true }, - "GET /marti/package/:hash": { + "GET /marti/package/:uid": { "body": false, "query": false, "res": true }, - "DELETE /marti/package/:hash": { + "DELETE /marti/package/:uid": { "body": false, "query": false, "res": true @@ -724,6 +739,16 @@ "query": true, "res": true }, + "GET /marti/video/:uid": { + "body": false, + "query": false, + "res": true + }, + "DELETE /marti/video/:uid": { + "body": false, + "query": false, + "res": true + }, "GET /marti/group": { "body": false, "query": true, @@ -929,6 +954,11 @@ "query": true, "res": true }, + "PATCH /user/:username": { + "body": true, + "query": false, + "res": true + }, "GET /user/:username": { "body": false, "query": false, diff --git a/api/test/server.srv.test.ts b/api/test/server.srv.test.ts index 9fd7419c3..2309e8e24 100644 --- a/api/test/server.srv.test.ts +++ b/api/test/server.srv.test.ts @@ -26,6 +26,7 @@ test('GET: api/server - Admin', async (t) => { name: 'Default Server', url: '', api: '', + webtak: '', auth: false }); } catch (err) { @@ -53,6 +54,7 @@ test('GET: api/server - User', async (t) => { name: 'Default Server', url: '', api: '', + webtak: '', auth: false }); } catch (err) {