This commit is contained in:
2026-11-13 19:02:03 +03:30
parent d36cc0be57
commit 44dd561beb
9 changed files with 13044 additions and 284 deletions
+367 -240
View File
@@ -4738,6 +4738,367 @@
}
}
},
"/api/v{version}/Bot/Me": {
"get": {
"tags": [
"Bot"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotResUser"
}
}
}
}
}
}
},
"/api/v{version}/Bot/Updates": {
"get": {
"tags": [
"Bot"
],
"parameters": [
{
"name": "Limit",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "Offset",
"in": "query",
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "Timeout",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XBotUpdateResponse"
}
}
}
}
}
}
}
},
"/api/v{version}/Bot/Message": {
"post": {
"tags": [
"Bot"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotMessage"
}
}
}
}
}
}
},
"/api/v{version}/Bot/{botUserId}/ShowVerificationMenu": {
"post": {
"tags": [
"Bot"
],
"parameters": [
{
"name": "botUserId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotMessage"
}
}
}
}
}
}
},
"/api/v{version}/Bot/{token}/VerifyUser": {
"post": {
"tags": [
"Bot"
],
"parameters": [
{
"name": "token",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotMessage"
}
}
}
}
}
}
},
"/api/v{version}/Bot/Refresh": {
"post": {
"tags": [
"Bot"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v{version}/Bot/Test/Hi": {
"get": {
"tags": [
"Bot"
],
"summary": "Check the Controller Up and Running",
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v{version}/Bot/Test/PassRequireXPowered": {
"get": {
"tags": [
"Bot"
],
"summary": "Check Controller ByPass XPowered Filter",
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v{version}/CategoryProvider/Resources/{id}/HasLocale": {
"get": {
"tags": [
@@ -12943,240 +13304,6 @@
}
}
}
},
"/api/v{version}/XBotProvider/Me": {
"get": {
"tags": [
"XBotProvider"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotResUser"
}
}
}
}
}
}
},
"/api/v{version}/XBotProvider/Updates": {
"get": {
"tags": [
"XBotProvider"
],
"parameters": [
{
"name": "Limit",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "Offset",
"in": "query",
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "Timeout",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XBotUpdateResponse"
}
}
}
}
}
}
}
},
"/api/v{version}/XBotProvider/Message": {
"post": {
"tags": [
"XBotProvider"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotMessage"
}
}
}
}
}
}
},
"/api/v{version}/XBotProvider/Test/Hi": {
"get": {
"tags": [
"XBotProvider"
],
"summary": "Check the Controller Up and Running",
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v{version}/XBotProvider/Test/PassRequireXPowered": {
"get": {
"tags": [
"XBotProvider"
],
"summary": "Check Controller ByPass XPowered Filter",
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
}
},
"components": {
@@ -14283,17 +14410,17 @@
"memberType": {
"$ref": "#/components/schemas/MemberTypes"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
},
"declaringType": {
"$ref": "#/components/schemas/Type"
},
"reflectedType": {
"$ref": "#/components/schemas/Type"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
},
"module": {
"$ref": "#/components/schemas/Module"
},
@@ -16265,7 +16392,7 @@
"type": "string",
"nullable": true
},
"user": {
"from": {
"$ref": "#/components/schemas/XBotResUser"
},
"message": {
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
Submodule xApi updated: d85314b05a...889d5b34f6