{ "uuid": "0669f24c-e5fa-4c0a-aa39-7064bcf7882d", "lastMigration": 29, "name": "nextAuth API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "159ea5ba-4c38-4219-9e81-643a748c867e", "documentation": "Get all API keys.", "method": "get", "endpoint": "apikeys/", "responses": [ { "uuid": "2d84cf7e-fea6-400f-8f22-37ec8038c007", "body": "{\n \"apikeys\": [\n {\n \"apikey\": \"\",\n \"description\": \"\",\n \"role\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "List of apikeys (with role and description)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0fdd7bbf-270e-4ad8-b6cd-6d3699ec2f34", "documentation": "Create a new API key.", "method": "post", "endpoint": "apikeys/", "responses": [ { "uuid": "334a2968-6b79-45db-b291-9863af069d00", "body": "{\n \"apikey\": \"\",\n \"description\": \"\",\n \"role\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Newly created apikey (with role and description)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5e1dae63-3fa5-4afc-8715-77fb0f4e2148", "documentation": "Delete all global attributes", "method": "delete", "endpoint": "attributes/", "responses": [ { "uuid": "3eaf92ed-6a2c-4309-a2fd-e4094121d481", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c9b83ecb-2bba-46cd-950e-3493b05fa411", "documentation": "Get all global attributes", "method": "get", "endpoint": "attributes/", "responses": [ { "uuid": "dcbcd0e3-1780-4b95-b947-e43b9af6e53e", "body": "", "latency": 0, "statusCode": 200, "label": "Array of attributes", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "50d91b5a-1091-4f00-bb70-fc7c7d6e771b", "documentation": "Set all global attributes", "method": "post", "endpoint": "attributes/", "responses": [ { "uuid": "c2403caa-e0c7-47ca-971f-bfa55405854e", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0cc75176-dcd3-4f53-a7a1-4aba1e2fa11a", "documentation": "Update specified global attributes", "method": "put", "endpoint": "attributes/", "responses": [ { "uuid": "a91ab3de-cec1-439c-ab67-a86eea89b40b", "body": "", "latency": 0, "statusCode": 200, "label": "On successful update", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b1c0526b-366a-4f33-9a03-d8bdc2eb6a23", "documentation": "Delete specific global attribute", "method": "delete", "endpoint": "attributes/:attributekey", "responses": [ { "uuid": "06ae122d-42ac-4b61-9d85-2050a3462711", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e33f9634-86ff-4277-8035-d4dac3f506c2", "documentation": "List all your servers", "method": "get", "endpoint": "servers/", "responses": [ { "uuid": "9b56c474-75ac-4983-b89b-812edb002247", "body": "{\n \"servers\": [\n {\n \"accountCount\": {{faker 'number.int' max=99999}},\n \"appandroid\": \"\",\n \"appios\": \"\",\n \"appname\": \"\",\n \"appurl\": \"\",\n \"lastLogin\": {{faker 'number.int' max=99999}},\n \"logo\": \"\",\n \"owner\": {{faker 'number.int' max=99999}},\n \"pinTimeout\": {{faker 'number.int' max=99999}},\n \"pinTransTimeout\": {{faker 'number.int' max=99999}},\n \"pingTime\": {{faker 'number.int' max=99999}},\n \"serverFlags\": [\n \"\"\n ],\n \"serverName\": \"\",\n \"serverid\": \"\",\n \"serverpk\": \"\",\n \"siteurl\": \"\",\n \"wsurl\": \"\"\n }\n ],\n \"totalnumber\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "List of servers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a8f5107-2a6c-44b2-862e-d9a802ea3726", "documentation": "Create a new server", "method": "post", "endpoint": "servers/", "responses": [ { "uuid": "4b27256a-b4a0-4a7a-bed8-a49525f89a43", "body": "", "latency": 0, "statusCode": 200, "label": "Server config for newly created server", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9a913284-6d18-48d4-9fe9-dd56c58c815a", "documentation": "Configuration of a specific server", "method": "get", "endpoint": "servers/:serverid/", "responses": [ { "uuid": "f6ee596d-15e0-4a47-be54-2db1e899a72d", "body": "{\n \"accountCount\": {{faker 'number.int' max=99999}},\n \"appandroid\": \"\",\n \"appios\": \"\",\n \"appname\": \"\",\n \"appurl\": \"\",\n \"lastLogin\": {{faker 'number.int' max=99999}},\n \"logo\": \"\",\n \"owner\": {{faker 'number.int' max=99999}},\n \"pinTimeout\": {{faker 'number.int' max=99999}},\n \"pinTransTimeout\": {{faker 'number.int' max=99999}},\n \"pingTime\": {{faker 'number.int' max=99999}},\n \"serverFlags\": [\n \"\"\n ],\n \"serverName\": \"\",\n \"serverid\": \"\",\n \"serverpk\": \"\",\n \"siteurl\": \"\",\n \"wsurl\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Server config", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "59e7380a-0d96-4792-bca5-a2ac09a54e8f", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a038884-c61f-4e0d-9763-feebb1bcc9bc", "documentation": "Update configuration of a specific server", "method": "put", "endpoint": "servers/:serverid/", "responses": [ { "uuid": "7e7d49bc-8e25-4adc-8151-0f4f8a47e233", "body": "{\n \"accountCount\": {{faker 'number.int' max=99999}},\n \"appandroid\": \"\",\n \"appios\": \"\",\n \"appname\": \"\",\n \"appurl\": \"\",\n \"lastLogin\": {{faker 'number.int' max=99999}},\n \"logo\": \"\",\n \"owner\": {{faker 'number.int' max=99999}},\n \"pinTimeout\": {{faker 'number.int' max=99999}},\n \"pinTransTimeout\": {{faker 'number.int' max=99999}},\n \"pingTime\": {{faker 'number.int' max=99999}},\n \"serverFlags\": [\n \"\"\n ],\n \"serverName\": \"\",\n \"serverid\": \"\",\n \"serverpk\": \"\",\n \"siteurl\": \"\",\n \"wsurl\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Server config", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fa2cbd97-d234-4f6a-9abb-8905919cc8fb", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5579216b-ee4d-48d1-aa5d-b5a4cee0e26a", "documentation": "Get all accounts", "method": "get", "endpoint": "servers/:serverid/accounts/", "responses": [ { "uuid": "4ec73217-40df-4f5e-a74c-47ddd94f0210", "body": "{\n \"accounts\": [\n {\n \"blocked\": {{faker 'datatype.boolean'}},\n \"clientVersion\": \"\",\n \"created\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"lastlogin\": {{faker 'number.int' max=99999}},\n \"lastprovoke\": {{faker 'number.int' max=99999}},\n \"userid\": \"\"\n }\n ],\n \"totalnumber\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Array of accounts", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bda5bdc2-55f6-40b7-bcdf-28d252a6ebcc", "documentation": "Delete specific account", "method": "delete", "endpoint": "servers/:serverid/accounts/:accountid/", "responses": [ { "uuid": "1101ad31-12b3-4833-bc87-974209114823", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9ff92b89-87c1-43b9-9843-0655554bbdb2", "body": "", "latency": 0, "statusCode": 404, "label": "Account not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66bc4180-fd02-4c21-a006-fab666922e56", "documentation": "Get specific account", "method": "get", "endpoint": "servers/:serverid/accounts/:accountid/", "responses": [ { "uuid": "2bd41966-b548-432c-9986-85834fa4dc7b", "body": "{\n \"blocked\": {{faker 'datatype.boolean'}},\n \"clientVersion\": \"\",\n \"created\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"lastlogin\": {{faker 'number.int' max=99999}},\n \"lastprovoke\": {{faker 'number.int' max=99999}},\n \"userid\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Account", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "21ed0dca-4627-4c4b-adc4-2d274f9b5cad", "body": "", "latency": 0, "statusCode": 404, "label": "Account not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "275b4726-538f-4f53-9f0f-27c1e6a5f606", "documentation": "Update specific account", "method": "put", "endpoint": "servers/:serverid/accounts/:accountid/", "responses": [ { "uuid": "f74ea7cc-b14f-4894-b6bd-a9f867d73b42", "body": "{\n \"blocked\": {{faker 'datatype.boolean'}},\n \"clientVersion\": \"\",\n \"created\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"lastlogin\": {{faker 'number.int' max=99999}},\n \"lastprovoke\": {{faker 'number.int' max=99999}},\n \"userid\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Account after update", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ba637777-97bf-4316-bb91-1d49fd2f7c36", "body": "", "latency": 0, "statusCode": 404, "label": "Account not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fb67cd74-b83f-4f26-b96a-3bebbad3406f", "documentation": "Push a login confirmation to the user's app", "method": "post", "endpoint": "servers/:serverid/accounts/:accountid/provokelogin", "responses": [ { "uuid": "d7fabf37-ca9f-4c8c-83c4-6459cf8a28a8", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3183610f-ead9-40a1-90a6-c192a836ca7c", "documentation": "Update user of the given account.", "method": "put", "endpoint": "servers/:serverid/accounts/:accountid/user", "responses": [ { "uuid": "2b6d746e-2b07-4e90-9f2a-9f79474ad071", "body": "{\n \"blocked\": {{faker 'datatype.boolean'}},\n \"clientVersion\": \"\",\n \"created\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"lastlogin\": {{faker 'number.int' max=99999}},\n \"lastprovoke\": {{faker 'number.int' max=99999}},\n \"userid\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Account after update", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "58212d9b-76c4-40a2-a782-468edb2c1452", "body": "", "latency": 0, "statusCode": 403, "label": "Invalid user name", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "13bc1350-ab82-4355-9dc2-ed6f37cec487", "body": "", "latency": 0, "statusCode": 404, "label": "Account not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1678a709-9ef1-46de-84cf-d266d72d88d9", "documentation": "Delete all attributes of a specific server", "method": "delete", "endpoint": "servers/:serverid/attributes/", "responses": [ { "uuid": "0f588da0-a917-4c44-b8d5-025d44ffea05", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cd0fae60-b27a-4867-80ff-205bb66c81a2", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5bc9518f-0a3d-4e39-ae3c-c309f62553ad", "documentation": "Get all attributes of a specific server", "method": "get", "endpoint": "servers/:serverid/attributes/", "responses": [ { "uuid": "a5e64f9c-3f90-437f-b133-7fd993fc3d77", "body": "", "latency": 0, "statusCode": 200, "label": "Array of attributes", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d74e9b4a-934b-4d99-a624-887f13cedbe0", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d03aa17b-81ee-4d03-999c-54cc6c7ca893", "documentation": "Set all attributes of a specific server", "method": "post", "endpoint": "servers/:serverid/attributes/", "responses": [ { "uuid": "3d77238e-086c-4eee-bafd-d2f0b5e9b519", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8f13103c-afd0-40ab-bad1-714235a88e16", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b1237d29-545e-4b5a-84d4-d65c42e5cbdc", "documentation": "Update specified attributes of a specific server", "method": "put", "endpoint": "servers/:serverid/attributes/", "responses": [ { "uuid": "c2eabb8c-6458-44f8-af78-fda832693289", "body": "", "latency": 0, "statusCode": 200, "label": "On successful update", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ff61fae0-1571-4c23-87a8-3d828ad0a6d6", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "05ae3feb-6cb0-46dd-902e-7715de9d81c6", "documentation": "Delete specific attribute of a specific server", "method": "delete", "endpoint": "servers/:serverid/attributes/:attributekey", "responses": [ { "uuid": "69b8742b-455b-43b2-90e9-c6acf9b4412e", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7f38844e-ff19-4a14-bbab-d8ede28ca8a4", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6f2692ed-ad4b-4894-917a-081b98206b34", "documentation": "Get all permissions for the specified server.", "method": "get", "endpoint": "servers/:serverid/permissions/", "responses": [ { "uuid": "12c6cae0-70f1-4c97-8c0a-91e2ebf7fbcc", "body": "{\n \"permissions\": [\n {\n \"acl\": \"\",\n \"role\": \"\",\n \"server\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "List of roles and permissions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "82c833c6-4369-44a4-9e16-67c2302a4b6d", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9b97e083-3728-40df-9812-b1e687f7a7c3", "documentation": "Revoke all permissions for the specified server and role.", "method": "delete", "endpoint": "servers/:serverid/permissions/:roleid", "responses": [ { "uuid": "3c415cf9-434c-4420-b8a4-2eda652728be", "body": "", "latency": 0, "statusCode": 200, "label": "ok", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5162f86a-cd29-4757-b16e-9f8d8d47710e", "body": "", "latency": 0, "statusCode": 404, "label": "Server or role not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd37c85e-b7c8-41cd-8b02-78d088d9e08b", "documentation": "Get all permissions for the specified server and role.", "method": "get", "endpoint": "servers/:serverid/permissions/:roleid", "responses": [ { "uuid": "0e59e07f-25af-4dfd-9e9c-3f857e87e974", "body": "{\n \"permissions\": [\n {\n \"acl\": \"\",\n \"role\": \"\",\n \"server\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "List of roles and permissions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eeebbe61-67c6-47e3-b8fc-b99687392785", "body": "", "latency": 0, "statusCode": 404, "label": "Server or role not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b2efa72a-eb94-457f-a374-a682caef975f", "documentation": "Set new permissions for the specified role on a server", "method": "post", "endpoint": "servers/:serverid/permissions/:roleid", "responses": [ { "uuid": "e833a7a6-c9e7-43d7-965c-532457242924", "body": "", "latency": 0, "statusCode": 200, "label": "ok", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e44e9360-85be-4cec-a1bb-cda544819f50", "body": "", "latency": 0, "statusCode": 404, "label": "Server or role not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2f60f54e-2f2f-4aaa-9316-af40ff31dde0", "documentation": "Delete all privileged attributes of a specific server", "method": "delete", "endpoint": "servers/:serverid/privilegedattributes/", "responses": [ { "uuid": "47b1d883-7638-4aed-9ddd-85cce95af3e4", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "85c08695-7f0a-43c1-a93b-74d5ae47b768", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "19c78123-8e97-4bd0-bd3c-06e71d06c2cf", "documentation": "Get all privileged attributes of a specific server", "method": "get", "endpoint": "servers/:serverid/privilegedattributes/", "responses": [ { "uuid": "6eb59137-15db-4f57-ae51-07beb265b2af", "body": "", "latency": 0, "statusCode": 200, "label": "Array of attributes", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "01c93993-eecc-4afa-960f-ee622e58e9a6", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9c9bfd2f-1dc9-40bc-ad52-7ff25af9b43b", "documentation": "Set all privileged attributes of a specific server", "method": "post", "endpoint": "servers/:serverid/privilegedattributes/", "responses": [ { "uuid": "9c847de1-0c4c-41f4-b9aa-b836de26c726", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a0772069-4e84-4ec1-8e6d-02c78b7a23eb", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "005bebf1-e406-454c-b15c-44201c6839bd", "documentation": "Update privileged specified attributes of a specific server", "method": "put", "endpoint": "servers/:serverid/privilegedattributes/", "responses": [ { "uuid": "af484a2f-9d5e-42cb-a81c-6c3abd8836cf", "body": "", "latency": 0, "statusCode": 200, "label": "On successful update", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "95b4ade4-3603-4dbe-80e1-573ec161afa2", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6269223a-894a-4219-8585-75090b0b1c9e", "documentation": "Delete specific privileged attribute of a specific server", "method": "delete", "endpoint": "servers/:serverid/privilegedattributes/:attributekey", "responses": [ { "uuid": "d07a4db1-e84c-4111-86a5-58da89e531ac", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d2faedab-089b-46b4-8d58-828f0b7f498f", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3d234e27-85a5-4be3-9707-254571c9780a", "documentation": "Check if the user is logged in", "method": "get", "endpoint": "servers/:serverid/sessions/", "responses": [ { "uuid": "66df3c86-bb4e-4097-9e24-bcf59ab30162", "body": "{\n \"accountid\": {{faker 'number.int' max=99999}},\n \"canprovoke\": {{faker 'datatype.boolean'}},\n \"hsid\": \"\",\n \"loggedin\": {{faker 'datatype.boolean'}},\n \"loginqrdata\": \"\",\n \"pk\": \"\",\n \"userid\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Current login status.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3e586862-f2a9-4a71-9427-607565276143", "documentation": "Generate HTML to enrol a new user", "method": "get", "endpoint": "servers/:serverid/sessions/html/enrol", "responses": [ { "uuid": "9a69dd7b-26e5-4976-a97f-2e2991ff29f8", "body": "", "latency": 0, "statusCode": 200, "label": "Generated HTML.", "headers": [{ "key": "Content-Type", "value": "text/html" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "67384054-e3f7-4615-9d23-5c6c996a0d98", "documentation": "Generic HTML to add to footer. Required for login/logout/enrol functionality.", "method": "get", "endpoint": "servers/:serverid/sessions/html/footer", "responses": [ { "uuid": "2d8d262b-8f8c-4772-8e48-448024860637", "body": "", "latency": 0, "statusCode": 200, "label": "Generated HTML.", "headers": [{ "key": "Content-Type", "value": "text/html" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d424c2ea-6631-42f2-b29a-8ae2259d4c8e", "documentation": "Generate HTML for the login block", "method": "get", "endpoint": "servers/:serverid/sessions/html/login", "responses": [ { "uuid": "661a85d9-c00c-47b4-856c-5d174344ccb9", "body": "", "latency": 0, "statusCode": 200, "label": "Generated HTML.", "headers": [{ "key": "Content-Type", "value": "text/html" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9372f20-456f-42f9-b85f-a14e11187e6b", "documentation": "Force a logout on the given session", "method": "post", "endpoint": "servers/:serverid/sessions/logout", "responses": [ { "uuid": "d66d6970-e66d-4e91-a552-7cb2e33f500a", "body": "", "latency": 0, "statusCode": 200, "label": "ok", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cde6faf0-4bf7-4992-839a-dd8d55fe1400", "documentation": "Push a login confirmation to the user's app", "method": "post", "endpoint": "servers/:serverid/sessions/provokelogin", "responses": [ { "uuid": "e1120b1e-e660-4fad-aeb5-eeb3f92626fe", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "433f1c54-ac33-42c0-a154-f5ac600b9943", "documentation": "Generate data for an enrol qr code", "method": "get", "endpoint": "servers/:serverid/sessions/qr/enrol", "responses": [ { "uuid": "7317afa3-d951-43ac-b028-e2598f6a2800", "body": "", "latency": 0, "statusCode": 200, "label": "Raw byte array containing the enrol qr code data (either raw or as a PNG image).", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9959d152-5a64-4ffd-a7f3-c345ec1051e6", "documentation": "Generate data for a login qr code", "method": "get", "endpoint": "servers/:serverid/sessions/qr/login", "responses": [ { "uuid": "aaacf48d-da74-40e3-838a-8df36a0c1c89", "body": "", "latency": 0, "statusCode": 200, "label": "Raw byte array containing the login qr code data (either raw or as a PNG image).", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c8d88bfe-08d0-4328-92b7-376201f076a4", "documentation": "Register a userid for the currently logged in account.", "method": "post", "endpoint": "servers/:serverid/sessions/registeruser", "responses": [ { "uuid": "51eb326a-a852-4286-8b0b-fd5aabaf0ee8", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d27969e6-6815-45b1-955e-0ca848383c4a", "documentation": "Create a transaction to be approved within the current session.", "method": "post", "endpoint": "servers/:serverid/sessions/transactions", "responses": [ { "uuid": "43eaf2bf-638c-4e24-8d82-c28e6a0dba62", "body": "{\n \"tid\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "ok", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "117d8d99-15be-451f-a596-cea166976895", "body": "", "latency": 0, "statusCode": 403, "label": "no account associated with this session", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e6bdddec-d266-4044-8a38-5e3e22965996", "documentation": "Get transaction result for a given transaction.", "method": "get", "endpoint": "servers/:serverid/transactions/:transactionid", "responses": [ { "uuid": "95ad17c4-90fc-4b7b-a76e-2a57712f30ff", "body": "{\n \"tstatus\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "ok", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0cf44b48-49ef-49b5-863f-bf11eb4c0599", "body": "", "latency": 0, "statusCode": 404, "label": "no transaction with given id found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d85c47a9-7747-4606-a007-bd6adaecb297", "documentation": "Get all users", "method": "get", "endpoint": "servers/:serverid/users/", "responses": [ { "uuid": "0f7432bc-cde0-4826-bdbe-a51cd5185f2b", "body": "{\n \"totalnumber\": {{faker 'number.int' max=99999}},\n \"users\": [\n {\n \"lastlogin\": {{faker 'number.int' max=99999}},\n \"numberaccounts\": {{faker 'number.int' max=99999}},\n \"userid\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Array of users", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "12d9a42d-ffe7-403b-98fd-5922998bea86", "documentation": "Delete a specific user", "method": "delete", "endpoint": "servers/:serverid/users/:userid/", "responses": [ { "uuid": "44e41f3b-d89d-43bb-bcbf-f10db84d952f", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eaaa518e-0165-4700-a0c7-435127c5cc79", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0975ab95-39c6-401f-b544-76a2db74b6b9", "documentation": "Delete all accounts of a specific user", "method": "delete", "endpoint": "servers/:serverid/users/:userid/accounts", "responses": [ { "uuid": "5a4dba0b-4ad8-4fd2-b216-f37bb65516fe", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b48048c1-2f84-48b2-9fc7-7992f0e33c00", "documentation": "Get all accounts of a specific user", "method": "get", "endpoint": "servers/:serverid/users/:userid/accounts", "responses": [ { "uuid": "0d0dfb5d-cfb4-45d2-ba65-4e4ec30991b9", "body": "{\n \"accounts\": [\n {\n \"blocked\": {{faker 'datatype.boolean'}},\n \"clientVersion\": \"\",\n \"created\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"lastlogin\": {{faker 'number.int' max=99999}},\n \"lastprovoke\": {{faker 'number.int' max=99999}},\n \"userid\": \"\"\n }\n ],\n \"totalnumber\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Array of accounts", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c9427035-3484-4301-a6c8-a588621166cf", "documentation": "Delete all attributes of a specific user", "method": "delete", "endpoint": "servers/:serverid/users/:userid/attributes/", "responses": [ { "uuid": "ec33fc1c-6792-4e3f-a09b-4852b1f6b4fe", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c599d32a-e047-41e6-8765-e413c93dfe1b", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "53cd6cc1-75b0-4167-be39-e900c087a335", "documentation": "Get all attributes of a specific user", "method": "get", "endpoint": "servers/:serverid/users/:userid/attributes/", "responses": [ { "uuid": "3e7e8d1e-e2e5-41df-8417-9a8bc9d0ab9d", "body": "", "latency": 0, "statusCode": 200, "label": "Array of attributes", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2cae2ba5-9db2-4519-84a0-c5965240828b", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d314b470-480d-478a-b6d8-145e88dbbaac", "documentation": "Set all attributes of a specific user", "method": "post", "endpoint": "servers/:serverid/users/:userid/attributes/", "responses": [ { "uuid": "ef07c274-c6d8-46f7-b196-7ce45234fae2", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "60b08093-5732-4c17-bdec-f40cee445b5d", "documentation": "Update specified attributes of a specific user", "method": "put", "endpoint": "servers/:serverid/users/:userid/attributes/", "responses": [ { "uuid": "b8212e0e-bc14-42bb-ac52-92a39dbc9b5d", "body": "", "latency": 0, "statusCode": 200, "label": "On successful update", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3c741556-fefa-42e9-9077-44a4fda91195", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2ff37890-e9b1-43cb-abb5-e848b533f154", "documentation": "Delete specific attribute of a specific user", "method": "delete", "endpoint": "servers/:serverid/users/:userid/attributes/:attributekey", "responses": [ { "uuid": "08d4ecbf-c502-4ff5-a977-610e4d89566f", "body": "", "latency": 0, "statusCode": 200, "label": "On successful delete", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "94288b59-50de-4a3d-88a4-e2264845f2cd", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fcbbd352-8804-4a78-973a-c9c9b45b04e1", "documentation": "Push a login confirmation to the user's app", "method": "post", "endpoint": "servers/:serverid/users/:userid/provokelogin", "responses": [ { "uuid": "14c946cd-4899-4535-b939-74f5c5d544a8", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "691df517-ab6b-49e8-bfe0-90633037a5ec", "documentation": "Get role for a specific user.", "method": "get", "endpoint": "servers/:serverid/users/:userid/role/", "responses": [ { "uuid": "efc97ab4-42d0-4a3b-acc3-59413369efde", "body": "{\n \"role\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "User role (base 64 encoded)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3832a6a7-96ab-43b1-abc7-bdd7810bf937", "body": "", "latency": 0, "statusCode": 404, "label": "User not found, no role found for user", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "01b33ef6-0adc-4225-8d37-57d5c77148e6", "documentation": "Get or create a role for a specific user.", "method": "post", "endpoint": "servers/:serverid/users/:userid/role/", "responses": [ { "uuid": "af0641c2-4e38-4a18-8114-ecaa1ef9baa1", "body": "{\n \"role\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "User role (base 64 encoded)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2fa6901f-e3a2-4942-99e6-7321c688ecfa", "body": "", "latency": 0, "statusCode": 404, "label": "User not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2c959520-a931-41e9-9db3-fc45021cedb0", "documentation": "Visual hash of this server", "method": "get", "endpoint": "servers/:serverid/vash", "responses": [ { "uuid": "b64573ef-29fc-48fe-8571-75f9b3c8bcb1", "body": "", "latency": 0, "statusCode": 200, "label": "Raw byte array containing the visual hash of this server as a PNG image.", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "25918504-b672-415c-87fe-d6d2c6e261ca", "body": "", "latency": 0, "statusCode": 404, "label": "Server not found", "headers": [ { "key": "Content-Type", "value": "application/octet-stream" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "159ea5ba-4c38-4219-9e81-643a748c867e" }, { "type": "route", "uuid": "0fdd7bbf-270e-4ad8-b6cd-6d3699ec2f34" }, { "type": "route", "uuid": "5e1dae63-3fa5-4afc-8715-77fb0f4e2148" }, { "type": "route", "uuid": "c9b83ecb-2bba-46cd-950e-3493b05fa411" }, { "type": "route", "uuid": "50d91b5a-1091-4f00-bb70-fc7c7d6e771b" }, { "type": "route", "uuid": "0cc75176-dcd3-4f53-a7a1-4aba1e2fa11a" }, { "type": "route", "uuid": "b1c0526b-366a-4f33-9a03-d8bdc2eb6a23" }, { "type": "route", "uuid": "e33f9634-86ff-4277-8035-d4dac3f506c2" }, { "type": "route", "uuid": "3a8f5107-2a6c-44b2-862e-d9a802ea3726" }, { "type": "route", "uuid": "9a913284-6d18-48d4-9fe9-dd56c58c815a" }, { "type": "route", "uuid": "3a038884-c61f-4e0d-9763-feebb1bcc9bc" }, { "type": "route", "uuid": "5579216b-ee4d-48d1-aa5d-b5a4cee0e26a" }, { "type": "route", "uuid": "bda5bdc2-55f6-40b7-bcdf-28d252a6ebcc" }, { "type": "route", "uuid": "66bc4180-fd02-4c21-a006-fab666922e56" }, { "type": "route", "uuid": "275b4726-538f-4f53-9f0f-27c1e6a5f606" }, { "type": "route", "uuid": "fb67cd74-b83f-4f26-b96a-3bebbad3406f" }, { "type": "route", "uuid": "3183610f-ead9-40a1-90a6-c192a836ca7c" }, { "type": "route", "uuid": "1678a709-9ef1-46de-84cf-d266d72d88d9" }, { "type": "route", "uuid": "5bc9518f-0a3d-4e39-ae3c-c309f62553ad" }, { "type": "route", "uuid": "d03aa17b-81ee-4d03-999c-54cc6c7ca893" }, { "type": "route", "uuid": "b1237d29-545e-4b5a-84d4-d65c42e5cbdc" }, { "type": "route", "uuid": "05ae3feb-6cb0-46dd-902e-7715de9d81c6" }, { "type": "route", "uuid": "6f2692ed-ad4b-4894-917a-081b98206b34" }, { "type": "route", "uuid": "9b97e083-3728-40df-9812-b1e687f7a7c3" }, { "type": "route", "uuid": "bd37c85e-b7c8-41cd-8b02-78d088d9e08b" }, { "type": "route", "uuid": "b2efa72a-eb94-457f-a374-a682caef975f" }, { "type": "route", "uuid": "2f60f54e-2f2f-4aaa-9316-af40ff31dde0" }, { "type": "route", "uuid": "19c78123-8e97-4bd0-bd3c-06e71d06c2cf" }, { "type": "route", "uuid": "9c9bfd2f-1dc9-40bc-ad52-7ff25af9b43b" }, { "type": "route", "uuid": "005bebf1-e406-454c-b15c-44201c6839bd" }, { "type": "route", "uuid": "6269223a-894a-4219-8585-75090b0b1c9e" }, { "type": "route", "uuid": "3d234e27-85a5-4be3-9707-254571c9780a" }, { "type": "route", "uuid": "3e586862-f2a9-4a71-9427-607565276143" }, { "type": "route", "uuid": "67384054-e3f7-4615-9d23-5c6c996a0d98" }, { "type": "route", "uuid": "d424c2ea-6631-42f2-b29a-8ae2259d4c8e" }, { "type": "route", "uuid": "e9372f20-456f-42f9-b85f-a14e11187e6b" }, { "type": "route", "uuid": "cde6faf0-4bf7-4992-839a-dd8d55fe1400" }, { "type": "route", "uuid": "433f1c54-ac33-42c0-a154-f5ac600b9943" }, { "type": "route", "uuid": "9959d152-5a64-4ffd-a7f3-c345ec1051e6" }, { "type": "route", "uuid": "c8d88bfe-08d0-4328-92b7-376201f076a4" }, { "type": "route", "uuid": "d27969e6-6815-45b1-955e-0ca848383c4a" }, { "type": "route", "uuid": "e6bdddec-d266-4044-8a38-5e3e22965996" }, { "type": "route", "uuid": "d85c47a9-7747-4606-a007-bd6adaecb297" }, { "type": "route", "uuid": "12d9a42d-ffe7-403b-98fd-5922998bea86" }, { "type": "route", "uuid": "0975ab95-39c6-401f-b544-76a2db74b6b9" }, { "type": "route", "uuid": "b48048c1-2f84-48b2-9fc7-7992f0e33c00" }, { "type": "route", "uuid": "c9427035-3484-4301-a6c8-a588621166cf" }, { "type": "route", "uuid": "53cd6cc1-75b0-4167-be39-e900c087a335" }, { "type": "route", "uuid": "d314b470-480d-478a-b6d8-145e88dbbaac" }, { "type": "route", "uuid": "60b08093-5732-4c17-bdec-f40cee445b5d" }, { "type": "route", "uuid": "2ff37890-e9b1-43cb-abb5-e848b533f154" }, { "type": "route", "uuid": "fcbbd352-8804-4a78-973a-c9c9b45b04e1" }, { "type": "route", "uuid": "691df517-ab6b-49e8-bfe0-90633037a5ec" }, { "type": "route", "uuid": "01b33ef6-0adc-4225-8d37-57d5c77148e6" }, { "type": "route", "uuid": "2c959520-a931-41e9-9db3-fc45021cedb0" } ] }