{ "openapi": "3.0.1", "info": { "title": "xSaherElm AI API", "description": "Complete AI API Documentation", "contact": { "name": "Hadi Khazaee Asl", "url": "https://www.saherelm.ir", "email": "hadi_khazaee_asl@yahoo.com" }, "version": "v1.0" }, "servers": [ { "url": "https://localhost:6001" } ], "paths": { "/Account/Logout": { "post": { "tags": [ "Account" ], "summary": "Logout User", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/Account/Validate": { "post": { "tags": [ "Account" ], "summary": "Validate a Revision Checksum", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XValidateRevisionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XValidateRevisionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XValidateRevisionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XValidateRevisionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/RequestScopeAccessToken": { "post": { "tags": [ "Account" ], "summary": "Request AccessToken for Specific XApiScope", "parameters": [ { "name": "scope", "in": "header", "description": "a member of XApiScope", "schema": { "$ref": "#/components/schemas/XApiScope" } }, { "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/XTokenResponse" } } } } } } }, "/Account/ChangePassword": { "post": { "tags": [ "Account" ], "summary": "Change a User's Password ...", "description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - NewPassword: user's new password to change.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"password\": \"\"\r\n \"newPassword\": \"\",\r\n \"returnUrl\": \"http://localhost/login\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/Account/Ban": { "post": { "tags": [ "Account" ], "summary": "Ban Specific Users", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XUserNameIdRequest which represents user identifier list to Ban", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string" } } } } } } } }, "/Account/UnBan": { "post": { "tags": [ "Account" ], "summary": "UnBann Specific Users", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XUserNameIdRequest which represents user identifier list to Ban", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string" } } } } } } } }, "/Account/IsBanned/{userSelectByParam}": { "get": { "tags": [ "Account" ], "summary": "Check Specific User is Banned or not", "parameters": [ { "name": "userSelectByParam", "in": "path", "description": "specified user's identifier", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/Friendship/{destUser}/Follow": { "post": { "tags": [ "Account" ], "summary": "Follow a User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollowing" } } } } } } }, "/Account/Friendship/{destUser}/Cancel": { "post": { "tags": [ "Account" ], "summary": "Cancel Following Request", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/Friendship/{destUser}/UnFollowFollower": { "post": { "tags": [ "Account" ], "summary": "Unfollow a Follower", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/Account/Friendship/{destUser}/UnFollowFollowing": { "post": { "tags": [ "Account" ], "summary": "Unfollow Following", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/Account/Friendship/{destUser}/Block": { "post": { "tags": [ "Account" ], "summary": "Block a Follower", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollowing" } } } } } } }, "/Account/Friendship/{destUser}/UnBlock": { "post": { "tags": [ "Account" ], "summary": "Unblock a Blocked User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollowing" } } } } } } }, "/Account/Friendship/{destUser}/AcceptRequest": { "post": { "tags": [ "Account" ], "summary": "Accept a Following Request", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollower" } } } } } } }, "/Account/Friendship/{destUser}/RejectRequest": { "post": { "tags": [ "Account" ], "summary": "Reject a Following Request", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollower" } } } } } } }, "/Account/Friendship/{destUser}/FriendshipInfo": { "get": { "tags": [ "Account" ], "summary": "Get Friendship Info Model between Specific User and Current User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipInfoDto" } } } } } } }, "/Account/Friendship/{destUser}/IsFollower": { "get": { "tags": [ "Account" ], "summary": "Check a User IsFollower of Requested User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/Friendship/{destUser}/FollowerState": { "get": { "tags": [ "Account" ], "summary": "Get Follower State of a User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipState" } } } } } } }, "/Account/Friendship/{destUser}/Follower": { "get": { "tags": [ "Account" ], "summary": "Get Specific Follower", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollower" } } } } } } }, "/Account/Friendship/Followers": { "get": { "tags": [ "Account" ], "summary": "Get Followers List Of Current User", "parameters": [ { "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/XFriendshipFollower" } } } } } } } }, "/Account/Friendship/AllFollowers": { "get": { "tags": [ "Account" ], "summary": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User", "parameters": [ { "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/XFriendshipFollower" } } } } } } } }, "/Account/Friendship/QueryFollowers": { "get": { "tags": [ "Account" ], "summary": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "name": "destUser", "in": "query", "schema": { "type": "string" } }, { "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/XFriendDtoXQueryResult" } } } } } } }, "/Account/Friendship/{destUser}/IsFollowing": { "get": { "tags": [ "Account" ], "summary": "Check a User is in Followings of Current User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/Friendship/{destUser}/FollowingState": { "get": { "tags": [ "Account" ], "summary": "Get Following State Relation between Specific User \r\nand Current User", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipState" } } } } } } }, "/Account/Friendship/{destUser}/Following": { "get": { "tags": [ "Account" ], "summary": "Get Specific Following Model", "parameters": [ { "name": "destUser", "in": "path", "description": "a user identifier which represent destination user", "required": true, "schema": { "type": "string" } }, { "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/XFriendshipFollowing" } } } } } } }, "/Account/Friendship/Followings": { "get": { "tags": [ "Account" ], "summary": "Get Followings of Current User", "parameters": [ { "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/XFriendshipFollowing" } } } } } } } }, "/Account/Friendship/AllFollowings": { "get": { "tags": [ "Account" ], "summary": "Get All Following List Includes Blocked, Requested and etc \r\nof Current User", "parameters": [ { "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/XFriendshipFollowing" } } } } } } } }, "/Account/Friendship/FollowingsList": { "get": { "tags": [ "Account" ], "summary": "Return Following UserName's List of Current User", "parameters": [ { "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": { "type": "string" } } } } } } } }, "/Account/Friendship/FollowersList": { "get": { "tags": [ "Account" ], "summary": "Return Followers UserName's List of Current User", "parameters": [ { "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": { "type": "string" } } } } } } } }, "/Account/Friendship/QueryFollowings": { "get": { "tags": [ "Account" ], "summary": "Get All Followings List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "name": "destUser", "in": "query", "schema": { "type": "string" } }, { "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/XFriendDtoXQueryResult" } } } } } } }, "/Account/Profile/{ids}/GetNames": { "get": { "tags": [ "Account" ], "summary": "Retrieve User Names based on UserIds", "parameters": [ { "name": "ids", "in": "path", "description": "a comma seperated list of UserIds", "required": true, "schema": { "type": "string" } }, { "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": { "type": "string" } } } } } } } }, "/Account/Profile/GetNameIds": { "post": { "tags": [ "Account" ], "summary": "get user ids and retrieve corresponding user names", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XUserNameIdRequest which represent required UserIds collection", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XUserNameIdRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/XUserNameIdResponse" } } } } } } } }, "/Account/Profile/{userSelectByParam}": { "get": { "tags": [ "Account" ], "summary": "Get Profile Object of Specific User", "parameters": [ { "name": "userSelectByParam", "in": "path", "description": "determine's which user profile must be retrieved", "required": true, "schema": { "type": "string", "default": "" } }, { "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/XUserProfileDto" } } } } } }, "post": { "tags": [ "Account" ], "summary": "Update a User Profile based on XProfileUpdateRequest Full", "parameters": [ { "name": "userSelectByParam", "in": "path", "description": "determine's which user profile must be retrieved", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "user update info, an instance of XProfileUpdateRequest", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XUserProfileDto" } } } } } } }, "/Account/Profile/Query": { "get": { "tags": [ "Account" ], "summary": "Query Users \r\nfor specifiy users role for query user 'role: string' and 'forceRole: boolean' in header", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "name": "role", "in": "header", "description": "an string which represent user role", "schema": { "type": "string" } }, { "name": "forceRole", "in": "header", "description": "if it's true the user must has exact role, otherwise top level users also listed", "schema": { "type": "boolean", "default": false } }, { "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/XUserProfileDtoXQueryResult" } } } } } } }, "/Account/Profile/Avatars/Query/{userSelectByParam}": { "get": { "tags": [ "Account" ], "summary": "Query Specified User's Profile Images", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "name": "userSelectByParam", "in": "path", "description": "determine's which user profile must be retrieved", "required": true, "schema": { "type": "string" } }, { "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/XProfileImageDtoXQueryResult" } } } } } } }, "/Account/Profile/Update/{userSelectByParam}": { "post": { "tags": [ "Account" ], "summary": "Update User Profile based on XProfileUpdateRequest (FirstName/LastName/DateOfBirth)", "parameters": [ { "name": "userSelectByParam", "in": "path", "description": "determine's which user profile must be retrieved", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "user update info, an instance of XProfileUpdateRequest", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XProfileUpdateRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XUserProfileDto" } } } } } } }, "/Account/Profile/Avatar": { "post": { "tags": [ "Account" ], "summary": "Add a New Profile Image", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "ContentType": { "type": "string" }, "ContentDisposition": { "type": "string" }, "Headers": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } }, "Length": { "type": "integer", "format": "int64" }, "Name": { "type": "string" }, "FileName": { "type": "string" } } }, "encoding": { "ContentType": { "style": "form" }, "ContentDisposition": { "style": "form" }, "Headers": { "style": "form" }, "Length": { "style": "form" }, "Name": { "style": "form" }, "FileName": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XUserProfileDto" } } } } } } }, "/Account/Profile/Avatars": { "post": { "tags": [ "Account" ], "summary": "Add a New Collection of Profile Images", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "files": { "type": "array", "items": { "type": "string", "format": "binary" } } } }, "encoding": { "files": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XUserProfileDto" } } } } } } }, "/Account/Profile/Avatars/{id}/Set": { "post": { "tags": [ "Account" ], "summary": "set Specified Profile Image as Avatar", "parameters": [ { "name": "id", "in": "path", "description": "an integer which reperesent AvatarId to set as current Avatar", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "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/XUserProfileDto" } } } } } } }, "/Account/Profile/Avatars/{ids}": { "delete": { "tags": [ "Account" ], "summary": "Remove Profile Images", "parameters": [ { "name": "ids", "in": "path", "description": "a comma seperated list of avatarIds to remove", "required": true, "schema": { "type": "string" } }, { "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/XUserProfileDto" } } } } } } }, "/Account/InviteUser": { "post": { "tags": [ "Account" ], "summary": "Invite a User to Register on Dashboard", "description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - Email: which email address is going to invite.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Registration URL.\r\n notice in this step you had to provide all this informations as FormData\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"email\": \"\",\r\n \"returnUrl\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/IsConfirmedEmail": { "get": { "tags": [ "Account" ], "summary": "Check User is Confirmed Email or not", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/IsConfirmedMobile": { "get": { "tags": [ "Account" ], "summary": "Check User is Confirmed Mobile or not", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/OpenToSearch/Query": { "get": { "tags": [ "Account" ], "summary": "Query Open To Search Users Profiles ... \r\nQuery all Users Which their Profiles is Open To Search ...", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "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/XUserProfileDtoXQueryResult" } } } } } } }, "/Account/Applications": { "post": { "tags": [ "Account" ], "summary": "Create Application ...", "description": "Sample request:\r\n\r\n {\r\n \"type\": 0,\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } } } } } }, "get": { "tags": [ "Account" ], "summary": "Get All Application ...", "parameters": [ { "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/XApplicationDto" } } } } } } } }, "/Account/Applications/{id}": { "put": { "tags": [ "Account" ], "summary": "Update Specified Application ...", "description": "Sample request:\r\n\r\n {\r\n \"id\": 0,\r\n \"type\": 0,\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n }", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApplicationDto" } } } } } }, "delete": { "tags": [ "Account" ], "summary": "Remove Specified Application ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "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/XApplicationDto" } } } } } }, "get": { "tags": [ "Account" ], "summary": "Get Specified Application ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "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/XApplicationDto" } } } } } } }, "/Account/Applications/Query": { "get": { "tags": [ "Account" ], "summary": "Query Applications ...", "parameters": [ { "name": "Filter", "in": "path", "description": "an string for filtering results", "required": true, "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "path", "description": "determines fully load object with it's relational fields or not", "required": true, "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "path", "description": "specifiy sorting of items", "required": true, "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "path", "description": "specify sorting direction", "required": true, "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "path", "description": "specify page number", "required": true, "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "path", "description": "specify page size", "required": true, "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "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/XApplicationDtoXQueryResult" } } } } } } }, "/Account/Applications/ApiKeys/{id}": { "get": { "tags": [ "Account" ], "summary": "Get Specified ApiKey ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XApiKeyDto" } } } } } }, "delete": { "tags": [ "Account" ], "summary": "Remove Specified ApiKey ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XApiKeyDto" } } } } } }, "put": { "tags": [ "Account" ], "summary": "Update Specified ApiKey ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } } } } } } }, "/Account/Applications/ApiKeys": { "get": { "tags": [ "Account" ], "summary": "Get All Specified ApiKeys ...", "parameters": [ { "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/XApiKeyDto" } } } } } } } }, "/Account/Applications/ApiKeys/Query": { "get": { "tags": [ "Account" ], "summary": "Query ApiKeys ...", "parameters": [ { "name": "Filter", "in": "path", "description": "an string for filtering results", "required": true, "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "path", "description": "determines fully load object with it's relational fields or not", "required": true, "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "path", "description": "specifiy sorting of items", "required": true, "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "path", "description": "specify sorting direction", "required": true, "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "path", "description": "specify page number", "required": true, "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "path", "description": "specify page size", "required": true, "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "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/XApiKeyDtoXQueryResult" } } } } } } }, "/Account/Applications/ApiKeys/Usages": { "post": { "tags": [ "Account" ], "summary": "Add Api Key Usage ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } } } } } }, "get": { "tags": [ "Account" ], "summary": "Get All Api Key Usages ...", "parameters": [ { "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/XApiKeyUsageDto" } } } } } } } }, "/Account/Applications/ApiKeys/Usages/{id}": { "get": { "tags": [ "Account" ], "summary": "Get Specified Api Key Usage ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "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/XApiKeyUsageDto" } } } } } }, "delete": { "tags": [ "Account" ], "summary": "Remove Specified Api Key Usage ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "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/XApiKeyUsageDto" } } } } } }, "put": { "tags": [ "Account" ], "summary": "Update Specified Api Key Usage ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyUsageDto" } } } } } } }, "/Account/Applications/ApiKeys/Usages/Query": { "get": { "tags": [ "Account" ], "summary": "Query Api Key Usages ...", "parameters": [ { "name": "Filter", "in": "path", "description": "an string for filtering results", "required": true, "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "path", "description": "determines fully load object with it's relational fields or not", "required": true, "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "path", "description": "specifiy sorting of items", "required": true, "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "path", "description": "specify sorting direction", "required": true, "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "path", "description": "specify page number", "required": true, "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "path", "description": "specify page size", "required": true, "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "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/XApiKeyUsageDtoXQueryResult" } } } } } } }, "/Account/Applications/{applicationId}/ApiKeys/{apiKeyId}/Show": { "get": { "tags": [ "Account" ], "summary": "Show Api Key ...", "parameters": [ { "name": "apiKeyId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/Account/Applications/{applicationId}/ApiKeys/Create": { "post": { "tags": [ "Account" ], "summary": "Create Api Key ...", "parameters": [ { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XCreateApiKeyRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XCreateApiKeyRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XCreateApiKeyRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XCreateApiKeyRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } } } } } } }, "/Account/Applications/{applicationId}/ApiKeys/{apiKeyId}": { "delete": { "tags": [ "Account" ], "summary": "Remove Specified Api Key ...", "parameters": [ { "name": "apiKeyId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "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/XApiKeyDto" } } } } } }, "post": { "tags": [ "Account" ], "summary": "Rotate Specified Api Key ...", "parameters": [ { "name": "apiKeyId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XRotateApiKeyRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XRotateApiKeyRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XRotateApiKeyRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XRotateApiKeyRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyDto" } } } } } } }, "/Account/Applications/{applicationId}/ApiKeys/{apiKeyId}/Revoke": { "post": { "tags": [ "Account" ], "summary": "Revoke Specified Api Key ...", "parameters": [ { "name": "apiKeyId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/Applications/{applicationId}/ApiKeys": { "get": { "tags": [ "Account" ], "summary": "Retrieve Specified Application's Api Keys ...", "parameters": [ { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "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/XApiKeyDto" } } } } } } } }, "/Account/Applications/{applicationId}/ApiKeys/{apiKeyId}/Usages": { "get": { "tags": [ "Account" ], "summary": "Retrieve Specified Api Keys Usages ...", "parameters": [ { "name": "apiKeyId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "applicationId", "in": "path", "description": "", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "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/XApiKeyUsageDto" } } } } } } } }, "/Account/Applications/ApiKeys/Validate": { "post": { "tags": [ "Account" ], "summary": "Validate Specifed Api Key ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XApiKeyValidationRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyValidationRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XApiKeyValidationRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XApiKeyValidationRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XApiKeyValidationResult" } } } } } } }, "/Account/DiscoveryDocument": { "get": { "tags": [ "Account" ], "summary": "Retrieve OAuth Discovery Document", "parameters": [ { "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/DiscoveryDocumentResponse" } } } } } } }, "/Account/Authenticate": { "post": { "tags": [ "Account" ], "summary": "Authenticate User", "description": "Sample request:\r\n\r\n {\r\n \"password\": \"\",\r\n \"userSelectBy\": \"\",\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "User Login Required Info, an instance of XLoginRequest", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XTokenResponse" } } } } } } }, "/Account/Login": { "post": { "tags": [ "Account" ], "summary": "Authenticate User", "description": "Sample request:\r\n\r\n {\r\n \"language\": \"fa-IR\"\r\n \"password\": \"\",\r\n \"userSelectBy\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "User Login Required Info, an instance of XLoginRequest", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XLoginRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XLoginResponse" } } } } } } }, "/Account/RefreshTokens": { "post": { "tags": [ "Account" ], "summary": "Refresh Expired Tokens", "description": "in addition to AccessToken, you had to pass RefreshToken due to Headers", "parameters": [ { "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/XTokenResponse" } } } } } } }, "/Account/GetUserInfo": { "get": { "tags": [ "Account" ], "summary": "Retriev User Info Based on Open Actions ...", "parameters": [ { "name": "token", "in": "header", "description": "", "schema": { "type": "string" } }, { "name": "request", "in": "query", "description": "", "schema": { "type": "string" } }, { "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/XOpenActionUserInfoDto" } } } } } } }, "/Account/GetUserInfoByDevice": { "get": { "tags": [ "Account" ], "summary": "Retriev User Info Based on Open Actions ...", "parameters": [ { "name": "userSelectByParam", "in": "query", "description": "", "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XDeviceDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XDeviceDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XDeviceDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XDeviceDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XOpenActionUserInfoDto" } } } } } } }, "/Account/CanRegisterUserName/{userName}": { "get": { "tags": [ "Account" ], "summary": "Check a UserName is Available For Registration or not", "parameters": [ { "name": "userName", "in": "path", "description": "an string value which represent desired username", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/CanRegisterMobileNumber/{mobileNumber}": { "get": { "tags": [ "Account" ], "summary": "Check a Mobile Number is Available For Registration or not", "parameters": [ { "name": "mobileNumber", "in": "path", "description": "an string value which represent desired mobile number", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/CanRegisterEmail/{email}": { "get": { "tags": [ "Account" ], "summary": "Check a Email Address is Available For Registration or not", "parameters": [ { "name": "email", "in": "path", "description": "an string value which represent desired email address", "required": true, "schema": { "type": "string" } }, { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "boolean" } } } } } } }, "/Account/RequestRegistration": { "post": { "tags": [ "Account" ], "summary": "Recieve some Basic Informations and Start Registration Proccess\r\nif they Valid \r\n\r\nRegistration Proccess Starts with Invoking this Action", "description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - FirstName: user's FirstName.\r\n - LastName: user's LastName.\r\n - DateOfBirth: user's dob date.\r\n - MobileNumber: user's MobileNumber optional.\r\n - Email: user's Email optional.\r\n - ActionToken: user's requested action token for this action (if user invited). \r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"firstName\": \"\",\r\n \"lastName\": \"\",\r\n \"dateOfBirth\": \"\",\r\n \"email\": \"\",\r\n \"mobileNumber\": \"\",\r\n \"actionToken\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/AddAccountInfo": { "post": { "tags": [ "Account" ], "summary": "Add User Account Informations", "description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - UserName: user name.\r\n - Password: assigne password.\r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"userName\": \"\",\r\n \"password\": \"\",\r\n \"actionToken\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/AttachProfileImage": { "post": { "tags": [ "Account" ], "summary": "Upload and Attach a Profile Image for User. this is an Optional Step", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "actionToken": { "type": "string" }, "ContentType": { "type": "string" }, "ContentDisposition": { "type": "string" }, "Headers": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } }, "Length": { "type": "integer", "format": "int64" }, "Name": { "type": "string" }, "FileName": { "type": "string" } } }, "encoding": { "actionToken": { "style": "form" }, "ContentType": { "style": "form" }, "ContentDisposition": { "style": "form" }, "Headers": { "style": "form" }, "Length": { "style": "form" }, "Name": { "style": "form" }, "FileName": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/FinishRegistration": { "post": { "tags": [ "Account" ], "summary": "Finish Registrationn Proccess", "description": " for this action you have to provide: \r\n - a proper User Identifier such as: (UserId, UserName, Email or MobileNumber).\r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - Password: assigne password.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"userName\": \"\",\r\n \"password\": \"\",\r\n \"returnUrl\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/Account/RequestConfirmRegistration": { "post": { "tags": [ "Account" ], "summary": "Request Registration Confirm", "description": " for this action you have to provide:\r\n - a UserSelectedBy identifier which represet User.\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Confirm Registration URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"userId\": \"\"\r\n \"password\": \"\",\r\n \"returnUrl\": \"http://localhost/confirm\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/Account/ConfirmRegistration": { "post": { "tags": [ "Account" ], "summary": "Confirm Registration", "description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\"\r\n \"returnUrl\": \"http://localhost/login\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/Account/RequestConfirmMobile": { "post": { "tags": [ "Account" ], "summary": "Request For Mobile Number Change/Confirm", "description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - MobileNumber: which phone number is going to confirm.\r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"password\": \"\",\r\n \"mobileNumber\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/ConfirmMobileNumber": { "post": { "tags": [ "Account" ], "summary": "Confirm Requested Mobile Number", "description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US. \r\n - ActionToken: user's requested action token for this action. \r\n - Device: user's client device which is an instance of XDevice. \r\n - MobileVerificationCode: a verification code which produced due Request Action.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\"\r\n \"mobileVerificationCode\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/RequestConfirmEmail": { "post": { "tags": [ "Account" ], "summary": "Request For Email Address Change/Confirm", "description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - Email: which email address is going to confirm.\r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"password\": \"\",\r\n \"email\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/ConfirmEmailAddress": { "post": { "tags": [ "Account" ], "summary": "Confirm Requested Email Address", "description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US. \r\n - ActionToken: user's requested action token for this action. \r\n - Device: user's client device which is an instance of XDevice. \r\n - EmailVerificationCode: a verification code which produced due Request Action.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\"\r\n \"emailVerificationCode\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/RequestResetPassword": { "post": { "tags": [ "Account" ], "summary": "Request Reset Password Action", "description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application ResetPassword URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"returnUrl\": \"http://localhost/reset-password\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XActionResponse" } } } } } } }, "/Account/ResetPassword": { "post": { "tags": [ "Account" ], "summary": "Reset a User's Password", "description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - NewPassword: user's new password to change.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\",\r\n \"newPassword\": \"\",\r\n \"returnUrl\": \"http://localhost/login\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "requestBody": { "description": "an instance of XActionRequest class which provider requirement for action", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XActionRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/Account/Test/Hi": { "get": { "tags": [ "Account" ], "summary": "Check the Controller Up and Running", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/Account/Test/PassRequireXPowered": { "get": { "tags": [ "Account" ], "summary": "Check Controller ByPass XPowered Filter", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v{version}/ChatWithDocuments/Ingest": { "post": { "tags": [ "ChatWithDocuments" ], "summary": "Ingest Files into a (new or existing) In-Memory Session:\r\nExtract -> Chunk -> Embed -> Store ...", "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": { "multipart/form-data": { "schema": { "type": "object", "properties": { "files": { "type": "array", "items": { "type": "string", "format": "binary" } }, "sessionId": { "type": "string", "format": "uuid" }, "ttlMinutes": { "type": "integer", "format": "int32" } } }, "encoding": { "files": { "style": "form" }, "sessionId": { "style": "form" }, "ttlMinutes": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiDocumentIngestResult" } } } } } } }, "/api/v{version}/ChatWithDocuments/Ask": { "post": { "tags": [ "ChatWithDocuments" ], "summary": "Ask a Question over Ingested Documents ...", "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAnswer" } } } } } } }, "/api/v{version}/ChatWithDocuments/AskStream": { "post": { "tags": [ "ChatWithDocuments" ], "summary": "Ask a Question over Ingested Documents and Stream Response (SSE) ...\r\nFirst Event Carries Sources, Next Events Carry Text Deltas, Last Event has IsFinal = true ...", "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiDocumentAskRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v{version}/ChatWithDocuments/Session/{id}": { "get": { "tags": [ "ChatWithDocuments" ], "summary": "Retrieve Session Info (without Embeddings) ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XAiDocumentSessionInfo" } } } } } }, "delete": { "tags": [ "ChatWithDocuments" ], "summary": "Remove a Session and Free Memory ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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": "boolean" } } } } } } }, "/api/v{version}/ChatWithDocuments/Test/Hi": { "get": { "tags": [ "ChatWithDocuments" ], "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}/ChatWithDocuments/Test/PassRequireXPowered": { "get": { "tags": [ "ChatWithDocuments" ], "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}/Knowledge/Ingest": { "post": { "tags": [ "Knowledge" ], "summary": "Ingest Files into a Knowledge Scope:\r\nExtract -> Chunk -> Embed -> Store in XAiVector Table ...", "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": { "multipart/form-data": { "schema": { "type": "object", "properties": { "files": { "type": "array", "items": { "type": "string", "format": "binary" } }, "scope": { "$ref": "#/components/schemas/XAiKnowledgeScope" }, "scopeId": { "type": "string", "format": "uuid" }, "knowledgeType": { "type": "string" }, "replaceExisting": { "type": "boolean", "default": true } } }, "encoding": { "files": { "style": "form" }, "scope": { "style": "form" }, "scopeId": { "style": "form" }, "knowledgeType": { "style": "form" }, "replaceExisting": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiKnowledgeIngestResult" } } } } } } }, "/api/v{version}/Knowledge/Documents": { "get": { "tags": [ "Knowledge" ], "summary": "List Ingested Documents of a Knowledge Scope ...", "parameters": [ { "name": "scope", "in": "query", "description": "User (default) / Project / Conversation / Global", "schema": { "$ref": "#/components/schemas/XAiKnowledgeScope" } }, { "name": "scopeId", "in": "query", "description": "ProjectId or ConversationId (Required for Project / Conversation)", "schema": { "type": "string", "format": "uuid" } }, { "name": "knowledgeType", "in": "query", "description": "Optional Knowledge Type Filter", "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": { "type": "array", "items": { "$ref": "#/components/schemas/XAiKnowledgeDocumentInfo" } } } } } } }, "delete": { "tags": [ "Knowledge" ], "summary": "Remove All Vectors of a Document in a Knowledge Scope ...", "parameters": [ { "name": "fileName", "in": "query", "description": "", "schema": { "type": "string" } }, { "name": "scope", "in": "query", "description": "User (default) / Project / Conversation / Global (Admin)", "schema": { "$ref": "#/components/schemas/XAiKnowledgeScope" } }, { "name": "scopeId", "in": "query", "description": "ProjectId or ConversationId (Required for Project / Conversation)", "schema": { "type": "string", "format": "uuid" } }, { "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": "integer", "format": "int32" } } } } } } }, "/api/v{version}/Knowledge/Test/Hi": { "get": { "tags": [ "Knowledge" ], "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}/Knowledge/Test/PassRequireXPowered": { "get": { "tags": [ "Knowledge" ], "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}/McpServers/{id}": { "get": { "tags": [ "McpServers" ], "summary": "Retrieve Specified MCP Server ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XAiMcpServerDto" } } } } } }, "put": { "tags": [ "McpServers" ], "summary": "Update Specified MCP Server ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } } } } } }, "delete": { "tags": [ "McpServers" ], "summary": "Remove Specified MCP Server ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XAiMcpServerDto" } } } } } } }, "/api/v{version}/McpServers": { "post": { "tags": [ "McpServers" ], "summary": "Add MCP Server ...", "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiMcpServerDto" } } } } } }, "get": { "tags": [ "McpServers" ], "summary": "Get all Registered MCP Servers by handling Ownership ...", "parameters": [ { "name": "forceOwner", "in": "query", "schema": { "type": "boolean", "default": true } }, { "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/XAiMcpServerDto" } } } } } } } }, "/api/v{version}/McpServers/{id}/Enable": { "post": { "tags": [ "McpServers" ], "summary": "Enable Specified MCP Server ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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": "boolean" } } } } } } }, "/api/v{version}/McpServers/{id}/Disable": { "post": { "tags": [ "McpServers" ], "summary": "Disable Specified MCP Server ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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": "boolean" } } } } } } }, "/api/v{version}/McpServers/{id}/Toggle": { "post": { "tags": [ "McpServers" ], "summary": "Toggle Specified MCP Server ...", "parameters": [ { "name": "id", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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": "boolean" } } } } } } }, "/api/v{version}/McpServers/Query": { "get": { "tags": [ "McpServers" ], "summary": "Query Registered MCP Servers by handling Ownership ...", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "format": "int32" } }, { "name": "forceOwner", "in": "query", "description": "", "schema": { "type": "boolean", "default": true } }, { "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/XAiMcpServerDtoXQueryResult" } } } } } } }, "/api/v{version}/McpServers/Refresh": { "post": { "tags": [ "McpServers" ], "summary": "Refresh MCP Servers ...", "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}/McpServers/Test/Hi": { "get": { "tags": [ "McpServers" ], "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}/McpServers/Test/PassRequireXPowered": { "get": { "tags": [ "McpServers" ], "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" } } } }, "/": { "get": { "tags": [ "Startup" ], "summary": "Show Configured Welcome Message", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/Test/Hi": { "get": { "tags": [ "Startup" ], "summary": "Check the Controller Up and Running", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/Test/PassRequireXPowered": { "get": { "tags": [ "Startup" ], "summary": "Check Controller ByPass XPowered Filter", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/TestIdentity/PassReadAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Read Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/PassWriteAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Write Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/PassAdminAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Admin Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/PassManageAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "API Manage Scope ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiClaims": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Action which returns a List of Authenticated User Claims ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiUser": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiEnabledUser": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiAgent": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiEnabledAgent": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiAdmin": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiEnabledAdmin": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello User for Checking Authentication and Policy ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Authorization ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyReadAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Read Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyWriteAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Write Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyManageAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Manage Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/HiApiKeyAdminAccess": { "get": { "tags": [ "TestIdentity" ], "summary": "a simple Hello for Accessing ApiKey Admin Access ...", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/TestIdentity/Test/Hi": { "get": { "tags": [ "TestIdentity" ], "summary": "Check the Controller Up and Running", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/TestIdentity/Test/PassRequireXPowered": { "get": { "tags": [ "TestIdentity" ], "summary": "Check Controller ByPass XPowered Filter", "parameters": [ { "name": "X-PoweredBy", "in": "header", "description": "a Basic Authorization Filter", "schema": { "type": "String", "default": "SaherElmITCenter" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v{version}/XAi/AskText": { "get": { "tags": [ "XAi" ], "summary": "Ask Question and Get Response ...", "parameters": [ { "name": "question", "in": "query", "description": "", "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": { "type": "string" } } } } } } }, "/api/v{version}/XAi/AskTextStream": { "get": { "tags": [ "XAi" ], "summary": "Ask Question and Get Response Stream ...", "parameters": [ { "name": "question", "in": "query", "description": "", "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" } } } }, "/api/v{version}/XAi/AskTextFromKnowledge": { "get": { "tags": [ "XAi" ], "summary": "Ask a Question By Rag Retrive From Knowledge ...", "parameters": [ { "name": "Prompt", "in": "query", "description": "Prompt Text ...", "schema": { "type": "string", "description": "Prompt Text ..." } }, { "name": "Type", "in": "query", "description": "Knowledge Type ...", "schema": { "type": "string", "description": "Knowledge Type ..." } }, { "name": "TopK", "in": "query", "description": "Provided TopK in Vector Searchs ...", "schema": { "type": "integer", "description": "Provided TopK in Vector Searchs ...", "format": "int32" } }, { "name": "MinScore", "in": "query", "description": "Min Score for Vector Searchs ...", "schema": { "type": "number", "description": "Min Score for Vector Searchs ...", "format": "float" } }, { "name": "ProjectId", "in": "query", "description": "Specified Project Id ...", "schema": { "type": "string", "description": "Specified Project Id ...", "format": "uuid" } }, { "name": "ConversationId", "in": "query", "description": "Specified Conversation Id ...", "schema": { "type": "string", "description": "Specified Conversation Id ...", "format": "uuid" } }, { "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": "string" } } } } } } }, "/api/v{version}/XAi/AskTextFromKnowledgeStream": { "get": { "tags": [ "XAi" ], "summary": "Ask a Question By Rag Retrive From Knowledge and Stream Response ...", "parameters": [ { "name": "Prompt", "in": "query", "description": "Prompt Text ...", "schema": { "type": "string", "description": "Prompt Text ..." } }, { "name": "Type", "in": "query", "description": "Knowledge Type ...", "schema": { "type": "string", "description": "Knowledge Type ..." } }, { "name": "TopK", "in": "query", "description": "Provided TopK in Vector Searchs ...", "schema": { "type": "integer", "description": "Provided TopK in Vector Searchs ...", "format": "int32" } }, { "name": "MinScore", "in": "query", "description": "Min Score for Vector Searchs ...", "schema": { "type": "number", "description": "Min Score for Vector Searchs ...", "format": "float" } }, { "name": "ProjectId", "in": "query", "description": "Specified Project Id ...", "schema": { "type": "string", "description": "Specified Project Id ...", "format": "uuid" } }, { "name": "ConversationId", "in": "query", "description": "Specified Conversation Id ...", "schema": { "type": "string", "description": "Specified Conversation Id ...", "format": "uuid" } }, { "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}/XAi/Ask": { "post": { "tags": [ "XAi" ], "summary": "Ask Question and Get Response ...", "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/api/v{version}/XAi/AskStream": { "post": { "tags": [ "XAi" ], "summary": "Ask Question and Get Response Stream ...", "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiResponseRequest" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v{version}/XAi/AskWithFiles": { "post": { "tags": [ "XAi" ], "summary": "Ask Question with Files and Get Response ...", "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": { "multipart/form-data": { "schema": { "type": "object", "properties": { "Prompt": { "type": "string", "description": "Prompt Text ..." }, "Type": { "type": "string", "description": "Knowledge Type ..." }, "TopK": { "type": "integer", "description": "Provided TopK in Vector Searchs ...", "format": "int32" }, "MinScore": { "type": "number", "description": "Min Score for Vector Searchs ...", "format": "float" }, "ProjectId": { "type": "string", "description": "Specified Project Id ...", "format": "uuid" }, "ConversationId": { "type": "string", "description": "Specified Conversation Id ...", "format": "uuid" }, "files": { "type": "array", "items": { "type": "string", "format": "binary" } } } }, "encoding": { "Prompt": { "style": "form" }, "Type": { "style": "form" }, "TopK": { "style": "form" }, "MinScore": { "style": "form" }, "ProjectId": { "style": "form" }, "ConversationId": { "style": "form" }, "files": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/api/v{version}/XAi/AskWithFilesStream": { "post": { "tags": [ "XAi" ], "summary": "Ask Question with Files and Get Response Stream ...", "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": { "multipart/form-data": { "schema": { "type": "object", "properties": { "Prompt": { "type": "string", "description": "Prompt Text ..." }, "Type": { "type": "string", "description": "Knowledge Type ..." }, "TopK": { "type": "integer", "description": "Provided TopK in Vector Searchs ...", "format": "int32" }, "MinScore": { "type": "number", "description": "Min Score for Vector Searchs ...", "format": "float" }, "ProjectId": { "type": "string", "description": "Specified Project Id ...", "format": "uuid" }, "ConversationId": { "type": "string", "description": "Specified Conversation Id ...", "format": "uuid" }, "files": { "type": "array", "items": { "type": "string", "format": "binary" } } } }, "encoding": { "Prompt": { "style": "form" }, "Type": { "style": "form" }, "TopK": { "style": "form" }, "MinScore": { "style": "form" }, "ProjectId": { "style": "form" }, "ConversationId": { "style": "form" }, "files": { "style": "form" } } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v{version}/XAi/Projects": { "get": { "tags": [ "XAi" ], "summary": "Retrieve AI Projects ...", "parameters": [ { "name": "includeDefaults", "in": "query", "description": "", "schema": { "type": "boolean", "default": false } }, { "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/XAiProjectDto" } } } } } } }, "post": { "tags": [ "XAi" ], "summary": "Create an AI Project ...", "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiProjectDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiProjectDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiProjectDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiProjectDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiProjectDto" } } } } } } }, "/api/v{version}/XAi/Projects/{projectId}/Conversations": { "get": { "tags": [ "XAi" ], "summary": "Retrieve Specified AI Project's Conversations ...", "parameters": [ { "name": "projectId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XAiConversationDto" } } } } } } }, "post": { "tags": [ "XAi" ], "summary": "Create an AI Conversation ...", "parameters": [ { "name": "projectId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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": { "description": "", "content": { "application/json-patch+json": { "schema": { "$ref": "#/components/schemas/XAiConversationDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/XAiConversationDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/XAiConversationDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/XAiConversationDto" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/XAiConversationDto" } } } } } } }, "/api/v{version}/XAi/Projects/Conversations": { "get": { "tags": [ "XAi" ], "summary": "Retrieve Specified AI Project's Conversations ...", "parameters": [ { "name": "projectId", "in": "query", "description": "", "schema": { "type": "string", "format": "uuid" } }, { "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/XAiConversationDto" } } } } } } } }, "/api/v{version}/XAi/Conversations/{conversationId}/Messages": { "get": { "tags": [ "XAi" ], "summary": "Retrieve Specified AI Conversation's Messages ...", "parameters": [ { "name": "conversationId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "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/XAiMessageDto" } } } } } } } }, "/api/v{version}/XAi/Conversations/Messages": { "get": { "tags": [ "XAi" ], "summary": "Retrieve Specified AI Conversation's Messages ...", "parameters": [ { "name": "conversationId", "in": "query", "description": "", "schema": { "type": "string", "format": "uuid" } }, { "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/XAiMessageDto" } } } } } } } }, "/api/v{version}/XAi/Projects/Query": { "get": { "tags": [ "XAi" ], "summary": "Query Projects ...", "description": "", "parameters": [ { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "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": { "$ref": "#/components/schemas/XAiProjectDtoXQueryResult" } } } } } } }, "/api/v{version}/XAi/Projects/{projectId}/Conversations/Query": { "get": { "tags": [ "XAi" ], "summary": "Query Conversations ...", "parameters": [ { "name": "projectId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "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": { "$ref": "#/components/schemas/XAiConversationDtoXQueryResult" } } } } } } }, "/api/v{version}/XAi/Conversations/{conversationId}/Messages/Query": { "get": { "tags": [ "XAi" ], "summary": "Query Messages ...", "parameters": [ { "name": "conversationId", "in": "path", "description": "", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "Filter", "in": "query", "description": "an string for filtering results", "schema": { "type": "string", "description": "an string for filtering results" } }, { "name": "ContainsDetail", "in": "query", "description": "determines fully load object with it's relational fields or not", "schema": { "type": "boolean", "description": "determines fully load object with it's relational fields or not" } }, { "name": "SortBy", "in": "query", "description": "specifiy sorting of items", "schema": { "type": "string", "description": "specifiy sorting of items" } }, { "name": "IsAscending", "in": "query", "description": "specify sorting direction", "schema": { "type": "boolean", "description": "specify sorting direction" } }, { "name": "Page", "in": "query", "description": "specify page number", "schema": { "type": "integer", "description": "specify page number", "format": "int32" } }, { "name": "PageSize", "in": "query", "description": "specify page size", "schema": { "type": "integer", "description": "specify page size", "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": { "$ref": "#/components/schemas/XAiMessageDtoXQueryResult" } } } } } } }, "/api/v{version}/XAi/ExtractContent": { "post": { "tags": [ "XAi" ], "summary": "Extract Files Content ...", "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": { "multipart/form-data": { "schema": { "type": "object", "properties": { "files": { "type": "array", "items": { "type": "string", "format": "binary" } }, "extractors": { "type": "string" } } }, "encoding": { "files": { "style": "form" }, "extractors": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/api/v{version}/XAi/Test/Hi": { "get": { "tags": [ "XAi" ], "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}/XAi/Test/PassRequireXPowered": { "get": { "tags": [ "XAi" ], "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": { "schemas": { "Assembly": { "type": "object", "properties": { "definedTypes": { "type": "array", "items": { "$ref": "#/components/schemas/TypeInfo" }, "nullable": true, "readOnly": true }, "exportedTypes": { "type": "array", "items": { "$ref": "#/components/schemas/Type" }, "nullable": true, "readOnly": true }, "codeBase": { "type": "string", "nullable": true, "readOnly": true }, "entryPoint": { "$ref": "#/components/schemas/MethodInfo" }, "fullName": { "type": "string", "nullable": true, "readOnly": true }, "imageRuntimeVersion": { "type": "string", "nullable": true, "readOnly": true }, "isDynamic": { "type": "boolean", "readOnly": true }, "location": { "type": "string", "nullable": true, "readOnly": true }, "reflectionOnly": { "type": "boolean", "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "isFullyTrusted": { "type": "boolean", "readOnly": true }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "escapedCodeBase": { "type": "string", "nullable": true, "readOnly": true }, "manifestModule": { "$ref": "#/components/schemas/Module" }, "modules": { "type": "array", "items": { "$ref": "#/components/schemas/Module" }, "nullable": true, "readOnly": true }, "globalAssemblyCache": { "type": "boolean", "readOnly": true }, "hostContext": { "type": "integer", "format": "int64", "readOnly": true }, "securityRuleSet": { "$ref": "#/components/schemas/SecurityRuleSet" } }, "additionalProperties": false }, "CallingConventions": { "enum": [ 1, 2, 3, 32, 64 ], "type": "integer", "format": "int32" }, "ConstructorInfo": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "attributes": { "$ref": "#/components/schemas/MethodAttributes" }, "methodImplementationFlags": { "$ref": "#/components/schemas/MethodImplAttributes" }, "callingConvention": { "$ref": "#/components/schemas/CallingConventions" }, "isAbstract": { "type": "boolean", "readOnly": true }, "isConstructor": { "type": "boolean", "readOnly": true }, "isFinal": { "type": "boolean", "readOnly": true }, "isHideBySig": { "type": "boolean", "readOnly": true }, "isSpecialName": { "type": "boolean", "readOnly": true }, "isStatic": { "type": "boolean", "readOnly": true }, "isVirtual": { "type": "boolean", "readOnly": true }, "isAssembly": { "type": "boolean", "readOnly": true }, "isFamily": { "type": "boolean", "readOnly": true }, "isFamilyAndAssembly": { "type": "boolean", "readOnly": true }, "isFamilyOrAssembly": { "type": "boolean", "readOnly": true }, "isPrivate": { "type": "boolean", "readOnly": true }, "isPublic": { "type": "boolean", "readOnly": true }, "isConstructedGenericMethod": { "type": "boolean", "readOnly": true }, "isGenericMethod": { "type": "boolean", "readOnly": true }, "isGenericMethodDefinition": { "type": "boolean", "readOnly": true }, "containsGenericParameters": { "type": "boolean", "readOnly": true }, "methodHandle": { "$ref": "#/components/schemas/RuntimeMethodHandle" }, "isSecurityCritical": { "type": "boolean", "readOnly": true }, "isSecuritySafeCritical": { "type": "boolean", "readOnly": true }, "isSecurityTransparent": { "type": "boolean", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" } }, "additionalProperties": false }, "CustomAttributeData": { "type": "object", "properties": { "attributeType": { "$ref": "#/components/schemas/Type" }, "constructor": { "$ref": "#/components/schemas/ConstructorInfo" }, "constructorArguments": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeTypedArgument" }, "nullable": true, "readOnly": true }, "namedArguments": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeNamedArgument" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "CustomAttributeNamedArgument": { "type": "object", "properties": { "memberInfo": { "$ref": "#/components/schemas/MemberInfo" }, "typedValue": { "$ref": "#/components/schemas/CustomAttributeTypedArgument" }, "memberName": { "type": "string", "nullable": true, "readOnly": true }, "isField": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "CustomAttributeTypedArgument": { "type": "object", "properties": { "argumentType": { "$ref": "#/components/schemas/Type" }, "value": { "nullable": true, "readOnly": true } }, "additionalProperties": false }, "DiscoveryDocumentResponse": { "type": "object", "properties": { "httpResponse": { "$ref": "#/components/schemas/HttpResponseMessage" }, "raw": { "type": "string", "nullable": true, "readOnly": true }, "json": { "readOnly": true }, "exception": { "$ref": "#/components/schemas/Exception" }, "isError": { "type": "boolean", "readOnly": true }, "errorType": { "$ref": "#/components/schemas/ResponseErrorType" }, "httpStatusCode": { "$ref": "#/components/schemas/HttpStatusCode" }, "httpErrorReason": { "type": "string", "nullable": true, "readOnly": true }, "error": { "type": "string", "nullable": true, "readOnly": true }, "policy": { "$ref": "#/components/schemas/DiscoveryPolicy" }, "keySet": { "$ref": "#/components/schemas/JsonWebKeySet" }, "mtlsEndpointAliases": { "$ref": "#/components/schemas/MtlsEndpointAliases" }, "issuer": { "type": "string", "nullable": true, "readOnly": true }, "authorizeEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "tokenEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "userInfoEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "introspectionEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "revocationEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "deviceAuthorizationEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "jwksUri": { "type": "string", "nullable": true, "readOnly": true }, "endSessionEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "checkSessionIframe": { "type": "string", "nullable": true, "readOnly": true }, "registrationEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "frontChannelLogoutSupported": { "type": "boolean", "nullable": true, "readOnly": true }, "frontChannelLogoutSessionSupported": { "type": "boolean", "nullable": true, "readOnly": true }, "grantTypesSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "codeChallengeMethodsSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "scopesSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "subjectTypesSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "responseModesSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "responseTypesSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "claimsSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true }, "tokenEndpointAuthenticationMethodsSupported": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "DiscoveryPolicy": { "type": "object", "properties": { "authority": { "type": "string", "nullable": true }, "authorityValidationStrategy": { "$ref": "#/components/schemas/IAuthorityValidationStrategy" }, "requireHttps": { "type": "boolean" }, "allowHttpOnLoopback": { "type": "boolean" }, "validateIssuerName": { "type": "boolean" }, "validateEndpoints": { "type": "boolean" }, "endpointValidationExcludeList": { "type": "array", "items": { "type": "string" }, "nullable": true }, "additionalEndpointBaseAddresses": { "type": "array", "items": { "type": "string" }, "nullable": true }, "requireKeySet": { "type": "boolean" } }, "additionalProperties": false }, "EventAttributes": { "enum": [ 0, 512, 1024 ], "type": "integer", "format": "int32" }, "EventInfo": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "attributes": { "$ref": "#/components/schemas/EventAttributes" }, "isSpecialName": { "type": "boolean", "readOnly": true }, "addMethod": { "$ref": "#/components/schemas/MethodInfo" }, "removeMethod": { "$ref": "#/components/schemas/MethodInfo" }, "raiseMethod": { "$ref": "#/components/schemas/MethodInfo" }, "isMulticast": { "type": "boolean", "readOnly": true }, "eventHandlerType": { "$ref": "#/components/schemas/Type" } }, "additionalProperties": false }, "Exception": { "type": "object", "properties": { "targetSite": { "$ref": "#/components/schemas/MethodBase" }, "stackTrace": { "type": "string", "nullable": true, "readOnly": true }, "message": { "type": "string", "nullable": true, "readOnly": true }, "data": { "type": "object", "additionalProperties": { }, "nullable": true, "readOnly": true }, "innerException": { "$ref": "#/components/schemas/Exception" }, "helpLink": { "type": "string", "nullable": true }, "source": { "type": "string", "nullable": true }, "hResult": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "FieldAttributes": { "enum": [ 0, 1, 2, 3, 4, 5, 6, 7, 16, 32, 64, 128, 256, 512, 1024, 4096, 8192, 32768, 38144 ], "type": "integer", "format": "int32" }, "FieldInfo": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "attributes": { "$ref": "#/components/schemas/FieldAttributes" }, "fieldType": { "$ref": "#/components/schemas/Type" }, "isInitOnly": { "type": "boolean", "readOnly": true }, "isLiteral": { "type": "boolean", "readOnly": true }, "isNotSerialized": { "type": "boolean", "readOnly": true }, "isPinvokeImpl": { "type": "boolean", "readOnly": true }, "isSpecialName": { "type": "boolean", "readOnly": true }, "isStatic": { "type": "boolean", "readOnly": true }, "isAssembly": { "type": "boolean", "readOnly": true }, "isFamily": { "type": "boolean", "readOnly": true }, "isFamilyAndAssembly": { "type": "boolean", "readOnly": true }, "isFamilyOrAssembly": { "type": "boolean", "readOnly": true }, "isPrivate": { "type": "boolean", "readOnly": true }, "isPublic": { "type": "boolean", "readOnly": true }, "isSecurityCritical": { "type": "boolean", "readOnly": true }, "isSecuritySafeCritical": { "type": "boolean", "readOnly": true }, "isSecurityTransparent": { "type": "boolean", "readOnly": true }, "fieldHandle": { "$ref": "#/components/schemas/RuntimeFieldHandle" } }, "additionalProperties": false }, "GenericParameterAttributes": { "enum": [ 0, 1, 2, 3, 4, 8, 16, 28 ], "type": "integer", "format": "int32" }, "HttpContent": { "type": "object", "properties": { "headers": { "type": "array", "items": { "$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "HttpMethod": { "type": "object", "properties": { "method": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "HttpRequestMessage": { "type": "object", "properties": { "version": { "$ref": "#/components/schemas/Version" }, "content": { "$ref": "#/components/schemas/HttpContent" }, "method": { "$ref": "#/components/schemas/HttpMethod" }, "requestUri": { "type": "string", "format": "uri", "nullable": true }, "headers": { "type": "array", "items": { "$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair" }, "nullable": true, "readOnly": true }, "properties": { "type": "object", "additionalProperties": { }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "HttpResponseMessage": { "type": "object", "properties": { "version": { "$ref": "#/components/schemas/Version" }, "content": { "$ref": "#/components/schemas/HttpContent" }, "statusCode": { "$ref": "#/components/schemas/HttpStatusCode" }, "reasonPhrase": { "type": "string", "nullable": true }, "headers": { "type": "array", "items": { "$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair" }, "nullable": true, "readOnly": true }, "trailingHeaders": { "type": "array", "items": { "$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair" }, "nullable": true, "readOnly": true }, "requestMessage": { "$ref": "#/components/schemas/HttpRequestMessage" }, "isSuccessStatusCode": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "HttpStatusCode": { "enum": [ 100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511 ], "type": "integer", "format": "int32" }, "IAuthorityValidationStrategy": { "type": "object", "additionalProperties": false }, "ICustomAttributeProvider": { "type": "object", "additionalProperties": false }, "IntPtr": { "type": "object", "additionalProperties": false }, "JsonWebKey": { "type": "object", "properties": { "alg": { "type": "string", "nullable": true }, "crv": { "type": "string", "nullable": true }, "d": { "type": "string", "nullable": true }, "dp": { "type": "string", "nullable": true }, "dq": { "type": "string", "nullable": true }, "e": { "type": "string", "nullable": true }, "k": { "type": "string", "nullable": true }, "key_ops": { "type": "array", "items": { "type": "string" }, "nullable": true }, "kid": { "type": "string", "nullable": true }, "kty": { "type": "string", "nullable": true }, "n": { "type": "string", "nullable": true }, "oth": { "type": "array", "items": { "type": "string" }, "nullable": true }, "p": { "type": "string", "nullable": true }, "q": { "type": "string", "nullable": true }, "qi": { "type": "string", "nullable": true }, "use": { "type": "string", "nullable": true }, "x": { "type": "string", "nullable": true }, "x5c": { "type": "array", "items": { "type": "string" }, "nullable": true }, "x5t": { "type": "string", "nullable": true }, "x5t#S256": { "type": "string", "nullable": true }, "x5u": { "type": "string", "nullable": true }, "y": { "type": "string", "nullable": true }, "keySize": { "type": "integer", "format": "int32", "readOnly": true }, "hasPrivateKey": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "JsonWebKeySet": { "type": "object", "properties": { "keys": { "type": "array", "items": { "$ref": "#/components/schemas/JsonWebKey" }, "nullable": true } }, "additionalProperties": false }, "LayoutKind": { "enum": [ 0, 2, 3 ], "type": "integer", "format": "int32" }, "MemberInfo": { "type": "object", "properties": { "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "MemberTypes": { "enum": [ 1, 2, 4, 8, 16, 32, 64, 128, 191 ], "type": "integer", "format": "int32" }, "MethodAttributes": { "enum": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 53248 ], "type": "integer", "format": "int32" }, "MethodBase": { "type": "object", "properties": { "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "attributes": { "$ref": "#/components/schemas/MethodAttributes" }, "methodImplementationFlags": { "$ref": "#/components/schemas/MethodImplAttributes" }, "callingConvention": { "$ref": "#/components/schemas/CallingConventions" }, "isAbstract": { "type": "boolean", "readOnly": true }, "isConstructor": { "type": "boolean", "readOnly": true }, "isFinal": { "type": "boolean", "readOnly": true }, "isHideBySig": { "type": "boolean", "readOnly": true }, "isSpecialName": { "type": "boolean", "readOnly": true }, "isStatic": { "type": "boolean", "readOnly": true }, "isVirtual": { "type": "boolean", "readOnly": true }, "isAssembly": { "type": "boolean", "readOnly": true }, "isFamily": { "type": "boolean", "readOnly": true }, "isFamilyAndAssembly": { "type": "boolean", "readOnly": true }, "isFamilyOrAssembly": { "type": "boolean", "readOnly": true }, "isPrivate": { "type": "boolean", "readOnly": true }, "isPublic": { "type": "boolean", "readOnly": true }, "isConstructedGenericMethod": { "type": "boolean", "readOnly": true }, "isGenericMethod": { "type": "boolean", "readOnly": true }, "isGenericMethodDefinition": { "type": "boolean", "readOnly": true }, "containsGenericParameters": { "type": "boolean", "readOnly": true }, "methodHandle": { "$ref": "#/components/schemas/RuntimeMethodHandle" }, "isSecurityCritical": { "type": "boolean", "readOnly": true }, "isSecuritySafeCritical": { "type": "boolean", "readOnly": true }, "isSecurityTransparent": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "MethodImplAttributes": { "enum": [ 0, 1, 2, 3, 4, 8, 16, 32, 64, 128, 256, 512, 4096, 65535 ], "type": "integer", "format": "int32" }, "MethodInfo": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "attributes": { "$ref": "#/components/schemas/MethodAttributes" }, "methodImplementationFlags": { "$ref": "#/components/schemas/MethodImplAttributes" }, "callingConvention": { "$ref": "#/components/schemas/CallingConventions" }, "isAbstract": { "type": "boolean", "readOnly": true }, "isConstructor": { "type": "boolean", "readOnly": true }, "isFinal": { "type": "boolean", "readOnly": true }, "isHideBySig": { "type": "boolean", "readOnly": true }, "isSpecialName": { "type": "boolean", "readOnly": true }, "isStatic": { "type": "boolean", "readOnly": true }, "isVirtual": { "type": "boolean", "readOnly": true }, "isAssembly": { "type": "boolean", "readOnly": true }, "isFamily": { "type": "boolean", "readOnly": true }, "isFamilyAndAssembly": { "type": "boolean", "readOnly": true }, "isFamilyOrAssembly": { "type": "boolean", "readOnly": true }, "isPrivate": { "type": "boolean", "readOnly": true }, "isPublic": { "type": "boolean", "readOnly": true }, "isConstructedGenericMethod": { "type": "boolean", "readOnly": true }, "isGenericMethod": { "type": "boolean", "readOnly": true }, "isGenericMethodDefinition": { "type": "boolean", "readOnly": true }, "containsGenericParameters": { "type": "boolean", "readOnly": true }, "methodHandle": { "$ref": "#/components/schemas/RuntimeMethodHandle" }, "isSecurityCritical": { "type": "boolean", "readOnly": true }, "isSecuritySafeCritical": { "type": "boolean", "readOnly": true }, "isSecurityTransparent": { "type": "boolean", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "returnParameter": { "$ref": "#/components/schemas/ParameterInfo" }, "returnType": { "$ref": "#/components/schemas/Type" }, "returnTypeCustomAttributes": { "$ref": "#/components/schemas/ICustomAttributeProvider" } }, "additionalProperties": false }, "Module": { "type": "object", "properties": { "assembly": { "$ref": "#/components/schemas/Assembly" }, "fullyQualifiedName": { "type": "string", "nullable": true, "readOnly": true }, "name": { "type": "string", "nullable": true, "readOnly": true }, "mdStreamVersion": { "type": "integer", "format": "int32", "readOnly": true }, "moduleVersionId": { "type": "string", "format": "uuid", "readOnly": true }, "scopeName": { "type": "string", "nullable": true, "readOnly": true }, "moduleHandle": { "$ref": "#/components/schemas/ModuleHandle" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "ModuleHandle": { "type": "object", "properties": { "mdStreamVersion": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "MtlsEndpointAliases": { "type": "object", "properties": { "json": { "readOnly": true }, "tokenEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "revocationEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "deviceAuthorizationEndpoint": { "type": "string", "nullable": true, "readOnly": true }, "introspectionEndpoint": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ParameterAttributes": { "enum": [ 0, 1, 2, 4, 8, 16, 4096, 8192, 16384, 32768, 61440 ], "type": "integer", "format": "int32" }, "ParameterInfo": { "type": "object", "properties": { "attributes": { "$ref": "#/components/schemas/ParameterAttributes" }, "member": { "$ref": "#/components/schemas/MemberInfo" }, "name": { "type": "string", "nullable": true, "readOnly": true }, "parameterType": { "$ref": "#/components/schemas/Type" }, "position": { "type": "integer", "format": "int32", "readOnly": true }, "isIn": { "type": "boolean", "readOnly": true }, "isLcid": { "type": "boolean", "readOnly": true }, "isOptional": { "type": "boolean", "readOnly": true }, "isOut": { "type": "boolean", "readOnly": true }, "isRetval": { "type": "boolean", "readOnly": true }, "defaultValue": { "nullable": true, "readOnly": true }, "rawDefaultValue": { "nullable": true, "readOnly": true }, "hasDefaultValue": { "type": "boolean", "readOnly": true }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "PropertyAttributes": { "enum": [ 0, 512, 1024, 4096, 8192, 16384, 32768, 62464 ], "type": "integer", "format": "int32" }, "PropertyInfo": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "module": { "$ref": "#/components/schemas/Module" }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "propertyType": { "$ref": "#/components/schemas/Type" }, "attributes": { "$ref": "#/components/schemas/PropertyAttributes" }, "isSpecialName": { "type": "boolean", "readOnly": true }, "canRead": { "type": "boolean", "readOnly": true }, "canWrite": { "type": "boolean", "readOnly": true }, "getMethod": { "$ref": "#/components/schemas/MethodInfo" }, "setMethod": { "$ref": "#/components/schemas/MethodInfo" } }, "additionalProperties": false }, "ResponseErrorType": { "enum": [ 0, 1, 2, 3, 4 ], "type": "integer", "format": "int32" }, "RuntimeFieldHandle": { "type": "object", "properties": { "value": { "$ref": "#/components/schemas/IntPtr" } }, "additionalProperties": false }, "RuntimeMethodHandle": { "type": "object", "properties": { "value": { "$ref": "#/components/schemas/IntPtr" } }, "additionalProperties": false }, "RuntimeTypeHandle": { "type": "object", "properties": { "value": { "$ref": "#/components/schemas/IntPtr" } }, "additionalProperties": false }, "SecurityRuleSet": { "enum": [ 0, 1, 2 ], "type": "integer", "format": "int32" }, "StringIdentityUserRole": { "type": "object", "properties": { "userId": { "type": "string", "nullable": true }, "roleId": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StringStringIEnumerableKeyValuePair": { "type": "object", "properties": { "key": { "type": "string", "nullable": true, "readOnly": true }, "value": { "type": "array", "items": { "type": "string" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "StructLayoutAttribute": { "type": "object", "properties": { "typeId": { "nullable": true, "readOnly": true }, "value": { "$ref": "#/components/schemas/LayoutKind" } }, "additionalProperties": false }, "TimeSpan": { "type": "object", "properties": { "ticks": { "type": "integer", "format": "int64", "readOnly": true }, "days": { "type": "integer", "format": "int32", "readOnly": true }, "hours": { "type": "integer", "format": "int32", "readOnly": true }, "milliseconds": { "type": "integer", "format": "int32", "readOnly": true }, "minutes": { "type": "integer", "format": "int32", "readOnly": true }, "seconds": { "type": "integer", "format": "int32", "readOnly": true }, "totalDays": { "type": "number", "format": "double", "readOnly": true }, "totalHours": { "type": "number", "format": "double", "readOnly": true }, "totalMilliseconds": { "type": "number", "format": "double", "readOnly": true }, "totalMinutes": { "type": "number", "format": "double", "readOnly": true }, "totalSeconds": { "type": "number", "format": "double", "readOnly": true } }, "additionalProperties": false }, "Type": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "typeHandle": { "$ref": "#/components/schemas/RuntimeTypeHandle" }, "isInterface": { "type": "boolean", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "namespace": { "type": "string", "nullable": true, "readOnly": true }, "assemblyQualifiedName": { "type": "string", "nullable": true, "readOnly": true }, "fullName": { "type": "string", "nullable": true, "readOnly": true }, "assembly": { "$ref": "#/components/schemas/Assembly" }, "module": { "$ref": "#/components/schemas/Module" }, "isNested": { "type": "boolean", "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "declaringMethod": { "$ref": "#/components/schemas/MethodBase" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "underlyingSystemType": { "$ref": "#/components/schemas/Type" }, "isTypeDefinition": { "type": "boolean", "readOnly": true }, "isArray": { "type": "boolean", "readOnly": true }, "isByRef": { "type": "boolean", "readOnly": true }, "isPointer": { "type": "boolean", "readOnly": true }, "isConstructedGenericType": { "type": "boolean", "readOnly": true }, "isGenericParameter": { "type": "boolean", "readOnly": true }, "isGenericTypeParameter": { "type": "boolean", "readOnly": true }, "isGenericMethodParameter": { "type": "boolean", "readOnly": true }, "isGenericType": { "type": "boolean", "readOnly": true }, "isGenericTypeDefinition": { "type": "boolean", "readOnly": true }, "isSZArray": { "type": "boolean", "readOnly": true }, "isVariableBoundArray": { "type": "boolean", "readOnly": true }, "isByRefLike": { "type": "boolean", "readOnly": true }, "hasElementType": { "type": "boolean", "readOnly": true }, "genericTypeArguments": { "type": "array", "items": { "$ref": "#/components/schemas/Type" }, "nullable": true, "readOnly": true }, "genericParameterPosition": { "type": "integer", "format": "int32", "readOnly": true }, "genericParameterAttributes": { "$ref": "#/components/schemas/GenericParameterAttributes" }, "attributes": { "$ref": "#/components/schemas/TypeAttributes" }, "isAbstract": { "type": "boolean", "readOnly": true }, "isImport": { "type": "boolean", "readOnly": true }, "isSealed": { "type": "boolean", "readOnly": true }, "isSpecialName": { "type": "boolean", "readOnly": true }, "isClass": { "type": "boolean", "readOnly": true }, "isNestedAssembly": { "type": "boolean", "readOnly": true }, "isNestedFamANDAssem": { "type": "boolean", "readOnly": true }, "isNestedFamily": { "type": "boolean", "readOnly": true }, "isNestedFamORAssem": { "type": "boolean", "readOnly": true }, "isNestedPrivate": { "type": "boolean", "readOnly": true }, "isNestedPublic": { "type": "boolean", "readOnly": true }, "isNotPublic": { "type": "boolean", "readOnly": true }, "isPublic": { "type": "boolean", "readOnly": true }, "isAutoLayout": { "type": "boolean", "readOnly": true }, "isExplicitLayout": { "type": "boolean", "readOnly": true }, "isLayoutSequential": { "type": "boolean", "readOnly": true }, "isAnsiClass": { "type": "boolean", "readOnly": true }, "isAutoClass": { "type": "boolean", "readOnly": true }, "isUnicodeClass": { "type": "boolean", "readOnly": true }, "isCOMObject": { "type": "boolean", "readOnly": true }, "isContextful": { "type": "boolean", "readOnly": true }, "isEnum": { "type": "boolean", "readOnly": true }, "isMarshalByRef": { "type": "boolean", "readOnly": true }, "isPrimitive": { "type": "boolean", "readOnly": true }, "isValueType": { "type": "boolean", "readOnly": true }, "isSignatureType": { "type": "boolean", "readOnly": true }, "isSecurityCritical": { "type": "boolean", "readOnly": true }, "isSecuritySafeCritical": { "type": "boolean", "readOnly": true }, "isSecurityTransparent": { "type": "boolean", "readOnly": true }, "structLayoutAttribute": { "$ref": "#/components/schemas/StructLayoutAttribute" }, "typeInitializer": { "$ref": "#/components/schemas/ConstructorInfo" }, "guid": { "type": "string", "format": "uuid", "readOnly": true }, "baseType": { "$ref": "#/components/schemas/Type" }, "isSerializable": { "type": "boolean", "readOnly": true }, "containsGenericParameters": { "type": "boolean", "readOnly": true }, "isVisible": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "TypeAttributes": { "enum": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 128, 256, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 196608, 262144, 264192, 1048576, 12582912 ], "type": "integer", "format": "int32" }, "TypeInfo": { "type": "object", "properties": { "name": { "type": "string", "nullable": true, "readOnly": true }, "customAttributes": { "type": "array", "items": { "$ref": "#/components/schemas/CustomAttributeData" }, "nullable": true, "readOnly": true }, "isCollectible": { "type": "boolean", "readOnly": true }, "metadataToken": { "type": "integer", "format": "int32", "readOnly": true }, "isInterface": { "type": "boolean", "readOnly": true }, "memberType": { "$ref": "#/components/schemas/MemberTypes" }, "namespace": { "type": "string", "nullable": true, "readOnly": true }, "assemblyQualifiedName": { "type": "string", "nullable": true, "readOnly": true }, "fullName": { "type": "string", "nullable": true, "readOnly": true }, "assembly": { "$ref": "#/components/schemas/Assembly" }, "module": { "$ref": "#/components/schemas/Module" }, "isNested": { "type": "boolean", "readOnly": true }, "declaringType": { "$ref": "#/components/schemas/Type" }, "declaringMethod": { "$ref": "#/components/schemas/MethodBase" }, "reflectedType": { "$ref": "#/components/schemas/Type" }, "underlyingSystemType": { "$ref": "#/components/schemas/Type" }, "isTypeDefinition": { "type": "boolean", "readOnly": true }, "isArray": { "type": "boolean", "readOnly": true }, "isByRef": { "type": "boolean", "readOnly": true }, "isPointer": { "type": "boolean", "readOnly": true }, "isConstructedGenericType": { "type": "boolean", "readOnly": true }, "isGenericParameter": { "type": "boolean", "readOnly": true }, "isGenericTypeParameter": { "type": "boolean", "readOnly": true }, "isGenericMethodParameter": { "type": "boolean", "readOnly": true }, "isGenericType": { "type": "boolean", "readOnly": true }, "isGenericTypeDefinition": { "type": "boolean", "readOnly": true }, "isSZArray": { "type": "boolean", "readOnly": true }, "isVariableBoundArray": { "type": "boolean", "readOnly": true }, "isByRefLike": { "type": "boolean", "readOnly": true }, "hasElementType": { "type": "boolean", "readOnly": true }, "genericTypeArguments": { "type": "array", "items": { "$ref": "#/components/schemas/Type" }, "nullable": true, "readOnly": true }, "genericParameterPosition": { "type": "integer", "format": "int32", "readOnly": true }, "genericParameterAttributes": { "$ref": "#/components/schemas/GenericParameterAttributes" }, "attributes": { "$ref": "#/components/schemas/TypeAttributes" }, "isAbstract": { "type": "boolean", "readOnly": true }, "isImport": { "type": "boolean", "readOnly": true }, "isSealed": { "type": "boolean", "readOnly": true }, "isSpecialName": { "type": "boolean", "readOnly": true }, "isClass": { "type": "boolean", "readOnly": true }, "isNestedAssembly": { "type": "boolean", "readOnly": true }, "isNestedFamANDAssem": { "type": "boolean", "readOnly": true }, "isNestedFamily": { "type": "boolean", "readOnly": true }, "isNestedFamORAssem": { "type": "boolean", "readOnly": true }, "isNestedPrivate": { "type": "boolean", "readOnly": true }, "isNestedPublic": { "type": "boolean", "readOnly": true }, "isNotPublic": { "type": "boolean", "readOnly": true }, "isPublic": { "type": "boolean", "readOnly": true }, "isAutoLayout": { "type": "boolean", "readOnly": true }, "isExplicitLayout": { "type": "boolean", "readOnly": true }, "isLayoutSequential": { "type": "boolean", "readOnly": true }, "isAnsiClass": { "type": "boolean", "readOnly": true }, "isAutoClass": { "type": "boolean", "readOnly": true }, "isUnicodeClass": { "type": "boolean", "readOnly": true }, "isCOMObject": { "type": "boolean", "readOnly": true }, "isContextful": { "type": "boolean", "readOnly": true }, "isEnum": { "type": "boolean", "readOnly": true }, "isMarshalByRef": { "type": "boolean", "readOnly": true }, "isPrimitive": { "type": "boolean", "readOnly": true }, "isValueType": { "type": "boolean", "readOnly": true }, "isSignatureType": { "type": "boolean", "readOnly": true }, "isSecurityCritical": { "type": "boolean", "readOnly": true }, "isSecuritySafeCritical": { "type": "boolean", "readOnly": true }, "isSecurityTransparent": { "type": "boolean", "readOnly": true }, "structLayoutAttribute": { "$ref": "#/components/schemas/StructLayoutAttribute" }, "typeInitializer": { "$ref": "#/components/schemas/ConstructorInfo" }, "typeHandle": { "$ref": "#/components/schemas/RuntimeTypeHandle" }, "guid": { "type": "string", "format": "uuid", "readOnly": true }, "baseType": { "$ref": "#/components/schemas/Type" }, "isSerializable": { "type": "boolean", "readOnly": true }, "containsGenericParameters": { "type": "boolean", "readOnly": true }, "isVisible": { "type": "boolean", "readOnly": true }, "genericTypeParameters": { "type": "array", "items": { "$ref": "#/components/schemas/Type" }, "nullable": true, "readOnly": true }, "declaredConstructors": { "type": "array", "items": { "$ref": "#/components/schemas/ConstructorInfo" }, "nullable": true, "readOnly": true }, "declaredEvents": { "type": "array", "items": { "$ref": "#/components/schemas/EventInfo" }, "nullable": true, "readOnly": true }, "declaredFields": { "type": "array", "items": { "$ref": "#/components/schemas/FieldInfo" }, "nullable": true, "readOnly": true }, "declaredMembers": { "type": "array", "items": { "$ref": "#/components/schemas/MemberInfo" }, "nullable": true, "readOnly": true }, "declaredMethods": { "type": "array", "items": { "$ref": "#/components/schemas/MethodInfo" }, "nullable": true, "readOnly": true }, "declaredNestedTypes": { "type": "array", "items": { "$ref": "#/components/schemas/TypeInfo" }, "nullable": true, "readOnly": true }, "declaredProperties": { "type": "array", "items": { "$ref": "#/components/schemas/PropertyInfo" }, "nullable": true, "readOnly": true }, "implementedInterfaces": { "type": "array", "items": { "$ref": "#/components/schemas/Type" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Version": { "type": "object", "properties": { "major": { "type": "integer", "format": "int32", "readOnly": true }, "minor": { "type": "integer", "format": "int32", "readOnly": true }, "build": { "type": "integer", "format": "int32", "readOnly": true }, "revision": { "type": "integer", "format": "int32", "readOnly": true }, "majorRevision": { "type": "integer", "format": "int32", "readOnly": true }, "minorRevision": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "XActionRequest": { "type": "object", "properties": { "lang": { "type": "string", "description": "Client Device Locale", "nullable": true }, "actionToken": { "type": "string", "description": "Requested Action Token", "nullable": true }, "device": { "$ref": "#/components/schemas/XDevice" }, "firstName": { "type": "string", "description": "FirstName", "nullable": true }, "lastName": { "type": "string", "description": "LastName", "nullable": true }, "dateOfBirth": { "type": "string", "description": "an Optional Value which represetns User's DateOfBirth", "format": "date-time", "nullable": true }, "userId": { "type": "string", "description": "User's Id", "nullable": true }, "userName": { "type": "string", "description": "UserName", "nullable": true }, "email": { "type": "string", "description": "Email", "nullable": true }, "mobileNumber": { "type": "string", "description": "MobileNumber / PhoneNumber", "nullable": true }, "password": { "type": "string", "description": "Password", "nullable": true }, "newPassword": { "type": "string", "description": "NewPassword", "nullable": true }, "emailVerificationCode": { "type": "string", "description": "EmailVerificationCode", "nullable": true }, "mobileVerificationCode": { "type": "string", "description": "MobileVerificationCode", "nullable": true }, "thumbnail": { "type": "string", "description": "Thumbnail", "format": "binary", "nullable": true }, "returnUrl": { "type": "string", "description": "ReturnUrl", "nullable": true } }, "additionalProperties": false, "description": "represent a system wide actions" }, "XActionResponse": { "type": "object", "properties": { "token": { "type": "string", "description": "ActionToken", "nullable": true }, "expiration": { "type": "string", "description": "ActionToken Lifetime", "format": "date-time" } }, "additionalProperties": false, "description": "represent a system wide action result" }, "XAiChatRole": { "enum": [ 0, 1, 2, 3, 4 ], "type": "integer", "format": "int32" }, "XAiConversationDto": { "type": "object", "properties": { "id": { "type": "string", "description": "Entity Id", "format": "uuid" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "ownerId": { "type": "string", "description": "User Identifier ...", "nullable": true }, "owner": { "$ref": "#/components/schemas/XPersonDto" }, "title": { "type": "string", "description": "Conversation Title Resource ID ...", "nullable": true }, "titleResource": { "$ref": "#/components/schemas/XResourceDto" }, "createdOn": { "type": "string", "description": "Created Time ...", "format": "date-time" }, "updatedAt": { "type": "string", "description": "Updated Time ...", "format": "date-time" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/XAiMessageDto" }, "description": "Conversation Messages ...", "nullable": true }, "projectId": { "type": "string", "description": "Project ID ...", "format": "uuid" }, "projectTitle": { "type": "string", "description": "Project Title Resource ID ...", "nullable": true }, "projectDescription": { "type": "string", "description": "Project Description Resource ID ...", "nullable": true }, "projectTitleResource": { "$ref": "#/components/schemas/XResourceDto" }, "projectDescriptionResource": { "$ref": "#/components/schemas/XResourceDto" } }, "additionalProperties": false, "description": "Conversation Describe ..." }, "XAiConversationDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XAiConversationDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XAiDocumentAnswer": { "type": "object", "properties": { "sessionId": { "type": "string", "description": "Session Identifier ...", "format": "uuid" }, "answer": { "type": "string", "description": "Generated Answer ...", "nullable": true }, "noContextFound": { "type": "boolean", "description": "True when no Relevant Chunk Found in Session ..." }, "sources": { "type": "array", "items": { "$ref": "#/components/schemas/XAiDocumentSource" }, "description": "Sources used for Generating Answer ...", "nullable": true } }, "additionalProperties": false, "description": "Answer of a Chat With Documents Request ..." }, "XAiDocumentAskRequest": { "type": "object", "properties": { "sessionId": { "type": "string", "description": "Session Identifier ...", "format": "uuid" }, "prompt": { "type": "string", "description": "User Question ...", "nullable": true }, "topK": { "type": "integer", "description": "Count of Top Chunks used as Context (Optional) ...", "format": "int32", "nullable": true }, "minScore": { "type": "number", "description": "Minimum Similarity Score of Chunks (Optional) ...", "format": "float", "nullable": true } }, "additionalProperties": false, "description": "Request for Asking a Question over Ingested Documents ..." }, "XAiDocumentIngestResult": { "type": "object", "properties": { "sessionId": { "type": "string", "description": "Session Identifier which must be used in Ask Requests ...", "format": "uuid" }, "filesCount": { "type": "integer", "description": "Count of Successfully Processed Files ...", "format": "int32" }, "chunksCount": { "type": "integer", "description": "Count of Chunks (Vectors) Added to Session ...", "format": "int32" }, "totalVectorsCount": { "type": "integer", "description": "Total Vectors Count in Session after Ingest ...", "format": "int32" }, "skippedFiles": { "type": "array", "items": { "type": "string" }, "description": "Files which Skipped (Unsupported / Empty / Failed) ...", "nullable": true }, "expiresAtUtc": { "type": "string", "description": "Session Expiration Time (UTC) based on Last Access ...", "format": "date-time" } }, "additionalProperties": false, "description": "Result of Ingesting Documents into an In-Memory Session ..." }, "XAiDocumentSessionInfo": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "ttl": { "$ref": "#/components/schemas/TimeSpan" }, "vectorsCount": { "type": "integer", "format": "int32" }, "createdAtUtc": { "type": "string", "format": "date-time" }, "lastAccessAtUtc": { "type": "string", "format": "date-time" }, "expiresAtUtc": { "type": "string", "format": "date-time" }, "files": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false, "description": "Public Info of a Document Session (without Embeddings) ..." }, "XAiDocumentSource": { "type": "object", "properties": { "identifier": { "type": "string", "description": "Doc and Chunk Identifier (e.g. \"file.pdf#3\") ...", "nullable": true }, "fileName": { "type": "string", "description": "Source File Name ...", "nullable": true }, "chunkIndex": { "type": "integer", "description": "Chunk Index in Source File ...", "format": "int32", "nullable": true }, "score": { "type": "number", "description": "Similarity Score ...", "format": "float" }, "snippet": { "type": "string", "description": "Short Snippet of Chunk Text ...", "nullable": true }, "scope": { "type": "string", "description": "Knowledge Scope the Chunk Retrieved from (Null for Session Based Documents) ...", "nullable": true }, "type": { "type": "string", "description": "Knowledge Type of the Chunk ...", "nullable": true } }, "additionalProperties": false, "description": "a Source Chunk which used for Generating Answer ..." }, "XAiKnowledgeDocumentInfo": { "type": "object", "properties": { "scope": { "$ref": "#/components/schemas/XAiKnowledgeScope" }, "scopeId": { "type": "string", "description": "Scope Identifier (Null for Global) ...", "format": "uuid", "nullable": true }, "type": { "type": "string", "description": "Knowledge Type ...", "nullable": true }, "fileName": { "type": "string", "description": "File Name ...", "nullable": true }, "mimeType": { "type": "string", "description": "Mime Type ...", "nullable": true }, "ownerId": { "type": "string", "description": "Ingesting User Identifier ...", "nullable": true }, "chunksCount": { "type": "integer", "description": "Count of Stored Chunks ...", "format": "int32" }, "ingestedAtUtc": { "type": "string", "description": "Ingestion Time (UTC) ...", "format": "date-time", "nullable": true } }, "additionalProperties": false, "description": "Ingested Document Info ..." }, "XAiKnowledgeIngestResult": { "type": "object", "properties": { "scope": { "$ref": "#/components/schemas/XAiKnowledgeScope" }, "scopeId": { "type": "string", "description": "Target Scope Identifier (Null for Global) ...", "format": "uuid", "nullable": true }, "type": { "type": "string", "description": "Knowledge Type of Ingested Vectors ...", "nullable": true }, "filesCount": { "type": "integer", "description": "Count of Successfully Ingested Files ...", "format": "int32" }, "chunksCount": { "type": "integer", "description": "Count of Stored Chunks (Vectors) in this Request ...", "format": "int32" }, "replacedCount": { "type": "integer", "description": "Count of Removed Stale Vectors (Re-Ingest) ...", "format": "int32" }, "skippedFiles": { "type": "array", "items": { "type": "string" }, "description": "Skipped Files (Empty, Unsupported or Extraction Failed) ...", "nullable": true }, "documents": { "type": "array", "items": { "$ref": "#/components/schemas/XAiKnowledgeDocumentInfo" }, "description": "Ingested Documents Info ...", "nullable": true } }, "additionalProperties": false, "description": "Result of Ingesting Files into Persistent Knowledge Base (XAiVector Table) ..." }, "XAiKnowledgeScope": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "description": "Knowledge Base Scope (Where Ingested Vectors are Visible) ...\r\nIdentifier Layout: \"{scopePrefix}/{scopeKey}/{fileName}#{chunkIndex}\" (Global has no scopeKey) ...", "format": "int32" }, "XAiMcpServerDto": { "type": "object", "properties": { "id": { "type": "string", "description": "Entity Id", "format": "uuid" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "ownerId": { "type": "string", "description": "Owner ...", "nullable": true }, "owner": { "$ref": "#/components/schemas/XPersonDto" }, "scope": { "$ref": "#/components/schemas/XAiMcpServerUsageScope" }, "name": { "type": "string", "description": "MCP Server Name ...", "nullable": true }, "description": { "type": "string", "description": "Description ...", "nullable": true }, "enabled": { "type": "boolean", "description": "Enabled or Disabled ..." }, "environmentVariables": { "type": "string", "description": "Environment Variables as JSON Object ...", "nullable": true }, "endpoint": { "type": "string", "description": "Endpoint to Connect ...", "nullable": true }, "headers": { "type": "string", "description": "Headers List as Json Object ...", "nullable": true }, "timeoutSeconds": { "type": "integer", "description": "Timout Secconds ...", "format": "int32" }, "createdOn": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "XAiMcpServerDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XAiMcpServerDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XAiMcpServerUsageScope": { "enum": [ 1, 2 ], "type": "integer", "format": "int32" }, "XAiMessageDto": { "type": "object", "properties": { "id": { "type": "string", "description": "Entity Id", "format": "uuid" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "ownerId": { "type": "string", "description": "User Identifier ...", "nullable": true }, "owner": { "$ref": "#/components/schemas/XPersonDto" }, "content": { "type": "string", "description": "Message of Chat ...", "nullable": true }, "role": { "$ref": "#/components/schemas/XAiChatRole" }, "createdOn": { "type": "string", "description": "Created Time ...", "format": "date-time" }, "updatedAt": { "type": "string", "description": "Updated Time ...", "format": "date-time" }, "conversationId": { "type": "string", "description": "Conversation Id ...", "format": "uuid" }, "conversationTitle": { "type": "string", "description": "Conversation Info ...", "nullable": true }, "conversationTitleResouce": { "$ref": "#/components/schemas/XResourceDto" }, "metadata": { "type": "object", "additionalProperties": { }, "description": "Meta Data of Message ...", "nullable": true, "readOnly": true }, "metaDatas": { "type": "string", "description": "Meta Data of MEssage in Json ...", "nullable": true } }, "additionalProperties": false }, "XAiMessageDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XAiMessageDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XAiProjectDto": { "type": "object", "properties": { "id": { "type": "string", "description": "Entity Id", "format": "uuid" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "ownerId": { "type": "string", "description": "User Identifier ...", "nullable": true }, "owner": { "$ref": "#/components/schemas/XPersonDto" }, "title": { "type": "string", "description": "Title of Project ...", "nullable": true }, "titleResource": { "$ref": "#/components/schemas/XResourceDto" }, "description": { "type": "string", "description": "Description of Project ...", "nullable": true }, "descriptionResource": { "$ref": "#/components/schemas/XResourceDto" }, "prompt": { "type": "string", "description": "a Prompt for Project Start ...", "nullable": true }, "createdOn": { "type": "string", "description": "Created Time ...", "format": "date-time" }, "updatedAt": { "type": "string", "description": "Updated Time ...", "format": "date-time" }, "conversations": { "type": "array", "items": { "$ref": "#/components/schemas/XAiConversationDto" }, "description": "Conversations ...", "nullable": true } }, "additionalProperties": false, "description": "Describe a Project ..." }, "XAiProjectDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XAiProjectDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XAiResponseRequest": { "type": "object", "properties": { "prompt": { "type": "string", "description": "Prompt Text ...", "nullable": true }, "type": { "type": "string", "description": "Knowledge Type ...", "nullable": true }, "topK": { "type": "integer", "description": "Provided TopK in Vector Searchs ...", "format": "int32", "nullable": true }, "minScore": { "type": "number", "description": "Min Score for Vector Searchs ...", "format": "float", "nullable": true }, "projectId": { "type": "string", "description": "Specified Project Id ...", "format": "uuid", "nullable": true }, "conversationId": { "type": "string", "description": "Specified Conversation Id ...", "format": "uuid", "nullable": true } }, "additionalProperties": false, "description": "/Request for a Response in Controllers ..." }, "XApiKeyDto": { "type": "object", "properties": { "id": { "type": "string", "description": "Entity Id", "format": "uuid" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "applicationId": { "type": "integer", "description": "Related Application Id ...", "format": "int32" }, "keyHash": { "type": "string", "description": "Hash ...\r\nSHA256 of ApiKey ...", "nullable": true }, "keyPrefix": { "type": "string", "description": "a Prefix ...", "nullable": true }, "expiresAt": { "type": "string", "description": "Expiration Type ...", "format": "date-time" }, "createdOn": { "type": "string", "description": "Cration Time ...", "format": "date-time" }, "lastUsedAt": { "type": "string", "description": "Last Usage Date ...", "format": "date-time", "nullable": true }, "revokedAt": { "type": "string", "description": "Revoked Time ...", "format": "date-time", "nullable": true }, "revokedBy": { "type": "string", "description": "Revoker User Id ...", "nullable": true }, "allowedScopes": { "type": "string", "description": "a Json Array String ...\r\nXApiKeyScope ...", "nullable": true }, "allowedIPs": { "type": "string", "description": "a Comma-separated List which Specified White List IP ...", "nullable": true }, "rateLimitPerMinute": { "type": "integer", "description": "Rate Limit Per Minute ...", "format": "int32" }, "application": { "$ref": "#/components/schemas/XApplicationDto" } }, "additionalProperties": false, "description": "an Specified Api Key ..." }, "XApiKeyDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XApiKeyDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XApiKeyUsageDto": { "type": "object", "properties": { "id": { "type": "integer", "description": "Entity Id", "format": "int64" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "apiKeyId": { "type": "string", "description": "Api Key Id ...", "format": "uuid" }, "endpoint": { "type": "string", "description": "Called Endpoint ...", "nullable": true }, "httpMethod": { "type": "string", "description": "Called Http Method ...", "nullable": true }, "clientIP": { "type": "string", "description": "Client IP Address ...", "nullable": true }, "statusCode": { "type": "integer", "description": "Status Code ...", "format": "int32" }, "requestedOn": { "type": "string", "description": "Request Time ...", "format": "date-time" }, "responseTimeMs": { "type": "integer", "description": "Response Time in Milliseconds ...", "format": "int64" } }, "additionalProperties": false }, "XApiKeyUsageDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XApiKeyUsageDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XApiKeyValidationRequest": { "type": "object", "properties": { "apiKey": { "type": "string", "nullable": true }, "clientIP": { "type": "string", "nullable": true }, "requiredScope": { "type": "string", "nullable": true } }, "additionalProperties": false }, "XApiKeyValidationResult": { "type": "object", "properties": { "ownerId": { "type": "string", "nullable": true }, "applicationId": { "type": "integer", "format": "int32" }, "owner": { "$ref": "#/components/schemas/XPersonDto" }, "scopes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "errors": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "XApiScope": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "format": "int32" }, "XApplicationDto": { "type": "object", "properties": { "id": { "type": "integer", "description": "Entity Id", "format": "int32" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "name": { "type": "string", "description": "Name ...", "nullable": true }, "description": { "type": "string", "description": "Descriptor ...", "nullable": true }, "ownerId": { "type": "string", "description": "Owner Id ...", "nullable": true }, "owner": { "$ref": "#/components/schemas/XPersonDto" }, "type": { "$ref": "#/components/schemas/XApplicationType" }, "isActive": { "type": "boolean", "description": "Specified Application is Active or not ..." }, "createdOn": { "type": "string", "description": "Application Create Time ...", "format": "date-time" }, "updatedAt": { "type": "string", "description": "Application Update Type ...", "format": "date-time" } }, "additionalProperties": false, "description": "an Application in xDashboard ..." }, "XApplicationDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XApplicationDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XApplicationType": { "enum": [ 0, 1, 2, 3, 4, 5 ], "type": "integer", "format": "int32" }, "XCreateApiKeyRequest": { "type": "object", "properties": { "rateLimit": { "type": "integer", "format": "int32", "nullable": true }, "expirationMinutes": { "type": "integer", "format": "int32", "nullable": true }, "scopes": { "type": "array", "items": { "type": "string" }, "nullable": true }, "allowedIPs": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false, "description": "Create Specified Api Key ..." }, "XDevice": { "required": [ "id" ], "type": "object", "properties": { "id": { "type": "integer", "description": "Entity Id", "format": "int32" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "os": { "type": "string", "description": "Operating System", "nullable": true }, "osVersion": { "type": "string", "description": "Operating System Version", "nullable": true }, "browser": { "type": "string", "description": "Device Browser", "nullable": true }, "userAgent": { "type": "string", "description": "Browser Engine Agent", "nullable": true }, "deviceType": { "$ref": "#/components/schemas/XDeviceType" }, "userId": { "type": "string", "description": "UserId", "nullable": true }, "user": { "$ref": "#/components/schemas/XUser" } }, "additionalProperties": false, "description": "Represent a Client Device which used by User" }, "XDeviceDto": { "type": "object", "properties": { "os": { "type": "string", "description": "Operating System", "nullable": true }, "osVersion": { "type": "string", "description": "Operating System Version", "nullable": true }, "browser": { "type": "string", "description": "Device Browser", "nullable": true }, "userAgent": { "type": "string", "description": "Browser Engine Agent", "nullable": true }, "deviceType": { "$ref": "#/components/schemas/XDeviceType" } }, "additionalProperties": false }, "XDeviceType": { "enum": [ 0, 1, 2, 3 ], "type": "integer", "description": "a collection of available Client Devices", "format": "int32" }, "XFriendDto": { "type": "object", "properties": { "avatar": { "type": "string", "nullable": true }, "userId": { "type": "string", "nullable": true }, "username": { "type": "string", "nullable": true }, "lastname": { "type": "string", "nullable": true }, "firstname": { "type": "string", "nullable": true }, "type": { "$ref": "#/components/schemas/XFriendshipType" }, "state": { "$ref": "#/components/schemas/XFriendshipState" } }, "additionalProperties": false, "description": "a DTO Class Which Represent a User Friends ..." }, "XFriendDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XFriendDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XFriendshipFollower": { "required": [ "id" ], "type": "object", "properties": { "id": { "type": "integer", "description": "Entity Id", "format": "int32" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "state": { "$ref": "#/components/schemas/XFriendshipState" }, "userId": { "type": "string", "description": "UserId", "nullable": true }, "user": { "$ref": "#/components/schemas/XUser" }, "destId": { "type": "string", "description": "DestId", "nullable": true }, "dest": { "$ref": "#/components/schemas/XUser" } }, "additionalProperties": false, "description": "represent a Follower of specific User" }, "XFriendshipFollowing": { "required": [ "id" ], "type": "object", "properties": { "id": { "type": "integer", "description": "Entity Id", "format": "int32" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "state": { "$ref": "#/components/schemas/XFriendshipState" }, "userId": { "type": "string", "description": "UserId", "nullable": true }, "user": { "$ref": "#/components/schemas/XUser" }, "destId": { "type": "string", "description": "DestId", "nullable": true }, "dest": { "$ref": "#/components/schemas/XUser" } }, "additionalProperties": false, "description": "represent a Following of specific User" }, "XFriendshipInfoDto": { "type": "object", "properties": { "userId": { "type": "string", "nullable": true }, "isFollower": { "type": "boolean" }, "isFollowing": { "type": "boolean" }, "followerState": { "$ref": "#/components/schemas/XFriendshipState" }, "followingState": { "$ref": "#/components/schemas/XFriendshipState" }, "followers": { "type": "integer", "format": "int64" }, "followings": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "XFriendshipState": { "enum": [ 0, 1, 2, 3, 4 ], "type": "integer", "description": "Represent State of Friendship between to Users", "format": "int32" }, "XFriendshipType": { "enum": [ 0, 1 ], "type": "integer", "description": "All Available Friendship Types ...", "format": "int32" }, "XGender": { "enum": [ 0, 1 ], "type": "integer", "description": "Determines Available Genders", "format": "int32" }, "XLocaleResourceDto": { "type": "object", "properties": { "language": { "type": "string", "nullable": true }, "value": { "type": "string", "nullable": true } }, "additionalProperties": false }, "XLoginRequest": { "required": [ "password", "userSelectBy" ], "type": "object", "properties": { "userSelectBy": { "type": "string", "description": "how select an specific User" }, "password": { "type": "string", "description": "user's password" }, "device": { "$ref": "#/components/schemas/XDevice" }, "language": { "type": "string", "description": "user's language", "nullable": true } }, "additionalProperties": false, "description": "Represent Requirements for Authenticationg a User" }, "XLoginResponse": { "required": [ "accessToken" ], "type": "object", "properties": { "accessToken": { "type": "string" }, "refreshToken": { "type": "string", "nullable": true }, "expiresAt": { "type": "integer", "format": "int64" }, "profile": { "$ref": "#/components/schemas/XUserProfileDto" } }, "additionalProperties": false }, "XOpenActionUserInfoDto": { "type": "object", "properties": { "userId": { "type": "string", "nullable": true }, "avatar": { "type": "string", "nullable": true }, "username": { "type": "string", "nullable": true }, "lastname": { "type": "string", "nullable": true }, "firstname": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "User Info Providing in Open Actions ..." }, "XPersonDto": { "type": "object", "properties": { "avatar": { "type": "string", "nullable": true }, "userId": { "type": "string", "nullable": true }, "username": { "type": "string", "nullable": true }, "lastname": { "type": "string", "nullable": true }, "firstname": { "type": "string", "nullable": true } }, "additionalProperties": false, "description": "Since in Many Cases we have to Retrieve Specified User's Minimal\r\nInfos for Handle Data Transfering, this Dto is Used ..." }, "XProfileImage": { "required": [ "id", "name", "path", "thumb", "thumbPath" ], "type": "object", "properties": { "id": { "type": "integer", "description": "Entity Id", "format": "int32" }, "deleted": { "type": "boolean", "description": "Provided Soft Delete Behaviour ..." }, "userId": { "type": "string", "description": "UserId", "nullable": true }, "user": { "$ref": "#/components/schemas/XUser" }, "name": { "maxLength": 255, "minLength": 0, "type": "string", "description": "Name" }, "thumb": { "maxLength": 255, "minLength": 0, "type": "string", "description": "Thumb" }, "path": { "maxLength": 255, "minLength": 0, "type": "string", "description": "Path" }, "thumbPath": { "maxLength": 255, "minLength": 0, "type": "string", "description": "ThumbPath" }, "creationDate": { "type": "string", "description": "CreationDate", "format": "date-time" } }, "additionalProperties": false, "description": "Represent a User's Avatar Entity" }, "XProfileImageDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "thumb": { "type": "string", "nullable": true }, "path": { "type": "string", "nullable": true }, "thumbPath": { "type": "string", "nullable": true }, "creationDate": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "XProfileImageDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XProfileImageDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XProfileUpdateRequest": { "type": "object", "properties": { "email": { "type": "string", "nullable": true }, "emailConfirmed": { "type": "boolean", "nullable": true }, "phoneNumber": { "type": "string", "nullable": true }, "phoneNumberConfirmed": { "type": "boolean", "nullable": true }, "firstName": { "type": "string", "nullable": true }, "lastName": { "type": "string", "nullable": true }, "avatar": { "type": "string", "nullable": true }, "dateOfBirth": { "type": "string", "format": "date-time", "nullable": true }, "creationDate": { "type": "string", "format": "date-time", "nullable": true }, "lastLogin": { "type": "string", "format": "date-time", "nullable": true }, "gender": { "$ref": "#/components/schemas/XGender" }, "roles": { "type": "array", "items": { "type": "string" }, "nullable": true }, "isEnable": { "type": "boolean", "nullable": true }, "isBanned": { "type": "boolean", "nullable": true }, "bio": { "type": "string", "nullable": true }, "coverImage": { "type": "string", "nullable": true }, "openToSearch": { "type": "boolean" } }, "additionalProperties": false }, "XResourceDto": { "type": "object", "properties": { "resource": { "type": "string", "nullable": true }, "locales": { "type": "array", "items": { "$ref": "#/components/schemas/XLocaleResourceDto" }, "nullable": true } }, "additionalProperties": false }, "XRotateApiKeyRequest": { "type": "object", "properties": { "newExpirationMinutes": { "type": "integer", "description": "New Expiration in Minutes ...", "format": "int32", "nullable": true } }, "additionalProperties": false, "description": "Rotate Specified Api Key ..." }, "XTokenResponse": { "required": [ "accessToken" ], "type": "object", "properties": { "accessToken": { "type": "string" }, "refreshToken": { "type": "string", "nullable": true }, "expiresAt": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "XUser": { "required": [ "creationDate", "dateOfBirth", "firstName", "gender", "lastName" ], "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "userName": { "type": "string", "nullable": true }, "normalizedUserName": { "type": "string", "nullable": true }, "email": { "type": "string", "nullable": true }, "normalizedEmail": { "type": "string", "nullable": true }, "emailConfirmed": { "type": "boolean" }, "passwordHash": { "type": "string", "nullable": true }, "securityStamp": { "type": "string", "nullable": true }, "concurrencyStamp": { "type": "string", "nullable": true }, "phoneNumber": { "type": "string", "nullable": true }, "phoneNumberConfirmed": { "type": "boolean" }, "twoFactorEnabled": { "type": "boolean" }, "lockoutEnd": { "type": "string", "format": "date-time", "nullable": true }, "lockoutEnabled": { "type": "boolean" }, "accessFailedCount": { "type": "integer", "format": "int32" }, "firstName": { "maxLength": 50, "minLength": 0, "type": "string", "description": "FirstName" }, "lastName": { "maxLength": 100, "minLength": 0, "type": "string", "description": "LastName" }, "isEnable": { "type": "boolean", "description": "User is Enabled or not" }, "isBanned": { "type": "boolean", "description": "User is Banned or not" }, "dateOfBirth": { "type": "string", "description": "DateOfBirth", "format": "date-time" }, "creationDate": { "type": "string", "description": "CreationDate", "format": "date-time" }, "lastLogin": { "type": "string", "description": "LastLogin", "format": "date-time", "nullable": true }, "avatar": { "type": "string", "description": "ProfileImage/Avatar", "nullable": true }, "gender": { "$ref": "#/components/schemas/XGender" }, "bio": { "type": "string", "description": "User Biography ...", "nullable": true }, "coverImage": { "type": "string", "description": "User Bio Cover Image ...", "nullable": true }, "openToSearch": { "type": "boolean", "description": "Can Discover User ..." }, "devices": { "type": "array", "items": { "$ref": "#/components/schemas/XDevice" }, "description": "User's Devices", "nullable": true }, "avatars": { "type": "array", "items": { "$ref": "#/components/schemas/XProfileImage" }, "description": "User's Avatars", "nullable": true }, "followers": { "type": "array", "items": { "$ref": "#/components/schemas/XFriendshipFollower" }, "description": "User's Followers", "nullable": true }, "followings": { "type": "array", "items": { "$ref": "#/components/schemas/XFriendshipFollowing" }, "description": "User's Followings", "nullable": true }, "roles": { "type": "array", "items": { "$ref": "#/components/schemas/StringIdentityUserRole" }, "description": "User's Roles", "nullable": true } }, "additionalProperties": false, "description": "represnt a User of System" }, "XUserNameIdRequest": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "XUserNameIdResponse": { "type": "object", "properties": { "id": { "type": "string", "nullable": true }, "userName": { "type": "string", "nullable": true } }, "additionalProperties": false }, "XUserProfileDto": { "type": "object", "properties": { "userId": { "type": "string", "nullable": true }, "userName": { "type": "string", "nullable": true }, "email": { "type": "string", "nullable": true }, "emailConfirmed": { "type": "boolean" }, "phoneNumber": { "type": "string", "nullable": true }, "phoneNumberConfirmed": { "type": "boolean" }, "firstName": { "type": "string", "nullable": true }, "lastName": { "type": "string", "nullable": true }, "dateOfBirth": { "type": "string", "format": "date-time", "nullable": true }, "creationDate": { "type": "string", "format": "date-time", "nullable": true }, "lastLogin": { "type": "string", "format": "date-time", "nullable": true }, "avatar": { "type": "string", "nullable": true }, "gender": { "$ref": "#/components/schemas/XGender" }, "bio": { "type": "string", "nullable": true }, "coverImage": { "type": "string", "nullable": true }, "openToSearch": { "type": "boolean" }, "friendshipInfo": { "$ref": "#/components/schemas/XFriendshipInfoDto" }, "roles": { "type": "array", "items": { "type": "string" }, "nullable": true }, "avatars": { "type": "array", "items": { "$ref": "#/components/schemas/XProfileImageDto" }, "nullable": true }, "isEnable": { "type": "boolean" }, "isBanned": { "type": "boolean" } }, "additionalProperties": false }, "XUserProfileDtoXQueryResult": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/XUserProfileDto" }, "description": "a collection of items for a page ...", "nullable": true }, "page": { "type": "integer", "description": "Current Page Number ...", "format": "int64" }, "pageSize": { "type": "integer", "description": "Current Page Size ...", "format": "int64" }, "totalPages": { "type": "integer", "description": "Total Pages ...", "format": "int64" }, "totalFilteredPages": { "type": "integer", "description": "Total Filtered Items Pages Count ...", "format": "int32" }, "totalFilteredItems": { "type": "integer", "description": "Total Filtered Items ...", "format": "int64" }, "totalItems": { "type": "integer", "description": "Total Exists Items ...", "format": "int64" } }, "additionalProperties": false, "description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..." }, "XValidateRevisionRequest": { "required": [ "revision" ], "type": "object", "properties": { "revision": { "type": "string" } }, "additionalProperties": false, "description": "in some cases we have to validate a revision of request, this is a model \r\nwhich used to request a revision validator ..." } }, "securitySchemes": { "AccessToken": { "type": "apiKey", "description": "Bearer token", "name": "Authorization", "in": "header" }, "RefreshToken": { "type": "apiKey", "description": "Refresh Token", "name": "refresh_token", "in": "header" }, "ExpiresAt": { "type": "apiKey", "description": "Expires at", "name": "expires_at", "in": "header" }, "XApiKey": { "type": "apiKey", "description": "Api Key for Authentication ...", "name": "X-Api-Key", "in": "header" } } }, "security": [ { "AccessToken": [ ] }, { "RefreshToken": [ ] }, { "ExpiresAt": [ ] }, { "XApiKey": [ ] } ] }