diff --git a/api/test/fixtures/get_schema.json b/api/test/fixtures/get_schema.json index 3ea03a2c3..976a7a0e0 100644 --- a/api/test/fixtures/get_schema.json +++ b/api/test/fixtures/get_schema.json @@ -404,6 +404,71 @@ "query": true, "res": true }, + "GET /iconset": { + "body": false, + "query": true, + "res": true + }, + "POST /iconset": { + "body": true, + "query": false, + "res": true + }, + "PATCH /iconset/:iconset": { + "body": true, + "query": false, + "res": true + }, + "GET /iconset/:iconset": { + "body": false, + "query": true, + "res": true + }, + "DELETE /iconset/:iconset": { + "body": false, + "query": false, + "res": true + }, + "POST /iconset/:iconset/icon": { + "body": true, + "query": false, + "res": true + }, + "GET /icon": { + "body": false, + "query": true, + "res": true + }, + "GET /iconset/:iconset/icon/:icon": { + "body": false, + "query": false, + "res": true + }, + "PATCH /iconset/:iconset/icon/:icon": { + "body": true, + "query": false, + "res": true + }, + "DELETE /iconset/:iconset/icon/:icon": { + "body": false, + "query": false, + "res": true + }, + "GET /iconset/:iconset/icon/:icon/raw": { + "body": false, + "query": true, + "res": false + }, + "GET /icon/sprite:size?.json": { + "body": false, + "query": true, + "res": false + }, + "GET /icon/sprite:size?.png": { + "body": false, + "query": true, + "res": false + }, "POST /import": { "body": true, "query": false, @@ -544,71 +609,6 @@ "query": false, "res": true }, - "GET /iconset": { - "body": false, - "query": true, - "res": true - }, - "POST /iconset": { - "body": true, - "query": false, - "res": true - }, - "PATCH /iconset/:iconset": { - "body": true, - "query": false, - "res": true - }, - "GET /iconset/:iconset": { - "body": false, - "query": true, - "res": true - }, - "DELETE /iconset/:iconset": { - "body": false, - "query": false, - "res": true - }, - "POST /iconset/:iconset/icon": { - "body": true, - "query": false, - "res": true - }, - "GET /icon": { - "body": false, - "query": true, - "res": true - }, - "GET /iconset/:iconset/icon/:icon": { - "body": false, - "query": false, - "res": true - }, - "PATCH /iconset/:iconset/icon/:icon": { - "body": true, - "query": false, - "res": true - }, - "DELETE /iconset/:iconset/icon/:icon": { - "body": false, - "query": false, - "res": true - }, - "GET /iconset/:iconset/icon/:icon/raw": { - "body": false, - "query": true, - "res": false - }, - "GET /icon/sprite:size?.json": { - "body": false, - "query": true, - "res": false - }, - "GET /icon/sprite:size?.png": { - "body": false, - "query": true, - "res": false - }, "POST /marti/missions/:name/log": { "body": true, "query": false, @@ -704,61 +704,41 @@ "query": false, "res": true }, - "GET /marti/video": { + "GET /marti/subscription": { "body": false, "query": true, "res": true }, - "GET /marti/group": { + "GET /marti/subscription/:clientuid": { "body": false, - "query": true, + "query": false, "res": true }, - "PUT /marti/group": { - "body": true, + "GET /marti/video": { + "body": false, "query": true, "res": true }, - "GET /marti/api/contacts/all": { + "GET /marti/group": { "body": false, - "query": false, + "query": true, "res": true }, - "POST /marti/signClient": { + "PUT /marti/group": { "body": true, - "query": false, - "res": true - }, - "GET /overlay": { - "body": false, "query": true, "res": true }, - "GET /overlay/:overlay": { + "GET /marti/api/contacts/all": { "body": false, "query": false, "res": true }, - "PATCH /overlay/:overlay": { - "body": true, - "query": false, - "res": true - }, - "POST /overlay": { + "POST /marti/signClient": { "body": true, "query": false, "res": true }, - "GET /overlay/:overlay/tiles": { - "body": false, - "query": true, - "res": true - }, - "GET /overlay/:overlay/tiles/:z/:x/:y": { - "body": false, - "query": true, - "res": false - }, "GET /profile/asset": { "body": false, "query": false, @@ -849,34 +829,34 @@ "query": false, "res": true }, - "GET /server": { + "GET /search/reverse/:longitude/:latitude": { "body": false, "query": false, "res": true }, - "PATCH /server": { - "body": true, - "query": false, + "GET /search/forward": { + "body": false, + "query": true, "res": true }, - "GET /swagger": { + "GET /search/suggest": { "body": false, - "query": false, + "query": true, "res": true }, - "GET /search/reverse/:longitude/:latitude": { + "GET /server": { "body": false, "query": false, "res": true }, - "GET /search/forward": { - "body": false, - "query": true, + "PATCH /server": { + "body": true, + "query": false, "res": true }, - "GET /search/suggest": { + "GET /swagger": { "body": false, - "query": true, + "query": false, "res": true }, "GET /task": { @@ -944,7 +924,7 @@ "query": true, "res": true }, - "GET /user/:email": { + "GET /user/:username": { "body": false, "query": false, "res": true diff --git a/api/web/src/components/Configure.vue b/api/web/src/components/Configure.vue index a723d9faf..7e9f58c25 100644 --- a/api/web/src/components/Configure.vue +++ b/api/web/src/components/Configure.vue @@ -234,7 +234,7 @@ export default { this.loading = true; try { - await std('/api/server/1', { + await std('/api/server', { method: 'PATCH', body: this.body })