fix: linter and docs
ci-agent / build (push) Failing after 2m50s

This commit is contained in:
d3m0k1d
2026-04-04 19:43:43 +03:00
parent fe7e41e4af
commit 0f8b148279
23 changed files with 480 additions and 105 deletions
+95
View File
@@ -284,6 +284,11 @@
},
"/auth/token": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "Creates a new user with permissions",
"consumes": [
"application/json"
@@ -343,6 +348,11 @@
}
},
"delete": {
"security": [
{
"Bearer": []
}
],
"description": "Deletes the current authenticated user",
"tags": [
"auth"
@@ -381,6 +391,11 @@
},
"/auth/tokens": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns list of all users with their permissions",
"produces": [
"application/json"
@@ -413,6 +428,11 @@
},
"/auth/tokens/:login": {
"delete": {
"security": [
{
"Bearer": []
}
],
"description": "Deletes a user by their login",
"tags": [
"auth"
@@ -460,6 +480,11 @@
},
"/auth/users/:login": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns a user by their login (admin only)",
"produces": [
"application/json"
@@ -514,6 +539,11 @@
}
},
"put": {
"security": [
{
"Bearer": []
}
],
"description": "Updates a user's name and last name (admin only)",
"consumes": [
"application/json"
@@ -582,6 +612,11 @@
},
"/auth/users/:login/activate": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "Activates a user account by login (admin only)",
"tags": [
"auth"
@@ -638,6 +673,11 @@
},
"/auth/users/:login/deactivate": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "Deactivates a user account by login (admin only)",
"tags": [
"auth"
@@ -694,6 +734,11 @@
},
"/auth/users/:login/password": {
"put": {
"security": [
{
"Bearer": []
}
],
"description": "Resets a user's password to a new value (admin only)",
"consumes": [
"application/json"
@@ -762,6 +807,11 @@
},
"/auth/users/:login/permissions": {
"put": {
"security": [
{
"Bearer": []
}
],
"description": "Updates a user's permissions and activation status (admin only)",
"consumes": [
"application/json"
@@ -830,6 +880,11 @@
},
"/auth/users/inactive": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns list of all users waiting for activation",
"produces": [
"application/json"
@@ -862,6 +917,11 @@
},
"/auth/validate": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Check if the provided Bearer token is valid and return its permissions",
"produces": [
"application/json"
@@ -891,6 +951,11 @@
},
"/jobs": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "Sends a command to the specified agent, waits for execution, and returns the result",
"consumes": [
"application/json"
@@ -1227,6 +1292,11 @@
},
"/scripts/interpreters": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns all script interpreters available in the system",
"produces": [
"application/json"
@@ -1248,6 +1318,11 @@
}
},
"post": {
"security": [
{
"Bearer": []
}
],
"description": "Registers a new script interpreter with name, label, and argv",
"consumes": [
"application/json"
@@ -1282,6 +1357,11 @@
},
"/scripts/interpreters/:id": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns a script interpreter by ID",
"produces": [
"application/json"
@@ -1309,6 +1389,11 @@
}
},
"put": {
"security": [
{
"Bearer": []
}
],
"description": "Updates fields of a script interpreter",
"consumes": [
"application/json"
@@ -1348,6 +1433,11 @@
}
},
"delete": {
"security": [
{
"Bearer": []
}
],
"description": "Removes a script interpreter by ID",
"tags": [
"scripts"
@@ -1371,6 +1461,11 @@
},
"/scripts/run": {
"post": {
"security": [
{
"Bearer": []
}
],
"description": "Resolves interpreter argv[] and sends the full command to the agent",
"consumes": [
"application/json"