FEATURE: Reset and block users

This commit is contained in:
Rafael Moraes
2025-03-13 14:44:54 -03:00
parent e316bd1a7b
commit 2aec60a354
7 changed files with 2013 additions and 1416 deletions
+127 -2
View File
@@ -542,6 +542,123 @@
]
}
},
"/auth/users/block": {
"post": {
"operationId": "AuthController_blockUsers",
"parameters": [
{
"name": "dadosfera-lang",
"in": "header",
"required": false,
"schema": {
"enum": [
"pt-br",
"en-us"
],
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
},
"tags": [
"Auth"
],
"security": [
{
"access-token": []
}
]
}
},
"/auth/users/unblock": {
"post": {
"operationId": "AuthController_unblockUsers",
"parameters": [
{
"name": "dadosfera-lang",
"in": "header",
"required": false,
"schema": {
"enum": [
"pt-br",
"en-us"
],
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
},
"tags": [
"Auth"
],
"security": [
{
"access-token": []
}
]
}
},
"/auth/users/reset": {
"post": {
"operationId": "AuthController_resetUsers",
"parameters": [
{
"name": "dadosfera-lang",
"in": "header",
"required": false,
"schema": {
"enum": [
"pt-br",
"en-us"
],
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
},
"tags": [
"Auth"
],
"security": [
{
"access-token": []
}
]
}
},
"/connections": {
"post": {
"operationId": "ConnectionController_createConnection",
@@ -5508,6 +5625,12 @@
"items": {
"type": "string"
}
},
"displayName": {
"type": "string"
},
"themeEnabled": {
"type": "boolean"
}
},
"required": [
@@ -5516,7 +5639,9 @@
"name",
"tier",
"scheduleLimit",
"links"
"links",
"displayName",
"themeEnabled"
]
},
"AuthUser": {
@@ -8238,4 +8363,4 @@
}
}
}
}
}